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

Authorizations

Authorization
string
header
required

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

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
Examples:

"High Priority"

"Follow Up"

"VIP"

color
string | null

Color for the item. Can be a predefined color name (red, blue, green, etc.) or a hex code (#ef4444).

Example:

"red"

Response

200 - application/json

OK

id
string
required

Unique identifier for the tag.

Pattern: ^[0-9a-z]+$
Example:

"l44e15irdq4db30i77cgphhx"

name
string
required

The display name of the tag.

Examples:

"High Priority"

"Follow Up"

"VIP"

color
string | null
required

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

Example:

"#3b82f6"