WA-AKG icon

WA-AKG

Interact with WA-AKG WhatsApp Gateway API

Label → Set Chat Labels

AI-generated

Summary

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]

Links

Discussion