Actions75
- Channel Actions
- Chat Actions
- Client Actions
- Contact Actions
- Group Chat Actions
- Message Actions
- Session Actions
Contact → Block
AI-generatedSummary
Block a WhatsApp contact
Inputs
- sessionId (required) — Session identifier to use for the request
- contactId (required) — WhatsApp identifier of the contact to block, e.g. "34612345678@c.us"
Output shape
A single record indicating the result of the block operation; typically contains a success boolean (and possibly a message field) returned by the API
The response merges the input JSON with the API payload; on error the workflow will stop unless continued‑on‑fail is set; no pagination or array results
Examples
Example 1: Block a contact in a workflow
resource=contact, operation=Block, sessionId=mySession, contactId=34612345678@c.us
Example 2: Blocking a contact using an expression for sessionId
resource=contact, operation=Block, sessionId=$json.sessionId, contactId=34612345678@c.us
Example 3: Blocking a contact when errors are ignored
resource=contact, operation=Block, sessionId=fallbackSession, contactId=9876543210@c.us