Skip to main content
POST
Create a connection session
Start the Plaid-Link-style account linking flow. Open connection_url for the user and poll the session. See consent and account linking.

Authorizations

Authorization
string
header
required

OAuth 2.1 authorization code with PKCE. Implicit and password flows are unsupported.

Headers

Idempotency-Key
string
required

Required for mutating requests. Replays with the same key and payload hash return the original logical result; replays with a different payload hash return 409.

Required string length: 16 - 255
X-Request-Id
string

Optional caller-supplied correlation ID echoed in responses and errors.

Body

application/json
customer_id
string
required
requested_purposes
enum<string>[]
required
Minimum array length: 1
Available options:
account_linking,
personalization,
analytics,
support,
event_enrichment,
profile_resolution,
measurement
redirect_uri
string<uri>
required
expires_in
integer
default:900
Required range: 60 <= x <= 3600
metadata
object

Response

Connection session created.

session
object
required
client_token
string
required

Short-lived token for polling session status from an SDK.

connection_url
string<uri>
required