GuideLab API

List time-off entries

Returns paginated time-off and bank holiday entries for the authenticated lab. Optionally includes inactive entries. Lab-only endpoint.

GET
/calendar/time-off

Returns paginated time-off and bank holiday entries for the authenticated lab. Optionally includes inactive entries. Lab-only endpoint.

Authorization

__Secure-guidelab-prod.session_token<token>

Production session cookie set for the guidelab.co domain by Better Auth

In: cookie

Query Parameters

includeInactive?||
Defaultfalse
page?number
Range1 <= value
Default1
limit?number
Range1 <= value <= 100
Default50

Response Body

application/json

curl -X GET "https://example.com/calendar/time-off"
{  "data": [    {      "id": "string",      "labId": "string",      "name": "string",      "startDate": "string",      "endDate": "string",      "isRecurringAnnually": true,      "isBankHoliday": true,      "isActive": true,      "sortOrder": 0,      "createdAt": "string",      "updatedAt": "string"    }  ],  "pagination": {    "page": 0,    "limit": 0,    "total": 0,    "totalPages": 0  }}
Empty