Start connecting an integration

http
GET /oauth/connect/{integration}

Start connecting an integration.

Parameters

NameInRequiredDescription
integrationpathYesIntegration identifier, for example github or gmail.
project_referencequeryProject UUID or slug that owns the connection.
scopequeryConnection ownership within the project.
redirectqueryDashboard-relative path to redirect to after OAuth completes.
redirect_uriqueryAbsolute redirect URI for native or custom app OAuth flows.
session_tokenqueryOne-time connect session token from connect_url. Open connect_url in a browser to start provider consent; the flow returns through the integration callback.

Responses

StatusDescription
302Redirect to provider consent screen. The /oauth/connect/{integration} URL is persisted in links and chat history; its path and query fields remain stable.
400Bad request
401Unauthorized
403Forbidden
404Not found
429Rate limit exceeded
500Server error
503Service unavailable