API ReferenceDepartments
Get departments
This API method returns a list of all active departments with their IDs and names.
curl -X GET "https://api.vacationtracker.io/v1/departments"{
"status": "ok",
"data": [
{
"id": "teams-969f8429-7dc3-48a1-96b1-6049a99dda06",
"name": "Dev Team",
"isDefault": false,
"createdAt": "2022-08-22T15:00:00.000Z"
}
]
}Empty
Empty