POST
Create Label
Create a new label (name, color).
API endpoint
https://waclient.com/api/create_labelExample:
curl -X POST \
'https://waclient.com/api/create_label' \
-H 'Content-Type: application/json' \
--data '{
"name": "VIP",
"color": 1,
"instance_id": "6A4B02A1XXXX",
"access_token": "EMCUH3NQQK8YXXXX"
}'Response
{
"status": "success",
"message": "Success",
"data": {
"created": true,
"name": "VIP",
"color": 1,
"label_id": "1750000000000",
"local_only": true,
"note": "Label saved locally. Reconnect the instance to sync labels with WhatsApp."
}
}| Parameter | Description |
|---|---|
| name | Label name |
| color | Label color index (0–19) |
| instance_id | Your instance ID |
| access_token | Your access token |