Integrate Sendeach's marketing or OTP messaging services into your apps or websites using our API. To
do this, developers will require a Sendeach Authentication Key (refer to our
documentation on User
Authentication Key) and can access our APIs.
Kindly download our
Postman Collection which contains all the APIs mentioned below for your reference.
Whatsapp API Last updated: 2023-05-07
To use our API, users need to register and log into the SendEach
dashboard, and set up their default sending gateway in the developer module they plan to use.
Set Default Whatsapp Gateway
1. Set up Your Whatsapp Default Gateway.
Please consult our Whatsapp Gateway documentation to learn how to set up your preferred gateway,
which will be utilized for sending messages through our API for developers.
Note: This API is only Applicable to Web and Desktop Gateway.
Send Whatsapp Web/Desktop Message
Request Syntax
curl -X POST --location 'https://sendeach.com/api/whatsapp/send' \
--header 'Accept: application/json' \
--data '{
"recipients": {recipients},
"whatsapp_device": {whatsapp-device}, // Optional, if nothing givens then random device is chosen and sent
"message": {message}
}'
Parameters Placeholders
{recipients} - Array of recipient phone numbers with country code. Ex: ['12334566677', '12312312112']
{whatsapp-device} - Whatsapp Device ID [Integer]. (Optional)