Authorizations
API key must be provided in the Authorization header as Bearer YOUR_API_KEY
.
Headers
Optional key to ensure idempotent message creation. If the same key is used twice, the original message will be returned.
Body
application/json
Recipient phone number in E.164 format (e.g., +15551234567)
Example:
"+15551234567"
Text body of the message.
Example:
"Hello world!"
Array of publicly accessible URLs to media attachments.
Example:
["https://example.com/image.png"]
Arbitrary key/value pairs to associate with the message.