Skip to main content
POST
/
api
/
tags
Create tag
curl --request POST \
  --url https://api.agentixx.io/api/tags \
  --header 'Content-Type: application/json' \
  --header 'x-tenant-id: <api-key>' \
  --cookie better-auth.session_token= \
  --data '
{
  "name": "vip",
  "color": "blue"
}
'
{}

Authorizations

better-auth.session_token
string
cookie
required

Session cookie set by Better Auth on sign-in.

x-tenant-id
string
header
required

Tenant/workspace UUID. Required on all /api/* endpoints.

Body

application/json

Create a new tag

name
string
required
Required string length: 1 - 50
color
string

Response

Tag created

{key}
any