Skip to main content

Understaffing Warnings

Identify days within a date range where booking demand exceeds available staffed hours.

Endpointโ€‹

GET /v1/staff/schedule/understaffing

Authenticationโ€‹

Requires an API key with the staff:read scope.

Query Parametersโ€‹

ParameterTypeRequiredDescription
start_datestringYesStart of date range (YYYY-MM-DD)
end_datestringYesEnd of date range (YYYY-MM-DD, must be โ‰ฅ start_date)

Responseโ€‹

Success (200 OK)โ€‹

{
"data": [
{
"date": "2026-04-10",
"booking_count": 18,
"shift_count": 2,
"staffed_hours": 16,
"warning": "High demand with limited staff coverage"
}
],
"meta": {
"request_id": "req_abc123",
"timestamp": "2026-04-01T09:00:00+00:00"
}
}

An empty data array means no understaffing warnings were found for the period.

Errorsโ€‹

StatusCodeDescription
401authentication_requiredNo API key provided
401invalid_api_keyInvalid API key
403insufficient_scopeAPI key lacks staff:read scope
422validation_errorMissing or invalid date fields

Example Requestโ€‹

curl -X GET "https://app.equipdash.com/api/v1/staff/schedule/understaffing?start_date=2026-04-07&end_date=2026-04-13" \
-H "Authorization: Bearer eqd_live_abc123xyz789..."