Skip to main content

Repeat Shift

Copy a shift's times, staff assignment, break settings, and notes onto one or more target dates.

Endpointโ€‹

POST /v1/staff/shifts/{id}/repeat

Authenticationโ€‹

Requires an API key with the staff:write scope.

Path Parametersโ€‹

ParameterTypeDescription
idintegerID of the source shift to repeat

Request Bodyโ€‹

ParameterTypeRequiredDescription
datesarrayYesOne or more target dates (YYYY-MM-DD)

Responseโ€‹

Success (201 Created)โ€‹

{
"data": {
"source_shift_id": 42,
"created_shift_ids": [55, 56, 57],
"count": 3
},
"meta": {
"request_id": "req_abc123",
"timestamp": "2026-04-01T09:00:00+00:00"
}
}

Errorsโ€‹

StatusCodeDescription
401authentication_requiredNo API key provided
401invalid_api_keyInvalid API key
403insufficient_scopeAPI key lacks staff:write scope
404not_foundShift not found or belongs to another supplier
422validation_errorInvalid or missing dates array

Example Requestโ€‹

curl -X POST "https://app.equipdash.com/api/v1/staff/shifts/42/repeat" \
-H "Authorization: Bearer eqd_live_abc123xyz789..." \
-H "Content-Type: application/json" \
-d '{
"dates": ["2026-04-08", "2026-04-15", "2026-04-22"]
}'