Documentation Index
Fetch the complete documentation index at: https://docs.wappfy.com.br/llms.txt
Use this file to discover all available pages before exploring further.
Description
This endpoint allows you to create a new label to organize your chats. Labels are useful for categorizing chats by themes, priorities or any custom criteria.
URL Parameters
WhatsApp unique session ID
Request Body
Custom ID of the label (optional)
Numeric code of the label color
Response
Indicates if the label was created successfully
{
"success": true,
"label": {
"id": "label123",
"name": "VIP Clients",
"color": 1
}
}
Status Codes
200 - Label created successfully
400 - Invalid parameters
401 - Unauthorized
Usage Example
curl -X POST https://api.wappfy.com.br/api/my-session/labels \
-H "Content-Type: application/json" \
-d '{
"label": {
"name": "VIP Clients",
"color": 1
}
}'
Your Wappfy API key (get it at dash.wappfy.com.br)
Session name (instanceName)