cURL
curl --request PUT \ --url https://api.chat-dash.com/v1/public/agents/{agentId}/leads/tags/{tagId} \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --data ' { "label": "<string>" } '
{ "_id": "<string>", "label": "<string>", "system": true }
Update a tag for leads in a agent
All requests to the ChatDash API must be validated with the agency API Key found on your agency profile
The ID of the agent
The ID of the tag
The label of the tag
OK - Tag successfully updated
Whether the tag is a system tag