With the API of Sendapp.cloud
Designed for small and medium-sized companies,
to revolutionize communication with customers.
Whatsapp api for sending notifications from any platform
With Sendapp.cloud now you can access your api to automate the sending of whatsapp notifications from any web, desktop, mobile platform
POSTÂ Create Instance ID
https://sendapp.cloud/api/createinstance.php?access_token=e10adc3949ba59abbe56e0xxxxxxxxxx
Create a new Instance ID
PARAMS
access_token | e10adc3949ba59abbe56e0xxxxxxxxxx |
POSTÂ Get QR Code
https://sendapp.cloud/api/getqrcode.php?instance_id=609ACF283XXXX&access_token=e10adc3949ba59abbe56e0xxxxxxxxxx
Display QR code to login to Whatsapp web. You can get the results returned via Webhook
PARAMS
instance_id | 609ACF283XXXX |
access_token | e10adc3949ba59abbe56e0xxxxxxxxxx |
POSTÂ Set Receving Webhook
https://sendapp.cloud/api/setwebhook.php?webhook_url=https://webhook.site/1b25464d6833784f96eef4xxxxxxxxxx&enable=true&instance_id=609ACF283XXXX&access_token=e10adc3949ba59abbe56e0xxxxxxxxxx
Get all return values from Whatsapp. Like connection status, Incoming message, Outgoing message, Disconnected, Change Battery, ...
PARAMS
webhook_url | https://webhook.site/1b25464d6833784f96eef4xxxxxxxxxx |
enable | false |
instance_id | 609ACF283XXXX |
access_token | e10adc3949ba59abbe56e0xxxxxxxxxx |
POSTÂ Reboot Instance
https://sendapp.cloud/api/reboot.php?instance_id=609ACF283XXXX&access_token=e10adc3949ba59abbe56e0xxxxxxxxxx
Logout Whatsapp web and do a fresh scan
PARAMS
instance_id | 609ACF283XXXX |
access_token | e10adc3949ba59abbe56e0xxxxxxxxxx |
POSTÂ Reset Instance
https://sendapp.cloud/api/resetinstance.php?instance_id=609ACF283XXXX&access_token=e10adc3949ba59abbe56e0xxxxxxxxxx
This will logout Whatsapp web, Change Instance ID, Delete all old instance data
PARAMS
instance_id | 609ACF283XXXX |
access_token | e10adc3949ba59abbe56e0xxxxxxxxxx |
POSTÂ Reconnect
https://sendapp.cloud/api/reconnect.php?instance_id=609ACF283XXXX&access_token=e10adc3949ba59abbe56e0xxxxxxxxxx
Re-initiate connection from app to Whatsapp web when lost connection
PARAMS
instance_id | 609ACF283XXXX |
access_token | e10adc3949ba59abbe56e0xxxxxxxxxx |
SEND DIRECT MESSAGE API
POSTÂ Send Text
https://sendapp.cloud/api/send.php?number=84933313xxx&type=text&message=test%20message&instance_id=609ACF283XXXX&access_token=e10adc3949ba59abbe56e0xxxxxxxxxx
Send a text message to a phone number through the app
PARAMS
number | 84933313xxx |
type | text |
message | test message |
instance_id | 609ACF283XXXX |
access_token | e10adc3949ba59abbe56e0xxxxxxxxxx |
POSTÂ Send Media & File
https://sendapp.cloud/api/send.php?number=84933313xxx&type=media&message=test%20message&media_url=https://i.pravatar.cc&filename=file_test.jpg&instance_id=609ACF283XXXX&access_token=e10adc3949ba59abbe56e0xxxxxxxxxx
Send a media or file with message to a phone number through the app
PARAMS
number | 84933313xxx |
type | average |
message | test message |
media_url | https://i.pravatar.cc |
filename (Just use for send document) | file_test.pdf |
instance_id | 609ACF283XXXX |
access_token | e10adc3949ba59abbe56e0xxxxxxxxxx |
GROUP API
POSTÂ Send Text Message Group
https://sendapp.cloud/api/sendgroupmsg.php?group_id=84987694574-1618740914@g.us&type=text&message=test%20message&instance_id=609ACF283XXXX&access_token=e10adc3949ba59abbe56e0xxxxxxxxxx
Send a text message to a group through the app
PARAMS
group_id | 84987694574-1618740914@g.us |
type | text |
message | test message |
instance_id | 609ACF283XXXX |
access_token | e10adc3949ba59abbe56e0xxxxxxxxxx |
POSTÂ Send Media & File Message Group
https://sendapp.cloud/api/sendgroupmsg.php?group_id=84987694574-1618740914@g.us&type=media&message=test%20message&media_url=https://i.pravatar.cc&filename=file_test.jpg&instance_id=609ACF283XXXX&access_token=e10adc3949ba59abbe56e0xxxxxxxxxx
Send a media or file with message to a group through the app
PARAMS
group_id | 84987694574-1618740914@g.us |
type | average |
message | test message |
media_url | https://i.pravatar.cc |
filename (Just use for send document) | file_test.pdf |
instance_id | 609ACF283XXXX |
access_token | e10adc3949ba59abbe56e0xxxxxxxxxx |