Departments

Create a department

Changed on

Create a department

post/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

Request body

namestring required
custom_idstring nullable required
default_allowancenumber required
maximum_absentnumber 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

Response

Successful response

string uuid required

Changes

    • info

      added the new Parallel_first_response_decides enum value to the request property