CalryOTA Docs
Tags

Create a tag

Creates a new tag that can later be applied to listings

POST
/api/v1/tags

Request Body

application/json

Tag details including name and optional metadata

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/v1/tags" \  -H "Content-Type: application/json" \  -d '{    "name": "Family Friendly"  }'
{
  "id": "string",
  "name": "Family Friendly",
  "description": "Listings suitable for families"
}
Empty
{
  "timestamp": "2025-03-05T11:45:49.631Z",
  "path": "<URL_PATH>",
  "message": "Authentication failed",
  "details": []
}