cURL
Text
Send Attachments
POST
cURL
MMS is in public beta. We’re still understanding the limits of our implementation – if you encounter any issues, join our Discord!Note: MMS is limited to 5MB (cumulative), across 3 attachments.
Confirmed file types that work:
- Images (JPEG, JPG, PNG, GIF)
- Videos (MP4, MOV)
- Audio (MP3)
- Documents (PDF)
attachments parameter.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Recipient's phone number. Must be in E.164 format
Example:
"+1234567890"
If you lease a phone number from Contiguity, you can use a specific one by providing it here.
Example:
"+15555555555"
Message to send. Required unless attachments are provided.
Example:
"Hello, world!"
Attachments to send. Must be HTTPS-secured URLs with file extensions. Max 3 attachments, 5MB cumulative size.
Maximum array length:
3Example:
["https://example.com/image.png"]Fast-track your request (bypassing any recommended rate limiting). Only available on leased numbers. Requires acceptance of the Fast Track Terms.
