API ReferenceTime Off
Get All Time Off Categories
GET
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.
HttpBearerAuthheader
AuthorizationBearer <JWT>Successful Response
application/json- response
[index: integer]?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 }]Download Document File GET
Returns the original document file. The permissions are the same as for viewing the document: folder `type=organization` — `settings_document_folders=edit` OR access granted by the folder view/edit rules, folder `type=employee` — `employee_folder_permissions=view`.
Search Time Off History POST
Next Page
