Reject an incoming call
reject_callReject an incoming WhatsApp call using the call ID and caller from a call.received webhook event. Enable automatic call rejection in account settings.
Instructions
Reject a WhatsApp call ringing on the account, with the id and from of its call.received webhook event. To reject every call automatically, set rejectCalls with update_account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | The caller: `data.object.from` of the same event. | |
| callId | Yes | The call id: `data.object.id` of the `call.received` event. | |
| accountId | Yes | The wuapi account id of the linked number to act as (from list_accounts). | |
| idempotencyKey | No | Optional. Reuse the same key when retrying this exact call: within 24 hours wuapi returns the first result instead of doing it twice. |