Skip to main content
POST
/
api
/
v1
/
tags
Criar tag
curl --request POST \
  --url https://api.datacrazy.io/v1/api/api/v1/tags \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "marketing orgânico",
  "color": "#A78BFA",
  "description": "Leads que vieram de campanhas internas",
  "useRandomColor": true
}'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string

Nome da tag

Example:

"marketing orgânico"

color
string

Cor da tag em hexadecimal

Example:

"#A78BFA"

description
string

Descrição atribuída a tag

Example:

"Leads que vieram de campanhas internas"

useRandomColor
boolean

Opção de atribuír uma cor aleatória na tag, por padrão é false

Example:

true