Labels

List Labels

get

Retrieves a paginated list of labels. Can be filtered by name.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Query parameters
filter[name]stringOptional

Filter results by name.

includestringOptional

Comma-separated list of relationships to include. Available: name, colour

sortstringOptional

Sort field. Prefix with - for descending. Available: created_at

pageinteger · min: 1Optional

Page number for pagination.

Default: 1
per_pageinteger · min: 1 · max: 100Optional

Number of results per page.

Responses
chevron-right
200

Successful response

application/json
get
/api/v1/labels

Create Label

post

Creates a new label.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Body
colourstring · enumRequiredPossible values:
namestring · max: 20Required
Responses
chevron-right
200

Successful response

application/json
post
/api/v1/labels

Get Label

get

Retrieves the details of a specific label.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Path parameters
labelstringRequired

The label identifier.

Query parameters
filter[name]stringOptional

Filter results by name.

includestringOptional

Comma-separated list of relationships to include. Available: name, colour

sortstringOptional

Sort field. Prefix with - for descending. Available: created_at

pageinteger · min: 1Optional

Page number for pagination.

Default: 1
per_pageinteger · min: 1 · max: 100Optional

Number of results per page.

Responses
chevron-right
200

Successful response

application/json
get
/api/v1/labels/{label}

Update Label

put

Updates an existing label.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Path parameters
labelstringRequired

The label identifier.

Body
colourstring · enumOptionalPossible values:
namestring · max: 20Optional
Responses
chevron-right
200

Successful response

application/json
put
/api/v1/labels/{label}

Delete Label

delete

Permanently deletes a specific label.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Path parameters
labelstringRequired

The label identifier.

Responses
chevron-right
200

Successful response

application/json
messagestringOptional
delete
/api/v1/labels/{label}

Last updated

Was this helpful?