POST
/
projects
/
{projectId}
/
leads
/
tags
curl --request POST \
  --url https://api.chat-dash.com/v1/public/projects/{projectId}/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

projectId
string
required

The ID of the project

Body

application/json
label
string

The label of the tag

Response

201
application/json
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