GET /v1/time-off
answers exactly that and nothing more. It needs the Time off field group.
What it returns
Each item is one approved absence:
The leave type is never exposed. A day of sick leave says something about a person’s health, so
every absence is simply Away. Show it as that, and do not try to infer a type.
Reading it
Read it all once, then read only what changed:status: "cancelled",
inside the updated_since window of its change. Remove it from your roster. Without that, a
cancelled holiday stays on the board.
GET /v1/employees?status=active for names and managers (Directory) so the roster can
show who is away and tell a manager.
Tips
- Filter with
company_idwhen the roster covers one company. It must be one of the key’s companies. - Poll
/time-offwithupdated_since. A rostering tool does not need a webhook: absences are not employee events. - A person’s
statusofleftorupcomingon/employeestells you whether they should be on the roster at all.