MESSAGING SERVICES
Send Messages
This endpoint allows you to deliver your transactional messages to your users
π NOTE
You would need to register a sender ID with the endpoint mentioned below. All messages sent before then will be delivered with the default sender ID
Request
[POST]
Header
Parameter | Type | Description |
---|---|---|
AppId | string | you would need to create an app to get your app ID |
Authorization | string | public secret key e.g prod_sk_1T1eSavlZxy02OT3OWlvbxK4G |
Body parameter
Parameter | Type | Description |
---|---|---|
destination | number | Phone number of recipient |
message | string | body of message |
channel | string | can be either whatsapp or sms |
sender_id | string | Sender ID |
priority | boolean | Indicate if you want to send in priority mode. Default is false |
π NOTE
There is the priority feature. You can automatically resend messages via any of the channels if one doesnβt get delivered. If the priority is set to true, the default setup is sms, and then whatsapp. You can choose to set it however way you want in the channel parameter
Sample response
Response
Was this page helpful?