Send Message
Send an outbound message (SMS or iMessage) via the provider assigned to the number.
Attach media by passing public HTTPS URLs in `media_urls`.
### Single attachment
Pass a single-item array in `media_urls`. The URL must be publicly accessible.
### Carousel / multi-image (iMessage)
To send a carousel of images on iMessage, pass 2-20 URLs in `media_urls`. Requirements:
- Each URL must be a **publicly accessible HTTPS link** to an image (JPEG, PNG, GIF, etc.)
- Minimum 2 URLs, maximum 20
- `body` must be omitted or empty (text cannot be sent alongside a carousel)
- Only supported on iMessage-capable lines
> **Deprecation notice:** The `media_url` field (singular) is deprecated and will be removed in a future version. Use `media_urls` (array) instead — even for a single attachment, pass it as `media_urls: ["https://..."]`.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
agent_id
to_number
body
media_url
media_urls
number_id
Response
Successful Response
id
status
channel
from_number
to_number
media_urls
Errors
422
Unprocessable Entity Error

