Create a label
Create a new label in the workspace
POST
/labelsAuthorization
AuthorizationBearer token · headerrequiredAPI key authentication. Generate an API key from your workspace settings.
Request body
requiredapplication/jsonnamestringrequiredmin length 1
colorstringrequiredAllowed:
yellowpurpleorangeredbrowngreenResponses
200
Label created
idstring<uuid>namestringcolorstringHex color code
backgroundColorstringHex background color code
createdAtstring<date-time>updatedAtstring<date-time>400
Bad Request - Invalid input parameters
codestringmessagestringdataobjectShow propertiesHide properties
errorsobject401
Unauthorized - Missing or invalid API key
codestringmessagestring409
Conflict - Resource already exists
codestringmessagestring