O

OnSched Setup API

REST discovered

Details
URL
https://sandbox-api.onsched.com/setup/v1
Docs
https://docs.onsched.com/reference/onsched-api-300
Authentication
OAuth2 client credentials (client_id + client_secret) oauth2_cc discovered Set up OAuth ↗

In the OnSched v3 dashboard, create or view your OAuth2 client credentials as described in Authentication Guide and Platform API utilities. Use them with POST /v3/oauth/token and the client_credentials grant to obtain a short-lived bearer token for server-to-server integrations.

Dashboard access token (Supabase JWT) Authorization: Bearer <credential> + Company API key x-api-key: <credential> discovered
Dashboard access token (Supabase JWT) bearer Get token ↗

Sign in to the OnSched v3 dashboard and obtain an access token from the dashboard as described in Client Credentials and REST API Authentication. The token expires after about 60 minutes; use the dashboard-issued refresh token if you are managing a dashboard-user session.

Company API key api_key Get key ↗

In the OnSched v3 dashboard, retrieve the company API key for the company you want to access as described in Client Credentials and REST API Authentication. Send it in the company-key header documented by OnSched (the docs text says x-api-key but examples on the same pages also mention x-xpi-key; verify the exact header name in your environment/reference).