Skip to navigation

List Leave Types

Returns your company’s leave types, in alphabetical order. Deleted leave types are not returned.

  • name is the exact name to use wherever a leave type is sent.
  • leave_type is the category: privileged_leave, sick_leave, casual_leave or unpaid_leave.
  • is_system_leave is true for SalaryBox’s own leave types, which can’t be renamed or used in leave policies or balances.

Authentication

AuthorizationApi-Key

Format: “Api-Key {api-key}”

Query parameters

pageintegerOptional
Page number, starting at 1.
page_sizeintegerOptional
Results per page. Default and maximum 500.

Response

The company's leave types.
messagestringOptional
statusbooleanOptional
datalist of objectsOptional
countintegerOptional
nextstring or nullOptional
prevstring or nullOptional