Labels

Manage labels. Ability to create, edit, and delete labels.

Available Endpoints

Method Path Description
GET /api/labels List labels
POST /api/labels Create new label
PUT /api/labels/{id} Full update of a label
PATCH /api/labels/{id} Partial update of a label
DELETE /api/labels/{id} Delete a label

Example Request

curl -X GET "https://example.com/api/labels" \
  -H "Authorization: Bearer {token}"

Success Response (200)

{
  "records": [],
  "meta": {
    "total": 0,
    "current_page": 1,
    "per_page": 20
  }
}

Errors

Code Description
401 Invalid token
403 Access denied
404 Record not found
422 Validation error
Type to search...