Actions137
- Business Actions
- Add Product to Collection
- Add Tag to Chat
- Create Collection
- Create Product
- Create Tag
- Delete Collection
- Delete Product
- Delete Tag
- Edit Collection
- Edit Tag
- Get Available Categories
- Get Business Profile
- Get Product
- Get Products By Phone
- Get Tag Colors
- List Collection Products
- List Collections
- List Products
- List Tags
- Remove Product From Collection
- Remove Tag From Chat
- Save Catalog Config
- Set Business Hours
- Set Categories
- Chat Actions
- Community Actions
- Contact Actions
- Event Actions
- Group Actions
- Instance Actions
- Interactive Message Actions
- Message Actions
- Message Action Actions
- Message Status Actions
- Newsletter Actions
- Poll Actions
- Privacy Actions
- Profile Actions
- Proxy Actions
- Queue Actions
- Status/Story Actions
- Webhook Actions
Contact → Block/Unblock
AI-generatedSummary
Blocks or unblocks a contact by phone number
Inputs
- phone (required) — Phone number in E.164 format without the '+' sign
- action (required) — Whether to block or unblock the contact
- requestOptions — Optional collection of advanced settings such as batching configuration
- allowUnauthorizedCerts — Whether to accept responses with invalid SSL certificates
- proxy — HTTP proxy URL, optionally with authentication credentials
- timeout — Request timeout in milliseconds
Output shape
a contact record reflecting the updated block status
Returns a single contact object; may include pagination metadata if multiple contacts are processed in bulk
Examples
Example 1: Block a contact with phone 5511999999999
Phone=5511999999999, Action=block, RequestOptions={}, AllowUnauthorizedCerts=false, Proxy="", Timeout=10000