Endpoint
fromPhoneNumber combination.
Common fields
Every request uses the same headers and endpoint. Replace
PAYLOAD with one of the JSON bodies in the sections below.
Example payload
Settype to text and provide a non-empty text value.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Send a non-empty text message to one WhatsApp recipient.
POST /broadcast/public/send-freeform
fromPhoneNumber combination.
| Field | Type | Required | Description |
|---|---|---|---|
fromPhoneNumber | string | Required | A sender from Get Phone Numbers, using digits only |
toPhoneNumber | string | Required | The recipient’s complete international number, including country code and using digits only |
type | string | Required | text, image, document, audio, video, sticker, location, or interactive |
PAYLOAD with one of the JSON bodies in the sections below.
curl -X POST "https://cerberus.eazybe.com/prod/api/v2/broadcast/public/send-freeform" \
-H "x-api-key: $API_KEY" \
-H "Content-Type: application/json" \
-d 'PAYLOAD'
type to text and provide a non-empty text value.
{
"fromPhoneNumber": "14844634680",
"toPhoneNumber": "919675360316",
"type": "text",
"text": "Your order #4821 has shipped."
}
{
"status": true,
"status_code": 200,
"message": "Free-form message queued successfully",
"data": {}
}
| Status | Cause | What to check |
|---|---|---|
400 | A common or type-specific field is invalid | Check this page’s required fields |
400 | A media URL or extension is unsupported | Use http or https and an accepted path extension |
400 | Coordinates, button count, or list rows exceed their limits | Correct the payload limits |
401 | The key or sender does not belong to the organization | Use a sender returned for the same key |
429 | More than 20 requests in the current window | Wait for the interval in the response |
500 or 503 | Transient service failure | Retry with exponential backoff |
Was this page helpful?