List Schedule Templates
Retrieve all saved schedule templates for the authenticated supplier.
Endpointโ
GET /v1/staff/schedule/templates
Authenticationโ
Requires an API key with the staff:read scope.
Responseโ
Success (200 OK)โ
{
"data": [
{
"id": 1,
"name": "Summer Roster",
"shift_count": 14,
"created_at": "2026-03-01T10:00:00+00:00",
"updated_at": "2026-03-01T10:00:00+00:00"
},
{
"id": 2,
"name": "Off-Season Roster",
"shift_count": 8,
"created_at": "2026-01-15T08:30:00+00:00",
"updated_at": "2026-01-15T08:30:00+00:00"
}
],
"meta": {
"request_id": "req_abc123",
"timestamp": "2026-04-01T09:00:00+00:00"
}
}
Response Fieldsโ
| Field | Type | Description |
|---|---|---|
id | integer | Template ID |
name | string | Template name |
shift_count | integer | Number of shifts stored in this template |
created_at | string | ISO 8601 datetime |
updated_at | string | ISO 8601 datetime |
Errorsโ
| Status | Code | Description |
|---|---|---|
| 401 | authentication_required | No API key provided |
| 401 | invalid_api_key | Invalid API key |
| 403 | insufficient_scope | API key lacks staff:read scope |
Example Requestโ
curl -X GET "https://app.equipdash.com/api/v1/staff/schedule/templates" \
-H "Authorization: Bearer eqd_live_abc123xyz789..."