cURL
curl --request GET \ --url https://{host}/api/{session}/labels \ --header 'apikey: <api-key>'
{ "labels": [ { "id": "label123", "name": "VIP Clients", "color": 1 }, { "id": "label456", "name": "Support", "color": 2 } ] }
List all labels created in the session
200
400
401
curl -X GET https://api.wappfy.com.br/api/my-session/labels
Your Wappfy API key (get it at dash.wappfy.com.br)
Session name (instanceName)
Label ID
"1"
Label name
"Lead"
Color number, not hex
0
Color in hex
"#ff9485"