Actions42
- 💬 **CHATTING** · Send Text
- 💬 **CHATTING** · Mention Group Members
- 💬 **CHATTING** · Send Image
- 💬 **CHATTING** · Send Video
- 💬 **CHATTING** · Send Voice
- 💬 **CHATTING** · Send File
- 💬 **CHATTING** · Download Media File
- 💬 **CHATTING** · Send Seen
- 💬 **CHATTING** · Start Typing
- 💬 **CHATTING** · Set Online
- 💬 **CHATTING** · Set Offline
- 💬 **CHATTING** · Start Recording
- 💬 **CHATTING** · Send Reaction
- 💬 **CHATTING** · Send Location
- 💬 **CHATTING** · Send Poll
- 💬 **CHATTING** · Send List Message
- 💬 **CHATTING** · Send Link Custom Preview
- 💬 **CHATTING** · Send Event Message
- 💬 **CHATTING** · Send Contact Card
- 🟢 **STATUS ACTIONS** · Send Text Status
- 🟢 **STATUS ACTIONS** · Send Image Status
- 🟢 **STATUS ACTIONS** · Send Voice Status
- 🟢 **STATUS ACTIONS** · Send Video Status
- 🟢 **STATUS ACTIONS** · DELETE Sent Status
- 🏷️ **LABELS** · Get All Labels
- 👥 **GROUPS** · Get All Groups
- 👥 **GROUPS** · Get Group
- 👥 **GROUPS** · Get Participants
- 👥 **GROUPS** · Add Participants
- 👥 **GROUPS** · Remove Participants
- 👥 **GROUPS** · Get Invite Code
- 👥 **GROUPS** · Get Group Picture
- 🏷️ **LABELS** · Create Label
- 🏷️ **LABELS** · Update Label
- 🏷️ **LABELS** · Delete Label
- 🏷️ **LABELS** · Get Labels For Chat
- 🏷️ **LABELS** · Save Labels For Chat
- 🏷️ **LABELS** · Get Chats By Label
- 👤 **CONTACTS** · Get All Contacts
- 👤 **CONTACTS** · Get Contact Basic Info
- 👤 **CONTACTS** · Check Phone Registered
- 👤 **CONTACTS** · Get Contact Profile Picture
🏷️ **LABELS** · Create Label
AI-generatedSummary
Create a new label in the WhatGHL system with a specified name and optional color to categorize chats or contacts.
Inputs
- Session Mode — Select how to choose the sender session: Auto, By Session Name, or by selecting from available sessions.
- Session — Specify the session ID when 'Select Session' mode is used.
- Session Name — Specify the WAHA session name when using 'By Session Name' mode.
- Label Name (required) — Name of the label to create (e.g., 'VIP').
- Label Color — Optional numeric color ID for the label, as used by WAHA.
Output shape
a single JSON object representing the created label with its details.
If the maximum number of labels (20) is reached, a warning JSON with status 'warning' is returned instead of an error. No pagination is involved.
Examples
Example 1: Create a label named VIP with color ID 1 using automatic session selection.
Session Mode: Auto; Label Name: VIP; Label Color: 1