Managing Chats
Learn how to list, filter, assign, and organize your WhatsApp chats programmatically.Listing chats
Get all chats in your workspace:Filtering chats
Combine filters to find specific chats. Multiple filters use AND logic.By label
Find chats with specific labels:By assigned agent
By read/unread status
By chat type
By name
By date range
Combined filters
Pagination
Results are paginated with 50 chats per page.Check
has_more_pages in the response to know if more pages exist.Getting chat details
Retrieve full details for a specific chat:Updating chats
Assign to team member
Unassign
Setresponsible to an empty string:
Close/reopen chat
Mark as read/unread
Rename chat
Enable/disable AI auto-response
Working with labels
Get chat labels
Add labels
Add labels without removing existing ones:Replace labels
Replace all labels with a new set:Labels are created automatically if they don’t exist.
Adding notes
Add internal notes visible only to your team:Notes are not sent to WhatsApp—they’re internal annotations for your team.
Common workflows
Route new chats to agents
Close inactive chats
Next steps
Send messages
Send messages to your chats
Set up webhooks
Get notified of new messages

