Skip to main content

Open a hosted consent session

POST 

/api/v1/workspaces/:workspace_id/companies/:company_id/bank_connections

Opens a consent session and returns the connection in pending with a consent_url. A 201 means a session exists, never that a bank is connected. A human must open consent_url in a browser; there is no headless bank connection. Poll GET /api/v1/bank_connections/{id} after the user returns - connected there means a webhook or a sync confirmed it, and the provider's redirect never does.

Request​

Responses​

A consent session was opened. The connection is pending and consent_url carries the page the user must visit.