πŸ“˜ 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]
{{baseUrl}}api/v1/messaging/sms
HeaderTypeDescription
AppIdstringCreate an app to get your app ID on dashboard here
Authorizationstringpublic secret key

Body parameter

ParameterTypeDescriptionRequired
destinationnumberPhone number of recipientrequired
messagestringbody of messagerequired
channelstringcan be either whatsapp or smsrequired
sender_idstringSender IDoptional
prioritybooleanIndicate if you want to send in priority mode. Default is falseoptional

πŸ“˜ 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
{
    "entity": {
        "status": true,
        "mobile": "2348054810238",
        "message_id": "true_2348468713228@c.us_3EB092F69064FG74BC76",
        "reference_id": "81512"
    }
}