cURL
SMS
Send SMS
Send an SMS or MMS message
POST
cURL
Authorizations
App API key (format: sk_live_app_* or sk_test_app_*) for app-level operations
Body
application/json
Phone number to send from (must be assigned to your app). E.164 format required.
Example:
"+15551234567"
Array of phone numbers to send to. E.164 format required.
Example:
["+15559876543"]
Message text content
Example:
"Hello from Chirp!"
Subject for MMS messages
Example:
"Important Message"
Array of media URLs for MMS messages
Example:
["https://example.com/image.jpg"]
Transport method: 'automatic' (decide based on content), 'sms' (force SMS), or 'mms' (force MMS)
Available options:
automatic, sms, mms Example:
"automatic"
Response
Message queued successfully
Unique identifier for a Message. Format: msg_sms_[test_]{ksuid}
Pattern:
^msg_sms_(?:test_)?[a-zA-Z0-9]{27}$Example:
"msg_sms_2DbBs7GWhGvVNJGrDXr5RG0mBWI"
Available options:
SMS, MMS Available options:
sms, mms Available options:
OUTBOUND Available options:
QUEUED, SENDING, SENT, DELIVERED, FAILED