Bulk Sms

Create a bulk sms

POST/https://gcpdfa.rahisi.co/messaging/api/v1/sendBulkSMS

The Bulk SMS API allows partners to send multiple SMS messages to customers using a given short code and api key.

Headers

Name
Value

Content-Type

application/json

apiKey

`apiKey` (provided via email when a partner is created)

Body

Name
Type
Description

shortCode

number

The short code given to a user upon partner registration.

messageDetails

array

A list of message objects to be sent in bulk

message

string

The message to be delivered

to

string

The mobile number of the receiver of the message

Body request

{
  "shortCode": "111111",
  "messageDetails": [
      {
          "message": "message 1",
          "to": "+254700000000"
      },
      {
          "message": "message 2",
          "to": "+254700000000"
      },
      {
          "message": "message 3",
          "to": "+254700000000"
      }
  ]
}

Response

{
  "status": "success",
  "message": "Message sent successfully!"
}

Last updated