The smsMessageObject contains data for an SMS message. Along with the content, you can give the SMS message a descriptive name and optionally place it inside a message folder for organization purposes.

Name Type Description
id string The unique id assigned to the SMS message.
name string The name assigned to the SMS message.
status string

Read Only

The status of the SMS message. Valid values are:

  • active
  • deleted
  • tmp
messageFolderId string The unique id of the folder containing the SMS message.
shortenUrls boolean

Indicates if the SMS message uses shortened URLs.

Note: In addition to shortening URLs, which allows for more content, this setting also allows the application to track the URLs used in the message. URLs will be shortened when the message is sent. The character count takes this into account, and thus represents the count for the message as if the URLs were shortened.
content string

The content of the SMS message.

Note: SMS messages are limited to 160 characters. The following text must be included somewhere in the body of the SMS message: Text STOP to end