WA Client
DEL

Reject Call

Reject an incoming call by call_id and call_from.

API endpoint
https://waclient.com/api/reject_call
Example:
curl -X DELETE \
  'https://waclient.com/api/reject_call' \
  -H 'Content-Type: application/json' \
  --data '{
    "call_id": "CALL123",
    "call_from": "[email protected]",
    "instance_id": "6A4B02A1XXXX",
    "access_token": "EMCUH3NQQK8YXXXX"
}'
Response
{
    "status": "success",
    "message": "Success",
    "data": {
        "call_id": "CALL123",
        "rejected": true
    }
}
ParameterDescription
call_idIncoming call ID
call_fromCaller JID
instance_idYour instance ID
access_tokenYour access token
POST is also accepted as an alternative to DELETE.

Command Palette

Search documentation endpoints.

Esc