Create a link session for a toolkit in a tool router session
Initiates an authentication link session for a specific toolkit within a tool router session. Returns a link token and redirect URL that users can use to complete the OAuth flow.
Authentication
x-api-keystring
API key authentication
Path parameters
session_id
The unique identifier of the tool router session
Request
This endpoint expects an object.
toolkit
The unique slug identifier of the toolkit to connect
callback_url
URL where users will be redirected after completing auth
Response
Successfully created link session. Returns link token, redirect URL, and connected account ID.
link_token
Token used to complete the authentication flow
redirect_url
The URL where users should be redirected to complete OAuth
connected_account_id
The unique identifier for the connected account