Phone numbers must be in E.164 format with country codes. The API will attempt to convert other formats like NANP, but will throw an error if conversion fails.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Recipient's phone number. Must be in E.164 format
Example:
"+1234567890"
The text message to send
Example:
"Hello, world!"
If you lease a phone number from Contiguity, you can use a specific one by providing it here.
Example:
"+15555555555"
Attachments to send. Must be HTTPS-secured URLs with file extensions. Max 3 attachments, 5MB cumulative size.
Maximum length:
3
Example:
["https://example.com/image.png"]