labels
Label management (WhatsApp Business)
Get all labels (WhatsApp Business only)
Get all labels (WhatsApp Business only)
Get a specific label by ID
Get a specific label by ID
Create or update a label
Baileys only. `PUT` rather than `POST` because the label id is chosen by the caller: WhatsApp carries one `label_edit` write keyed on that id, so whether this creates or updates depends purely on whether the id already exists, and there is no server-assigned id to return.
Delete a label
Baileys only. The label disappears from every chat it was on. whatsapp-web.js cannot edit labels and answers `501`.
Get every chat carrying a label
whatsapp-web.js only. Baileys exposes label writes but no label query of any kind, so it answers `501`.
Get labels for a specific chat
Get labels for a specific chat
Add a label to a chat
Add a label to a chat
Remove a label from a chat
Remove a label from a chat