Departments

Get all departments

Changed on

Get all departments

get/departments

Request

  • Base URL
    https://api.absentify.com/api/v1
  • URL
    https://api.absentify.com/api/v1/departments
  • Auth
    API key in header X-API-KEY

Response

Successful response

idstring required
custom_idstring nullable required
namestring required
createdAtstring required
updatedAtstring required
approval_process'Linear_all_have_to_agree' | 'Linear_one_has_to_agree' | 'Parallel_all_have_to_agree' | 'Parallel_one_has_to_agree' | 'Parallel_first_response_decides' required
maximum_absentinteger nullable required

Changes

    • warning

      added the new Parallel_first_response_decides enum value to the / response property for the response status