Create a tag
POST
/api/v1/tagsAdds a tag to the company's catalog. Once created, it can be applied to contacts and deals.
The API key needs the scopeEdit deals
deals.editRequest body
| Field | Description |
|---|---|
namerequiredstring | Tag name, as shown on the cards. |
colorrequiredstring | Tag color, in hexadecimal. |
Responses
201The tag created.
application/json
{
"id": "4a9c1e7b-3d5f-4b2a-8c6e-1f0d9b7a5c3e",
"businessId": "2ea7ad0d-8e13-4008-9fd8-7c92fe8677f2",
"name": "Cliente VIP",
"color": "#28BB72",
"createdAt": "2026-11-25T13:05:44.602311Z"
}400Invalid request: a body that is not JSON, a missing required field or a value in the wrong format.
application/json
{
"error": "validation_failed",
"message": "O campo name é obrigatório."
}401Missing or invalid credentials. The response is the same for a key that does not exist and for a wrong secret; without the X-API-KEY header, it comes with no body.
application/json
{
"error": "unauthorized",
"message": "Credenciais de API inválidas."
}403The key authenticated, but it lacks the scope the route requires, or the plan does not include the feature.
application/json
{
"error": "forbidden",
"message": "A chave de API não tem acesso a esta rota: falta o escopo exigido, ou a rota não aceita chave de API."
}429The requests-per-minute limit was reached. Wait for the time given in the Retry-After header.
application/json
{
"error": "too_many_requests",
"message": "Muitas requisições com esta chave de API. Aguarde o fim da janela e tente novamente."
}