cURL
curl --request POST \ --url http://localhost:3000/api/calls/reject \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "to": "<string>" } '
Rejeita uma chamada de voz recebida pelo WhatsApp Business, encerrando-a sem atender.
action=reject
wa_id
"5511999999999"
{ "success": true }