Skip to main content
POST
Create a tag

Authorizations

Authorization
string
header
required

Authenticate using a bearer token. To create a token, navigate to /settings/api-tokens and click Create API Token.

Body

application/json
name
string
required

Tag name. Trimmed; must be unique ignoring case.

Maximum string length: 50
Example:

"SS27"

color
string | null

One of gray, blue, green, yellow, orange, red, purple, pink. Anything else becomes gray.

Maximum string length: 20
Example:

"green"

Response

Tag created

data
object

A Drive tag.