Public redirect endpoint that the provider sends the user back to after consent. Exchanges the authorization code for tokens, stores the encrypted connection for the tenant encoded in the state, then redirects the browser back to the dashboard. This endpoint is invoked by the browser, not called directly by API clients, and is not authenticated by an API key.
Request
Authorization
API Key
Add parameter in header
X-API-Key
Example:
X-API-Key: ********************
or
Path Params
Query Params
Responses
🔵302
Redirect back to the dashboard integrations page with a connected or error query parameter. On success: ?connected={providerSlug}. On failure: ?error={reason} (e.g. missing_params, invalid_state, provider_not_found, token_exchange_failed, integration_not_configured, save_failed, unknown).