logo
TagsCreate Tag

Create Tag

Create a new tag

curl -X POST "https://app.nashra.ai/api/v1/tags" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{
  "name": "VIP",
  "color": "#ff5733"
}'
{
  "data": {
    "uuid": "7b2d4c1e-3f5a-4e8d-9c6b-2a1f3e5d7c9b",
    "name": "VIP",
    "color": "#ff5733",
    "created_at": "2025-01-15T10:30:00+00:00"
  },
  "meta": {}
}
POST
/tags
POST
Bearer Token
Bearer Tokenstring
Required

API token generated in Settings > API Tokens

API token generated in Settings > API Tokens
Content-Typestring
Required

The media type of the request body

Options: application/json
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. API token generated in Settings > API Tokens

Body

application/json

Responses