Skip to main content
POST
Create a contact tag
If a tag with this name already exists, it is returned unchanged, so the call is safe to repeat.

Authorizations

Authorization
string
header
required

OAuth2 access token. Pass the token in the Authorization header as Bearer <token>. The token is looked up in Redis to resolve the caller identity.

Body

application/json
name
string
required

Tag name, at most 512 characters. Leading and trailing spaces are removed.

Required string length: 1 - 512
Example:

"Volunteer"

color
string

Display color of the tag. Ignored when the tag already exists.

Example:

"#3B82F6"

Response

OK

name
string
required

Tag name.

Example:

"Volunteer"

color
string

Display color of the tag.

Example:

"#3B82F6"