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_idstringRequiredformat: "toolRouterSessionId"
The unique identifier of the tool router session

Request

This endpoint expects an object.
toolkitstringRequired>=1 character
The unique slug identifier of the toolkit to connect
callback_urlstringOptionalformat: "uri"
URL where users will be redirected after completing auth

Response

Successfully created link session. Returns link token, redirect URL, and connected account ID.
redirect_urlstringformat: "uri"
The URL where users should be redirected to complete OAuth
connected_account_idstringformat: "connectedAccountId"
The unique identifier for the connected account

Errors