Skip to main content
POST
Generates a signed install URL for an OAuth-based knowledge provider. Redirect the user’s browser to the returned install_url to begin the OAuth consent flow. The state token encodes org, user, scope, and provider metadata so the callback can route back securely. After the user grants consent, the provider redirects to the platform’s callback endpoint which exchanges the authorization code, persists the tokens, and redirects the browser to the dashboard. Required scope: integrations:write
Requires organization context via the X-Organization-Id header.
string
required
Provider identifier from the catalog (e.g. "bigquery").
string
required
OAuth auth method identifier from the provider’s catalog entry. Must have auth_kind: "oauth".
string
required
The organization to connect the integration to.
string
default:"org"
"org" for a shared integration or "personal" for a user-scoped one.
string
Optional human-readable name (max 200 characters).
object
default:"{}"
Provider-specific configuration carried through the OAuth flow.
string
required
URL to redirect the user’s browser to for OAuth consent.
string
required
HMAC-signed state token. Passed through the OAuth flow and verified on callback.