WA-AKG icon

WA-AKG

Interact with WA-AKG WhatsApp Gateway API

Label → Update

AI-generated

Summary

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.

Links

Discussion