AgentKit API reference
AgentKit's API lets your agent act in each user's apps. It sends the user to approve access, keeps their tokens, and runs tools as that user.
The API is REST over HTTPS. Requests and responses are JSON, and every request carries a bearer token. Call it with the Python or Node.js SDK, or from any language over HTTP. Each endpoint page shows all three.
A connector is the app, such as Gmail, and a connection is your configuration for it, so the REST field connector takes the connection name, such as my-gmail.
Start here
- Authenticate with your client ID and secret.
- Create a user's authorization link and send them to approve.
- Execute a tool as that user.
Resources
- Connected accountsEach user's link to an app: create, read, update and delete it.7 endpoints
- AuthorizationSend a user to approve access, then confirm it was them.2 endpoints
- ToolsFind the tools a user can call, and run one as that user.5 endpoints
- Virtual MCP serversServe a chosen set of tools to an MCP client, with a token per user.8 endpoints
- Custom connectorsTell Scalekit how to sign in to an app that isn't in the catalog.3 endpoints
- WebhooksThe events Scalekit sends to your endpoint when a connected account changes.9 events