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 → Update
AI-generatedSummary
Update an existing label's name and color in the WA-AKG WhatsApp Gateway.
Inputs
- sessionId (required) — The Session ID to use for this request
- labelId (required) — The internal ID of the label to update (e.g., '1' or '3')
- labelName (required) — The new display name for the label (e.g., 'VIP Customers')
- additionalFields — Optional additional fields for the label update. Contains: labelColor (number, default 0) representing the label's color integer.
Output shape
object
Returns the updated label object as provided by the WA-AKG API, typically containing the label's id, name, and color.
Examples
Example 1: Change a label's name to 'VIP' and set a custom color
Set sessionId, labelId, labelName to desired values; in additionalFields set labelColor to the desired integer.