List Provider Breaks

This endpoint returns the breaks (blocked time) of one or more providers, ordered by start.

Important Notes

  • provider_id is required. Send several providers separated by commas (provider_id=12,34).
  • If any requested provider belongs to another company, the whole request responds 404.
  • start_date and end_date filter by day (YYYY-MM-DD). A break is included when it overlaps the range, even partially.
  • editable is false for breaks synced from Google Calendar: they cannot be updated or deleted through the API.
  • Dates follow the local-time convention described in Dates and times.
  • Errors from platform-services use legacy single-key codes (e.g. provider_not_found, google_event_break), without detail; errors from Connect itself (auth, scope, rate limit) keep {error, detail}.

Errors Dictionary

StatusErrorDetailDescription
400missing_service_provider_idprovider_id is missing.
400invalid_start_datestart_date is not a valid date.
400invalid_end_dateend_date is not a valid date.
401unauthorizedinvalid_api_keyMissing or invalid Bearer token.
401unauthorizedapi_config_inactiveAPI access is inactive for this company.
403forbiddenscope_deniedAPI key lacks provider_breaks:read scope.
404provider_not_foundA requested provider does not exist or belongs to another company.
429rate_limitedburst_limit_exceededPer-minute request limit exceeded.
429rate_limiteddaily_quota_exceededDaily request quota exceeded.
502upstream_unavailableThe upstream service is unavailable.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required

Provider IDs, separated by commas.

date

Include breaks that end on or after this day (YYYY-MM-DD).

date

Include breaks that start on or before this day (YYYY-MM-DD).

integer
≥ 1
Defaults to 1

Page number (defaults to 1).

integer
1 to 1000
Defaults to 30

Records per page (defaults to 30, max 1000).

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json