SuprSync
Developer Portal
Sign In

Schedules

GET /external/v1/schedules

Returns shift schedule entries with comprehensive filtering options.

Query Parameters

ParameterTypeRequiredDescription
fromstringNoStart date (ISO 8601). Defaults to the next calendar day at 00:00:00 UTC (i.e., tomorrow at 00:00Z) if omitted
tostringNoEnd date (ISO 8601). Defaults to 30 days after from at 00:00:00 UTC (if from is omitted, use the default from)
userIdstringNoComma-separated user IDs to filter
branchIdstringNoFilter by branch/location ID
jobRoleIdstringNoFilter by job role ID
slotIdstringNoFilter by shift slot ID
pagenumberNoPage number for pagination (1-based)

Response

[
  {
    "id": "shift-uuid-1",
    "slotId": "slot-uuid-1",
    "branchId": "branch-uuid-1",
    "userId": "user-uuid-1",
    "status": "confirmed",
    "start": "2026-02-10T09:00:00.000Z",
    "end": "2026-02-10T17:00:00.000Z",
    "clockedIn": "2026-02-10T08:58:00.000Z",
    "clockedOut": "2026-02-10T17:02:00.000Z",
    "totalBreakTime": 30
  }
]

Response Fields

FieldTypeDescription
idstringUnique shift ID
slotIdstringThe shift slot/template ID
branchIdstringThe branch/location ID
userIdstringThe assigned employee's user ID
statusstringShift status (e.g., confirmed, pending, cancelled)
startstringScheduled start time (ISO 8601)
endstringScheduled end time (ISO 8601)
clockedInstring | nullActual clock-in time, or null if not clocked in
clockedOutstring | nullActual clock-out time, or null if not clocked out
totalBreakTimenumberTotal break time in minutes

Example

curl -X GET "https://api.suprsync.com/external/v1/schedules?from=2026-02-01&to=2026-02-28&branchId=branch-uuid" \
  -H "x-api-key: api_your_client_id" \
  -H "x-api-secret: sec_your_client_secret"

Notes

  • Results are paginated. Use the page parameter to retrieve subsequent pages.
  • Sensitive employee information (name, email, phone) is not included. Use the userId field to correlate with the Staff endpoint.
  • Times are returned in UTC.