labels

Create Label

Creates a new label for the company. Use WORK for work-order labels or ASSET for asset labels.

post/labels

Request

  • Base URL: https://api.coperniq.io/v1
  • URL: https://api.coperniq.io/v1/labels
  • Auth: API key in header x-api-key

Request body

namestring required

Label name

colorstring nullable

Label color as a hex code (e.g. "#FF5733")

type'WORK' | 'ASSET' required

Label type — WORK for work-order labels, ASSET for asset labels

Response

Label created successfully

idinteger required

Label identifier

namestring required

Label display name

colorstring nullable required

Label color as a hex code (e.g. "#FF5733"), or null if unset

type'WORK' | 'ASSET' required

Label type — WORK for work-order labels, ASSET for asset labels

createdAtstring date-time required
updatedAtstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.