Endpoint
phone_number combination.
Query parameter
Request
Successful response
Errors
When you have an approved template, send a template broadcast.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
List the approved WhatsApp templates available to one of your organization’s phone numbers.
GET /broadcast/public/templates
phone_number combination.
| Parameter | Type | Required | Description |
|---|---|---|---|
phone_number | string | Required | A number returned by Get Phone Numbers, using digits only |
curl "https://cerberus.eazybe.com/prod/api/v2/broadcast/public/templates?phone_number=14844634680" \
-H "x-api-key: $API_KEY"
{
"status": true,
"status_code": 200,
"message": "Templates fetched successfully",
"data": [
{
"name": "eazybe_temp",
"status": "APPROVED",
"category": "MARKETING",
"language": "en",
"components": [
{
"type": "BODY",
"text": "Hello {{1}}, your code is {{2}}."
}
]
}
]
}
| Response field | Broadcast field |
|---|---|
name | templateName |
language | templateLanguage |
category | templateType |
Numbered placeholders in components | Values in templateParams or globalTemplateParams |
Hello {{1}}, your code is {{2}}., provide exactly two values in that order.| Status | Cause | What to check |
|---|---|---|
400 | phone_number is missing or malformed | Use digits only |
401 | The number does not belong to the key’s organization | Use a number returned for the same key |
401 | The WABA configuration is incomplete | Complete the fields named in the response |
429 | More than 20 requests in the current window | Wait for the interval in the response |
Was this page helpful?