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.
Path parameters
The session ID returned when creating the session
The unique identifier of the tool router session
Request body
Example request
{
"toolkit": "github",
"callback_url": "https://myapp.com/callback"
}Response
Successfully created link session. Returns link token, redirect URL, and connected account ID.
Example response
{
"link_token": "lt_abc123xyz",
"redirect_url": "https://app.composio.dev/link/lt_abc123xyz",
"connected_account_id": "ca_abc123xyz"
}Changes
Changed in 5 of the 61 revisions of this API.128
- ○
the endpoint scheme security
CookieAuthwas removed from the APIapi-security-removed
- ○
the endpoint scheme security
UserApiKeyAuthwas removed from the APIapi-security-removed
- ○
- ▲
removed the required property
from the response with the statusresponse-required-property-removed
- ●
removed the request property
request-property-removed
- ●
removed the request property
request-property-removed
- ○
added the new optional request property
new-optional-request-property
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ▲
- ○
added the new optional request property
new-optional-request-property
- ○
- ○
added the new optional request property
new-optional-request-property
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
- ○
endpoint added
endpoint-added
- ○