Auth & API Keys

Authenticate Rondo requests with the right header, scope, and allowed domains for league and facility owner integrations.

Authenticate requests with your Rondo API key so only the right leagues, facilities, and domains can use your integration.

Supported headers

Use this section to send the key in a supported header before you embed a widget or call a public API.

HeaderWhen to use itNotes
X-Rondo-Api-KeyPreferred API key headerUse one header format consistently
X-API-KeyAlternate API key headerSupported for the same API key
X-Rondo-Api-Key: your_api_key
X-API-Key: your_api_key

Key configuration

Use this section to limit access to only the resources and domains your app needs.

OptionTypeWhy it matters
leagueIdsArrayLimits access to specific leagues
facilityIdsArrayLimits access to specific facilities
allowedOriginsArrayLimits browser-based use to approved domains

Recommended setup

Use this section to keep your key setup predictable in development and production.

  1. Create a separate API key for each environment you control.
  2. Limit the key to the leagueIds or facilityIds your app actually needs.
  3. Add every site domain that will load the widget to allowedOrigins.
  4. Rotate keys when ownership changes or as part of your regular security process.

Common checks

Use this section to rule out the most common authentication problems before deeper debugging.

  • Confirm you are sending exactly one supported API key header.
  • Confirm your domain is included in allowedOrigins.
  • Confirm the key scope includes the target league or facility.
  • Confirm you are calling the development base URL during testing.

Next step: Continue to League & Session Widget or Facility Booking Widget.