dinzo.api

Criar tag

Cria uma tag do usuário com título e cor, e retorna a tag criada.

POST
/v1/tags

Authorization

bearerAuth
AuthorizationBearer <token>

Chave de API no cabeçalho Authorization: Bearer dz_live_...

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/v1/tags" \  -H "Content-Type: application/json" \  -d '{    "title": "string",    "color_hex": "string"  }'
{  "id": "3c4d5e6f-7081-92a3-b0c1-e2f405160718",  "title": "Trabalho",  "color_hex": "#8B5CF6",  "created_at": "2026-08-24T12:07:01.000Z"}