> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://developers.stafflion.com/api/api-reference/synced-shifts/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.stafflion.com/_mcp/server. # Synced shifts Returns the shifts that are synchronized between Stafflion and your agency, with their current status. Each field is described in the reference below. ## Dates and times `start_time` and `end_time` are the shift times in the facility's local time, as RFC 3339 with the UTC offset (for example `2026-07-24T03:00:00-04:00`). `shift_start_time` and `shift_end_time` are the same moments in UTC. `date` is the shift date in the facility's local time. ## Which shifts are returned Without `from`, `to`, or `date`, the response covers today through 90 days ahead. To request a range, send `from` and `to` together, inclusive. To request one day, send `date`. Dates must fall within 90 days before or after today. A date outside that window returns 422. ## Reading the results Filter with the query parameters. Read through the results with `page` and `limit` (maximum 500), and stop when `pagination.has_next_page` is false. Shifts with `is_play_mode` set to `true` exist only within Stafflion's system. Until Stafflion enables the integration for your agency, the list is empty. ## API Docs - Synced shifts [Synced Shifts](https://developers.stafflion.com/api/api-reference/synced-shifts/synced-shifts.md) ## OpenAPI Specification The raw OpenAPI 3.1 specification for this API is available at: - [OpenAPI JSON](https://developers.stafflion.com/openapi.json) - [OpenAPI YAML](https://developers.stafflion.com/openapi.yaml)