Actions122
- Broadcast Actions
- Business Actions
- Call Actions
- Chat Actions
- Community Actions
- Contact Actions
- Group Actions
- Label Actions
- Media Actions
- Message Actions
- Newsletter Actions
- Privacy Actions
- Profile Actions
- User Actions
Label → Add Message Label
AI-generatedSummary
Add a label to a WhatsApp message in the specified chat using Bailey. The operation calls the message-label API and returns a success flag with the chat JID, message ID, and label ID.
Inputs
- Chat JID (required) — WhatsApp chat JID containing the message.
- Label ID (required) — ID of the label to apply, such as one obtained from a labels.edit event.
- Message ID (required) — ID of the message to label.
Output shape
A single item with a JSON object.
On success, the JSON contains success: true, jid, messageId, and labelId. The operation changes the label on the specified message.