SENDING SMS TO MANY
This API call is made to send SMS to multiple recipients.
Method: POST
URI: https://swift.jambopay.co.ke/api/public/send-many
Headers
{
"Authorization": "Your bearer token from step 1",
"Content-Type": "application/json"
}
The request body is as follows
{
"contacts" : "Phone numbers",
"message" : "Message",
"callback" : "Your callback url to get the responses",
"sender_name" : "Your sendername"
}
Value | Type | Description |
---|---|---|
contacts | string | Recipient's phone numbers |
message | string | Actual message |
callback | string | Callback URL(POST request) |
sender_name | string | Sender name |
Response sample is as follows
{
"message": [
"Messages added to the queue"
]"
}