Post phonesend sms
Authorizations
JWT Bearer token obtained from authentication. Pass as: Authorization: Bearer
Body
Request body for sending an SMS or MMS through an agent
ID of the agent sending the SMS
^[0-9A-HJKMNP-TV-Z]{26}$Recipient phone number in E.164 format
7 - 20Text content of the SMS message (max 1600 characters)
1 - 1600URLs of media attachments for MMS (max 10)
10Arbitrary key-value metadata to attach to the message
Response
OK
Full message resource representation
Unique identifier of the message
^[0-9A-HJKMNP-TV-Z]{26}$ID of the agent that sent or received the message
^[0-9A-HJKMNP-TV-Z]{26}$Communication channel used
EMAIL, SMS, MMS, VOICE Whether the message was inbound or outbound
INBOUND, OUTBOUND Current delivery status
QUEUED, SENT, DELIVERED, FAILED, BOUNCED, BLOCKED, PENDING_APPROVAL Sender address (email or phone number)
Recipient address (email or phone number)
Message subject line, or null for channels that do not support subjects
Plain-text content of the message
HTML content of the message, or null if not available
Raw message headers as key-value pairs, or null
Arbitrary metadata attached to the message, or null
Thread identifier for conversation grouping, or null
Message ID this message is replying to, or null
Provider-assigned external identifier, or null
Timestamp when the message was sent, or null if not yet sent
Timestamp when the message was received, or null for outbound messages
File attachments associated with this message
Timestamp when the message record was created
Timestamp when the message record was last updated
