Skip to main content
POST
/
tags
Create tag
curl --request POST \
  --url https://inboxapp.com/api/v1/tags \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "color": "<string>"
}
'
{
  "id": "<string>",
  "name": "<string>",
  "color": "#3b82f6"
}

Body

application/json
name
string
required

The name of the tag. Must be unique within the team. Maximum 255 characters.

Required string length: 1 - 255
color
string

Color value. Can be a hex code (e.g., #3b82f6) or a color name (e.g., 'blue', 'red'). Use the /colors endpoint to get available color names.

Response

200 - application/json

OK

id
string
required

Unique identifier for the tag.

name
string
required

The display name of the tag.

color
string | null
required

Hex color code for the tag (e.g., #3b82f6 for blue). Null if no color is set.

Example:

"#3b82f6"