cURL
curl --request PUT \ --url https://api.wappfy.com.br/api/{session}/labels/{labelId} \ --header 'Content-Type: application/json' \ --header 'apikey: <api-key>' \ --data '{ "name": "Lead", "colorHex": "#ff9485", "color": null }'
{ "id": "1", "name": "Lead", "color": 0, "colorHex": "#ff9485" }
O parâmetro deve ser o instanceName da sessão.
Apikey
Label name
"Lead"
Color in hex
"#ff9485"
Color number, not hex
null
Label ID
"1"
0