Absence API: added optional "skip_approval" parameter

Absence periods created via the POST /company/time-offs endpoint used to skip the approval process by default, so there was no way to create absence requests using the public API.

We just introduced the optional skip_approval parameter, which allows you to define if the approval process should be skipped or not.

  • If the parameter is used and set to false, absence periods created via the public API trigger the same approval processes as if the requests would've been created in the Personio web app.
  • If the parameter is used and set to true, the approval process is skipped.
  • If the parameter is not used at all, the approval process is skipped. This was the behaviour before the parameter was introduced, so existing implementations will not be affected by this change.

Check out the API reference for more details and this helpcenter article to learn more about approval processes in Personio.