get
https://sandbox-api.kenjo.io/api/v1/shift-plan/shifts
Returns a paginated list of shift plan shifts (cards). The query params filter the results.
Date range and default behaviour:
- from and to are optional and delimit the date range of the shifts to retrieve. Format YYYY-MM-DD.
- The date range is applied only when both from and to are provided and valid; if either is missing or invalid, the range is ignored.
- By default (no valid date range provided), the endpoint returns all the shifts of the current month.
- When both are provided, the range between from and to cannot exceed 3 months, otherwise the API returns 400.
Single shift:
- _id is an optional filter to retrieve a single shift by its id. When provided, the response contains only that shift (an empty list if no shift matches).
Requires the Shift plan feature to be active for the organization; otherwise the API returns 403.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
401UNAUTHORIZED. The Authorization header is incorrect, not provided or the token expired.
403FORBIDDEN. The Shift plan feature is not active for the organization.
