Actions98
- Auto Reply Actions
- Chat Actions
- Contact Actions
- Group Actions
- Label Actions
- Message Actions
- Media Actions
- Notification Actions
- Profile Actions
- Scheduler Actions
- Session Actions
- Status Update Actions
- System Actions
- User Actions
- Webhook Actions
Label → Set Chat Labels
AI-generatedSummary
Set labels on a chat via the WhatsApp API.
Inputs
- sessionId (required) — The Session ID to use for this request
- chatJid (required) — JID of the chat to add/remove labels. E.g. 628123@s.whatsapp.net
- labelIds — JSON array of Label IDs to enforce. E.g. [1,3] sent as string to the API
Output shape
object
API response from PUT /api/labels/{sessionId}/chat/{chatJid}/labels, typically indicating success or failure.
Examples
Example 1: Add labels 1 and 3 to a chat
sessionId: my_session; chatJid: 628123@s.whatsapp.net; labelIds: [1,3]