Skip to main content
POST
Finish connecting provider accounts after the authorization redirect

Authorizations

Authorization
string
header
required

A Recursion API key, created in the console under API keys.

Headers

x-tenant-id
string

Optional tenant consistency check. When present, it must name the tenant bound to the API key, including when x-organization-id is default.

Minimum string length: 1
x-organization-id
string

Organization in which to act. Required for a tenant-scoped API key. Optional for an organization-scoped key, where it must name that same organization. The value may be an organization id or default.

Minimum string length: 1

Body

application/json
state
string
required

The nonce returned when authorization was started. Single-use and short-lived.

code
string

Provider authorization code proving which user authorized this connection. Required by OAuth providers.

selection
string

Opaque account selection returned by the provider's authorization page, when required. The server verifies the selection against accounts the authorizing user can reach.

Response

OK

connections
object[]
required

Connections created by this callback. Empty when the provider needs an option selected first.

provider
string
required

Provider whose authorization is being completed.

options
object[]

Provider-defined accounts or actions the operator can choose to continue authorization.