General

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

Type string

Description

The text message's content.

Guidance

Limit each localized message's content to

Example

{
  "contents": { 
    "en": "Welcome to Cat Facts!",
    "es": "Bienvenidos a Factos del Gato"
  }
}

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"]
}