Request
SMS message details such as recipient phone number, sender phone number, and message content.
tostringRequiredformat: "^\+\d{11}$"
The recipient’s phone number in E.164 format (e.g., +12345678901).
fromstringRequiredformat: "^\+\d{11}$"
The sender's phone number in E.164 format. Must be owned by the user.
textstringRequired<=1600 characters
The SMS message content (max 1600 characters).
statusCallbackstringOptionalformat: "uri"
Optional URL to receive a POST request when the message status changes. Read more about status callbacks here.
Response
SMS message sent successfully
messageIdstring
The unique ID of the sent message.
messagestring
A message indicating the status of the sent message.