v1
Tags

List tags

GET/api/v1/tags

Returns the company's tag catalog, used on contacts and deals.

The API key needs the scopeEdit dealsdeals.edit

Responses

200The company's tags.
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"
  },
  {
    "id": "e7b3a9d1-5c2f-4e8a-b6d4-2a0c8e6f4b19",
    "businessId": "2ea7ad0d-8e13-4008-9fd8-7c92fe8677f2",
    "name": "Indicação",
    "color": "#F2B23A",
    "createdAt": "2026-11-20T09:31:02.118754Z"
  }
]
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."
}
curl -X GET "https://api.guria.io/api/v1/tags" \
  -H "X-API-KEY: $GURIA_API_KEY" \
  -H "X-API-SECRET: $GURIA_API_SECRET"
Response · 200
[
  {
    "id": "4a9c1e7b-3d5f-4b2a-8c6e-1f0d9b7a5c3e",
    "businessId": "2ea7ad0d-8e13-4008-9fd8-7c92fe8677f2",
    "name": "Cliente VIP",
    "color": "#28BB72",
    "createdAt": "2026-11-25T13:05:44.602311Z"
  },
  {
    "id": "e7b3a9d1-5c2f-4e8a-b6d4-2a0c8e6f4b19",
    "businessId": "2ea7ad0d-8e13-4008-9fd8-7c92fe8677f2",
    "name": "Indicação",
    "color": "#F2B23A",
    "createdAt": "2026-11-20T09:31:02.118754Z"
  }
]