Create a Message
Create and send a message.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Messaging.
Authentication
Path parameters
Request
The phone number in E.164 format that will send the message. Either From or MessagingServiceSid must be provided.
The text of the message. Either Body or MediaUrl must be provided.
URL(s) of media you wish to attach and send with the message. Can be specified multiple times for up to 8 media items.
The maximum price in USD acceptable for the message to be sent. Format: decimal with up to 4 decimal places.
A URL endpoint to receive callbacks each time the status of the message changes. See the SMS status callback webhook for the payload your URL will receive.
The number of seconds a message will allow being queued before canceling. Must be between 1 and 172800 (48 hours). Default is 14400 (4 hours).
The ID of a number group to use when sending the message. Either From or MessagingServiceSid must be provided.
Response
The currency in which price is charged as.