Tool Router Connect a Toolkit
A 3-step recipe with Composio. We can help you get access.
Recipe · 3 steps
Tool Router Connect a Toolkit
with Composio
Create a session and generate an auth link for an unconnected toolkit.
- Create a tool router session for the user with the target toolkit enabled.
- List the session toolkits filtered to the target toolkit, including each toolkit's connection status, to decide whether a link is required.
- Create a link session for the toolkit so the user can authorize it from within the tool router session.
What you'll need to have ready
- apiKey: Composio project API key sent in the x-api-key header.
- userId: The end-user identifier the session and connection belong to.
- toolkitSlug: The toolkit slug to connect within the session (e.g. "notion").
- callbackUrl: Optional URL the user returns to after authorizing the toolkit.
For your developer
Arazzo workflow composio:tool-router-connect-toolkit, 3 operations: postToolRouterSession → getToolRouterSessionBySessionIdToolkits → postToolRouterSessionBySessionIdLink. Specs on APIs.io.