Name | Type | Description | Notes |
---|---|---|---|
from | String | Phone number, in +E.164 format, used to send the message. | |
to | String | Receiving address (+E.164 formatted phone number or short code). | |
text | String | Message body (i.e., content) as a non-empty string. Required for SMS | [optional] |
subject | String | Subject of multimedia message | [optional] |
mediaUrls | List<String> | A list of media URLs. The total media size must be less than 1 MB. Required for MMS | [optional] |
webhookUrl | String | The URL where webhooks related to this message will be sent. | [optional] |
webhookFailoverUrl | String | The failover URL where webhooks related to this message will be sent if sending to the primary URL fails. | [optional] |
useProfileWebhooks | Boolean | If the profile this number is associated with has webhooks, use them for delivery notifications. If webhooks are also specified on the message itself, they will be attempted first, then those on the profile. | [optional] |
type | TypeEnum | The protocol for sending the message, either SMS or MMS. | [optional] |
autoDetect | Boolean | Automatically detect if an SMS message is unusually long and exceeds a recommended limit of message parts. | [optional] |
Name | Value |
---|---|
SMS | "SMS" |
MMS | "MMS" |