POST /v1/crm/tags
Add a tag to the catalog, for tickets or for customers.
POST
Crear una etiqueta
Creates a tag. The
scope decides what it labels: ticket for pipeline tickets, client for customers and contacts. It cannot change later.
The company and project are taken from your token and must not appear in the body. Sending them returns 400.
Endpoint
Required scope
crm:tags:write
Headers
Body
Example request
Response
201 Created
400 Bad Request
- A tag with the same
namealready exists in that scope (Tag name already exists for this scope). - The category belongs to the other scope (
Tag scope must match its category scope). - Missing
nameorscope, ascopeoutside the allowed set, a malformedcategory_id, or a property the endpoint does not accept — includingcompanyandproject, which are derived from the token.
401 Unauthorized
Missing, invalid, revoked, or expired token.403 Forbidden
The token does not have thecrm:tags:write scope.
404 Not Found
category_id does not match a category of your company (Tag category not found).
Operational notes
- Name uniqueness is an exact match.
VIPandvipare different names to this endpoint. Normalize names on your side before creating if your source system is loose about casing.
Authorizations
Body
application/json
Crear una etiqueta