Create a new tag
Tags
Create a new tag
Create a new tag for the authenticated workspace.
POST
Create a new tag
Authorizations
Bearer API key from Settings → API Keys. Use restricted keys (prefix retrac_) with the minimum scopes required.
Query Parameters
The ID of the workspace.
Example:
"ws_cluuwcv0r..."
The slug of the project. This field is deprecated – use workspaceId instead.
Body
application/json
The name of the tag to create.
Required string length:
1 - 50The color of the tag. If not provided, a random color will be used from the list: red, yellow, green, blue, purple, brown, gray.
Available options:
red, yellow, green, blue, purple, brown, gray, pink The name of the tag to create.
Minimum string length:
1