Skip to Content
API ReferenceTime Off

Get All Time Off Categories

GET
/api/v1/time-off/categories

Requires one of: employee_time_off=view or access_to_leave_timeline=edit for at least one employee, or manage_leave_policies, reporting_leave_balance, reporting_leave_used, workflow_module, manage_approval_policy set to edit.

Authorization

HttpBearerAuth
headerAuthorizationBearer <JWT>

Response Body

Successful Response

application/json
  1. response
[index: integer]?
Example Request
curl -X GET 'https://api.skailer.com/api/v1/time-off/categories'
Example Response200
[  {    "id": 1,    "title": "string",    "description": "string",    "category_type": "accrues_time",    "paid_type": "not_working_paid",    "emoji": "string",    "color": "string",    "policies_count": 0,    "period_track_type": "days",    "sort": 0,    "is_archived": true,    "is_parental_leave": true  }]