Skip to main content
GET
Weekly coverage: staffed vs open shifts per

Authorizations

Authorization
string
header
required

Issue keys in Settings → API. Send them as Authorization: Bearer ont_… (an X-Api-Key: ont_… header is also accepted). Session-cookie routes are used by the OnTime web apps and are shown for completeness.

Query Parameters

weekStart
string
required
Pattern: ^\d{4}-\d{2}-\d{2}$

Response

200 - application/json

Success

weekStart
string
required
days
string[]
required
cells
object[]
required