Skip to main content
PUT
/
tags
Create or update a tag
curl --request PUT \
  --url https://api.open.cx/tags \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "tag_name": "<string>",
  "description": "<string>",
  "exclude_from_auto_tagging": true,
  "category_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "statusCode": 123,
  "message": "<string>",
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
tag_name
string
required

Tag name (e.g. "billing", "refund", "feature-request")

Minimum string length: 1
description
string | null

Short description of what this tag means (max 160 chars)

Maximum string length: 160
exclude_from_auto_tagging
boolean

If true, the AI will never auto-apply this tag (default: false)

category_id
string<uuid> | null

Assign the tag to a category (uuid), null to clear, omit to leave unchanged

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Response

Default Response