Skip to main content
PATCH
/
tags
/
{tagId}
Update tag
curl --request PATCH \
  --url https://inboxapp.com/api/v1/tags/{tagId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "color": "<string>"
}
'
{
  "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.

Path Parameters

tagId
string
required

The ID of the tag to update.

Body

application/json
name
string

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

Required string length: 1 - 255
Examples:

"High Priority"

"Follow Up"

"VIP"

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.

Examples:

"#3b82f6"

"blue"

"red"

"#f59e0b"

Response

200 - application/json

OK

id
string
required

Unique identifier for the tag.

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"