Initiate OAuth for a source

Given a source ID, workspace ID, and redirect URL, initiates OAuth for the source.

This returns a fully formed URL for performing user authentication against the relevant source identity provider (IdP). Once authentication has been completed, the IdP will redirect to an Airbyte endpoint which will save the access and refresh tokens off as a secret and return the secret ID to the redirect URL specified in the secret_id query string parameter.

That secret ID can be used to create a source with credentials in place of actual tokens.

📘

See our OAuth setup guide

How to Create OAuth Sources

📘

Sources supported via API OAuth

Only some sources are supported via OAuth, including:

Asana, Facebook Marketing, Google Ads, Google Analytics (Universal Analytics), Google Analytics 4 (GA4), Google Directory, Google Drive, Google Search Console, Google Sheets, HubSpot, Instagram, Intercom, Monday.com, Notion, Posthog, Quickbooks, Sentry, Slack, Xero


Language
Authorization
Bearer
JWT
Click Try It! to start a request and see the response here!