Webhook: Ligação
Disponível no webhook e no /events.
Oferta, aceite e fim da ligação num evento só (call.updated), com status.
uazapi
call: Oferta de chamada recebida
{
"EventType": "call",
"owner": "5511999999999",
"token": "INSTANCE_TOKEN",
"BaseUrl": "https://seu-servidor.example",
"instanceName": "Atendimento",
"type": "Call",
"fromMe": false,
"wasSentByAPI": false,
"sender_pn": "5511888888888@s.whatsapp.net",
"event": {
"From": "5511888888888@s.whatsapp.net",
"Timestamp": "2026-09-08T12:00:00Z",
"CallCreator": "5511888888888@s.whatsapp.net",
"CallID": "CALL_EXEMPLO",
"GroupJID": "",
"RemotePlatform": "android",
"RemoteVersion": "versão-do-cliente",
"Data": {
"Tag": "offer"
}
},
"callState": "offered"
}
call: Encerramento da mesma chamada
{
"EventType": "call",
"owner": "5511999999999",
"token": "INSTANCE_TOKEN",
"BaseUrl": "https://seu-servidor.example",
"instanceName": "Atendimento",
"type": "Call",
"fromMe": false,
"wasSentByAPI": false,
"event": {
"From": "5511888888888@s.whatsapp.net",
"Timestamp": "2026-09-08T12:01:00Z",
"CallCreator": "5511888888888@s.whatsapp.net",
"CallID": "CALL_EXEMPLO",
"GroupJID": "",
"Data": {
"Tag": "terminate"
}
},
"callState": "terminated"
}
call: Registro de chamada de saída concluída
{
"EventType": "call",
"owner": "5511999999999",
"token": "INSTANCE_TOKEN",
"BaseUrl": "https://seu-servidor.example",
"instanceName": "Atendimento",
"type": "CallLog",
"fromMe": true,
"isGroup": false,
"event": {
"callID": "CALL_EXEMPLO",
"callResult": 0,
"isIncoming": false
}
}
Orkesio
call.updated: Ligação
{
"id": "evt_01JAB3K9ZQ7V0M4T8R2X6WYD5H",
"type": "call.updated",
"created_at": "2026-10-17T12:00:00.000Z",
"inbox": {
"id": "r0269625d29bfbd",
"name": "loja",
"phone": "5511888888888",
"channel": "whatsapp_web"
},
"data": {
"id": "B1C2D3E4",
"chat": {
"id": "5511999999999@s.whatsapp.net",
"lid": "123456789012345@lid",
"type": "direct"
},
"author": {
"id": "5511999999999@s.whatsapp.net"
},
"direction": "in",
"video": false,
"status": "offered",
"at": "2026-10-17T12:00:00.000Z"
}
}
call.log: Registro de ligação
{
"id": "evt_01JAB3K9ZQ7V0M4T8R2X6WYD5H",
"type": "call.log",
"created_at": "2026-10-17T12:00:00.000Z",
"inbox": {
"id": "r0269625d29bfbd",
"name": "loja",
"phone": "5511888888888",
"channel": "whatsapp_web"
},
"data": {
"message": {
"id": "3EB0A1B2C3D4E5F60718",
"chat_id": "5511999999999@s.whatsapp.net",
"author": {
"id": "5511999999999@s.whatsapp.net",
"phone": "5511999999999",
"lid": "123456789012345@lid",
"name": "Maria"
},
"direction": "in",
"sent_at": "2026-10-17T12:00:00.000Z",
"type": "call",
"video": false,
"result": "missed",
"device": "android"
},
"chat": {
"id": "5511999999999@s.whatsapp.net",
"lid": "123456789012345@lid",
"type": "direct",
"name": "Maria Souza"
}
}
}