paper-planeSend

This endpoint allows you to send a message to a specified group of numbers (can be one number).

post
Authorizations
x-auth-tokenstringRequired
Body
phoneNumbersstring[]Required
messagestringRequired
senderIdstringRequired
Responses
post
/public/sms/send
201Success

Endpoint: /public/sms/send

Method: POST

Send an SMS message.

Request Body:

  • phoneNumbers (array, array of strings): A list of all the phone numbers to send the message to.

  • message (string): The content of the message that was sent.

  • senderId (string): the unique identifier of the sender.

Responses:

  • requestId (string): The unique identifier of the message request.

  • accepted (number): The total count of valid phone numbers.

  • rejected (array, array of string): A list of all rejected phone numbers.

  • duplicates (array, array of objects): A list of all repeated phone numbers with the number of times they occur.

Last updated