POST
/
agents
/
{agentId}
/
leads
/
tags
Create Tag
curl --request POST \
  --url https://api.chat-dash.com/v1/public/agents/{agentId}/leads/tags \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "label": "<string>"
}'
{
  "_id": "<string>",
  "label": "<string>",
  "system": true
}

Headers

Authorization
string
required

All requests to the ChatDash API must be validated with the agency API Key found on your agency profile

Path Parameters

agentId
string
required

The ID of the agent

Body

application/json
label
string

The label of the tag

Response

Created - Tag successfully created

_id
string

The ID of the tag

label
string

The label of the tag

system
boolean

Whether the tag is a system tag