List broadcasts
List all WhatsApp broadcasts for an account. Returns broadcasts sorted by creation date (newest first) without the full recipients list for performance.
API key authentication - use your Zernio API key as a Bearer token
In: header
Query Parameters
WhatsApp social account ID
Filter by broadcast status
"draft" | "scheduled" | "sending" | "completed" | "failed" | "cancelled"Maximum results (default 50)
50Offset for pagination
0Response Body
application/json
application/json
curl -X GET "https://zernio.com/api/v1/whatsapp/broadcasts?accountId=string"{
"success": true,
"broadcasts": [
{
"id": "string",
"name": "string",
"description": "string",
"template": {
"name": "string",
"language": "string"
},
"status": "draft",
"recipientCount": 0,
"scheduledAt": "2019-08-24T14:15:22Z",
"startedAt": "2019-08-24T14:15:22Z",
"completedAt": "2019-08-24T14:15:22Z",
"sentCount": 0,
"deliveredCount": 0,
"readCount": 0,
"failedCount": 0,
"createdAt": "2019-08-24T14:15:22Z"
}
],
"pagination": {
"total": 0,
"limit": 0,
"skip": 0,
"hasMore": true
}
}{
"error": "Unauthorized"
}Bulk send template messages POST
Send a template message to multiple recipients in a single request. Maximum 100 recipients per request. Only template messages are supported for bulk sending (not free-form text). Each recipient can have optional per-recipient template variables for personalization. Returns detailed results for each recipient.
Create broadcast POST
Create a new draft broadcast. Optionally include initial recipients. After creation, add recipients and then send or schedule the broadcast.