GET Shifts

/shifts Permission level: 7

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
int32
int32

Works only with mode : Open, it behaves like offset in this case.

int32

Works only with mode : Open, it behaves like limit in a combination with start_limit parameter

string
string
string

Can be one of the following: overview, location, schedule, incomplete, employees, employee, open, openapproval, confirm, onnow, late, upcoming, recent, multiple.
If mode is not set, it defaults to 'employee'.

string

Works only with modes: confirm, location, schedule, employees, where it acts as a position filter. Accepts a string with comma-separated Position IDs

int32

Works only with modes: confirm, employees, where it acts as a location filter. Accepts an integer which represents a Location ID

string

Works with modes: confirm, employees, where it accepts a string with comma-separated Employee IDs.
With modes upcoming, recent, or employee, it accepts only one Employee ID. In all cases it behaves like a filter by employee(s).

int32

If set to 1, the response will have additional information regarding employees, their conflicts, availability to work, count of shifts in a series if they are part of a series.
It's recommended not to use this parameter if not needed because it will make request noticeably slower.

int32

Works with all modes except for "multiple". Accepted values: 0 or 1. If set to 1, the response will have extra information about budget data entered for the date range between provided start_date and end_date

int32

[0, 1]

string
string
string
int32

[0, 1]

boolean

Works only with modes location and schedule. If set to true, the response will include shifts of employees which are assigned to positions listed with the parameter "schedule" or all positions under a location provided with the parameter "location".

string

Use this parameter to return only specific fields in the response, reducing payload size. Pass the resource type in brackets and a comma-separated list of the fields you want included.

Example: https://www.humanity.com/api/v2/shifts?mode=overview&start_date=2026-02-01&end_date=2026-03-01&fields[shift]=employees,schedule,schedule_name,start_timestamp,end_timestamp

Responses

Language
Credentials
Query
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json