Skip to main content
POST
/
tags
{
  "id": "<string>",
  "name": "<string>",
  "color": "<string>"
}

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 to create.

Required string length: 1 - 50
Example:

"SupaQR"

color
enum<string>
required

The color of the tag. If not provided, a random color will be used.

Available options:
red,
blue,
green,
orange,
purple,
pink,
cyan,
gray,
yellow
Example:

"red"

Response

id
string
required
name
string
required
color
string
required