Sends one or more SMS to one or more recipients.

POST {{baseUrl}}/send

Following features are supported- * One SMS can be sent to one recipient. * One SMS can be sent to multiple recipients, with comma separated list of phone numbers. Bulk function * Multiple SMS can be sent to single or multiple recipients. Add json object(s) inside messages array to add content for different SMS and mobile_number for single or multiple recipients. Add comma separated list of phone numbers for multiple recipients Bulk function

  • Delivery receipts (DLRs) for the SMS. DLRs can be received for one or more SMS on one or more webhook URLs.

Following number formats are supported- * 06, +316, 0031, 097 * messages can be sent globally to mobile phones

Request Body

{"messages"=>[{"content"=>"Hi from KPN", "mobile_number"=>"{{send.mobile_number}}"}], "sender"=>"KPN", "webhook_url"=>""}

HEADERS

KeyDatatypeRequiredDescription
SubAccountnullLeave it blank if not applicable.
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"document_id":"\u003cstring\u003e","status":"\u003cstring\u003e"}