Use this api to send bulk smses to multiple receipients.

URL - http://app.bongasms.co.ke/api/send-bulk-sms

METHOD - POST

CONTENT-TYPE - application/x-www-form-urlencoded

Response : JSON

Request Parameters

NameDescTypeOption
apiClientIDAPI Client ID (Provided above)NumericMandatory
keyAPI Key (Provided above)StringMandatory
secretAPI Secret (Provided above)StringMandatory
txtMessageSMS messageStringMandatory
MSISDNComma-separated list of recipient phone numbersStringMandatory
serviceIDService ID (Provided above) - Default 1NumericOptional
delivery_urlUrl to receive delivery notificationsStringOptional

Response Parameters

NameDescTypeOption
statusStatus of the request (222 - success, 666 - error)NumericMandatory
status_messageDescription of statusStringMandatory
batch_codeCode representing the batch of sent messagesStringOptional
curl --location --request POST 'https://app.bongasms.co.ke/api/send-bulk-sms?apiClientID=605&key=SLn4VDUnPomPjzB&secret=Igp0D4Yy6BDk6riKHDl4DmbQERp14A&txtMessage=this is a message&MSISDN=254712345678,254712345678,2547123456 78,254712365678,254712345578,254712345478,254712341678,254712345278&serviceID=1'


 

Sample Response

{
    "unique_id":378008604,
    "status_message":"sent",
    "status":222,
    "batch_code":"lorem ipsum"
}