Introduction
The v2 API will be shut down on March 31, 2026, and will no longer respond after this date.
- suffers from significant performance issues, that also affect other API endpoints;
- relies on older technology, that may suffer from security vulnerabilities.
- offers faster response times;
- gives you additional features (pagination, sorting);
- shares the same authentication system than v2.
/api/leaves API endpoint in your integration, then you are affected by this and
must migrate to /api/v3/leaves before 2026-03-31. Otherwise, you are free to skip this.
Changes
Routes
Query parameters
Note: other query parameters did not change.
Response
In V2, all responses are a JSON object with adata property which is:
- a JSON object for a response containing a singular resource;
- a JSON array for a response containing a collection of resources.
data property which is always a JSON object. For collections,
it contains an items property, which is a JSON aray which contains the representations of resources in the collection.
Fields
Some of the fields were renamed, moved, removed and/or changed type.
Note: other fields did not change.
About Leave ID
V2 ABNF Syntax for Leave ID
V3 ABNF Syntax for Leave ID
About Leave Status
V2 Leave Status Enum
V3 Leave Status Enum