API ReferenceLabels
Get labels
This API method returns a list of all active labels with their IDs and names.
Authorization
apiKeyAuth x-api-key<token>
In: header
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/labels"{
"status": "ok",
"data": [
{
"id": "969f8429-7dc3-48a1-96b1-6049a99dda06",
"name": "Team B",
"color": "FF0000",
"userCount": 42
}
]
}{
"status": "error",
"message": "\"startDate\" is required"
}{
"message": "Forbidden"
}{
"message": "Not Found"
}{
"status": "error",
"message": "Failed to list users"
}Need help?
developers@vacationtracker.io