Vacation Tracker Docs
API ReferenceLabels

Get labels

This API method returns a list of all active labels with their IDs and names.

GET
/v1/labels

Authorization

apiKeyAuth
x-api-key<token>

In: header

Response Body

application/json

curl -X GET "https://api.vacationtracker.io/v1/labels"
{
  "status": "ok",
  "data": [
    {
      "id": "969f8429-7dc3-48a1-96b1-6049a99dda06",
      "name": "Team B",
      "color": "FF0000",
      "userCount": 42
    }
  ]
}
Empty
Empty