Webhook: Campanha
Disponível no webhook e no /events.
Cada mudança da campanha num evento só, com status (scheduled, sending, paused, done).
uazapi
sender: Início de processamento
{
"EventType": "sender",
"owner": "5511999999999",
"token": "INSTANCE_TOKEN",
"BaseUrl": "https://seu-servidor.example",
"instanceName": "Atendimento",
"folderID": "r0123456789abcd",
"folderInfo": "Campanha de exemplo",
"status": "sending",
"messageCount": 20,
"scheduledFor": 1788868800000,
"startedAt": 1788868800000
}
sender: Processamento concluído
{
"EventType": "sender",
"owner": "5511999999999",
"token": "INSTANCE_TOKEN",
"BaseUrl": "https://seu-servidor.example",
"instanceName": "Atendimento",
"folderID": "r0123456789abcd",
"folderInfo": "Campanha de exemplo",
"status": "done",
"successCount": 19,
"failedCount": 1,
"completedAt": 1788868860000
}
Orkesio
campaign.updated: Campanha
{
"id": "evt_01JAB3K9ZQ7V0M4T8R2X6WYD5H",
"type": "campaign.updated",
"created_at": "2026-10-17T12:00:00.000Z",
"inbox": {
"id": "r0269625d29bfbd",
"name": "loja",
"phone": "5511888888888",
"channel": "whatsapp_web"
},
"data": {
"id": "r7f3a9c2e1b4d5f",
"name": "Promoção de outubro",
"status": "sending",
"scheduled_at": "2026-10-17T12:00:00.000Z",
"delay_min_seconds": 10,
"delay_max_seconds": 30,
"total": 500,
"sent": 0,
"delivered": 0,
"read": 0,
"played": 0,
"failed": 0,
"created_at": "2026-10-17T11:00:00.000Z",
"updated_at": "2026-10-17T12:00:00.000Z"
}
}