General
sms_from
sms_from
Type string
Description
The phone number used to send the text message.
Guidance
The phone number must be specified using the E.164 format.
Example
{
"sms_from": "+15558675309"
}
contents
contents
Type string
Description
The text message's content.
Guidance
Limit each localized message's content to
- 160 characters for GSM-7 Character Encoding
- 70 characters for UCS-2 Character Encoding
Example
{
"contents": {
"en": "Welcome to Cat Facts!",
"es": "Bienvenidos a Factos del Gato"
}
}
sms_media_urls
sms_media_urls
Type string[]
Description
URLs for the media files to be attached to the text message.
Guidance
You may include 10 media URLs totaling up to 5 Megabytes in size.
Example
{
"sms_media_urls": ["https://cat.com/cat.png", "https://cat.com/cat.gif"]
}