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 → Create
AI-generatedSummary
Create a label with a display name and optional color integer.
Inputs
- sessionId (required) — The Session ID to use for this request
- labelName (required) — Display name of the label. E.g. 'VIP Customers'
- labelColor — Color representation integer. E.g. 4294967295
Output shape
The API response containing the created label object.
POST /api/labels/{sessionId} with { name: labelName, color: labelColor || 0 }.
Examples
Example 1: Create a VIP Customers label in default session
Session ID: (default), Label Name: VIP Customers, Label Color: (default 0)