Actions138
- API Key Actions
- Automation Rule Actions
- Call Actions
- Catalog Actions
- Channel Actions
- Chat Actions
- Contact Actions
- Group Actions
- Label Actions
- Media Actions
- Message Actions
- Observability Actions
- Presence Actions
- Profile Actions
- Session Actions
- Status Actions
- System Actions
- Template Actions
- Webhook Actions
Call → Reject
AI-generatedSummary
Reject a ringing WhatsApp call using the session ID and call ID. Both parameters are required. The call ID is typically obtained from a Trigger's call.received event.
Inputs
- sessionId (required) — The ID of the session. Choose from the list, or specify an ID using an expression.
- callId (required) — The ID of the call, as delivered by the Trigger's call events. Baileys only: whatsapp-web.js answers 501 (OpenWA ≥ 0.23.6; older servers reported a rejection that did not stop the call ringing).
Output shape
The operation does not return specific data; it performs the action of rejecting the call.
Success is indicated by the absence of an error. The operation is typically used in conjunction with a Trigger that emits
call.receivedevents to automatically decline incoming calls.
Examples
Example 1: Auto-decline incoming calls
Connect a Trigger node (e.g., OpenWA Trigger set to emit on call.received) to this Reject operation. Map the Trigger's call ID output to the callId input, and provide the session ID either statically or via expression.