mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
Create Notification component for WhatsApp Textmebot API #2990
Labels
No labels
A:accessibility
A:api
A:cert-expiry
A:core
A:dashboard
A:deployment
A:documentation
A:domain expiry
A:incidents
A:maintenance
A:metrics
A:monitor
A:notifications
A:reports
A:settings
A:status-page
A:ui/ux
A:user-management
Stale
ai-slop
blocked
blocked-upstream
bug
cannot-reproduce
dependencies
discussion
duplicate
feature-request
feature-request
good first issue
hacktoberfest
help
help wanted
house keeping
invalid
invalid-format
invalid-format
question
releaseblocker 🚨
security
spam
type:enhance-existing
type:new
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/uptime-kuma#2990
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @apilaura on GitHub (Jan 3, 2024).
⚠️ Please verify that this feature request has NOT been suggested before.
🏷️ Feature Request Type
New Notification
🔖 Feature description
I need help to create a new Notification component based on the Textmebot Whatsapp API. It is a simple web API to send WhatsApp Messages. I want to send the notifications via whatsapp using this API.
API url: https://textmebot.com
✔️ Solution
I want to send the notifications via WhatsApp using TextMeBot API.
Create a new Notification component that will capture two parameters:
Then call to the web API using the apikey, phone number and the standard message.
The API has this format:
http://api.textmebot.com/send.php?recipient=<phone_number>&apikey=&text=<notification_message>
I can provide a free apikey and a $100 donation to the person who can help me.
❓ Alternatives
I have considered to modify some of the existing notification components and change the endpoint, parameters, etc... but I need help with the PR as I am not familiar with github methods.
📝 Additional Context
No response
@CommanderStorm commented on GitHub (Jan 3, 2024):
We currently don't support templating in the url field.
See #1734 for further details. (not because of technical reasons, we just have not gotten around to this part)
Adding WhatsApp is tracked in #1816
I am reading the website you linked, that you can request minor modifications via support@textmebot.com
I think allowing for text as a body is reasonable.
What part are you stuck on? Note that our contribution guide can be found here
@apilaura commented on GitHub (Jan 4, 2024):
The WhatsApp API already support POST requests and pass the parameters in the body.
Check here: https://documenter.getpostman.com/view/20714522/UzXLyxPD#8d96c754-fbe5-4a6b-b195-dc7ec2e473f1
Endpoint:
https://api.textmebot.com/send.phpThe POST body could contain:
I will have a look at the contribution guide but basically I am completely new with github. I only know how to clone but have no experience with forks, branches, pull requests, commits, etc...
@CommanderStorm commented on GitHub (Jan 4, 2024):
Great, so you can use the webhook to post there via the templating already implemented.
No modification/PR needed.
Honestly, I think using this provider for WhatsApp is not ideal. The official API is free for up to 1k Messages => using the API noted in https://github.com/louislam/uptime-kuma/issues/1816 is better from a contribution perspective
If you come across any problems, feel free to comment. We have all been there ^^
@andrealvess commented on GitHub (Feb 5, 2024):
my whatsapp for your help: +5583988925254
@github-actions[bot] commented on GitHub (Apr 5, 2024):
We are clearing up our old
help-issues and your issue has been open for 60 days with no activity.If no comment is made and the stale label is not removed, this issue will be closed in 7 days.
@CommanderStorm commented on GitHub (Apr 5, 2024):
I am assuming this issue is resolved via the webhook notification provider.
FYI (for future readers):
We currently have 3 (2 of which to be released in
v2.0) notification providers that support Whatsapp https://github.com/louislam/uptime-kuma/pulls?q=is%3Apr+Whatsapp