Create a tag

Creates a tag with the given name and color ID. If no color ID is provided, a random color is assigned to the tag.

Authentication

AuthorizationBearer

An auth_token should be provided to authenticate a session.

To obtain an auth_token, see the /api/v1/authenticate POST request.

Request

This endpoint expects an object.
namestringRequired
colorobjectOptional

Response

Tag successfully created
iddouble
namestring
tag_colorobject

Errors

400
Bad Request Error
403
Forbidden Error
409
Conflict Error
422
Unprocessable Entity Error