Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.83 KB

CreateMessageRequest.md

File metadata and controls

32 lines (20 loc) · 1.83 KB

CreateMessageRequest

Properties

Name Type Description Notes
from String Sending address (+E.164 formatted phone number, alphanumeric sender ID, or short code). Required if sending with a phone number, short code, or alphanumeric sender ID. [optional]
messagingProfileId String Unique identifier for a messaging profile. Required if sending via number pool or with an alphanumeric sender ID. [optional]
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]

Enum: TypeEnum

Name Value
SMS "SMS"
MMS "MMS"