Skip to main content
GET
Count shifts

Authorizations

Authorization
string
header
required

An API key from Settings, API keys. It starts with rc_live_.

Query Parameters

location_unit_id
string

Shifts at one location.

event_id
string

The shifts of one schedule.

status
enum<string>
Available options:
open,
closed,
cancelled
from
string

Shifts that end on or after this date, or date and time.

to
string

Shifts that start on or before this date, or date and time.

role_id
string

Shifts that offer this role.

Response

The counts.

total
integer
required

How many shifts match every filter.

unfilled
integer
required

How many of them have a place nobody has taken.

facets
object
required