Skip to main content
POST
/
tags
Create a tag
curl --request POST \
  --url https://app.leonar.app/api/v1/tags \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "color": "<string>",
  "scope": "global"
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "color": "<string>",
    "scope": "global",
    "created_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

API key starting with leo_

Body

application/json
name
string
required
Required string length: 1 - 100
color
string

Hex color code

Maximum string length: 7
scope
enum<string>
default:global
Available options:
global,
contact,
company,
deal,
project

Response

Tag created

data
object