Welcome

ToolRouter provides two types of API endpoints to serve different use cases:

1. Stack Specific Endpoints

These endpoints use stack tokens and are designed for application integration:

  1. Create a new Stack in the dashboard
  2. Click on “Use with API”
  3. Click on ”+ Create Secure Client”
  4. Copy URL and Token
  5. Use the URL and Token to connect your code to ToolRouter

2. Account Management API

These endpoints use API keys and provide programmatic control over your ToolRouter account:

  1. Log into your ToolRouter Dashboard
  2. Navigate to your account settings
  3. Generate a new API key
  4. Use the API key to manage stacks, servers, and tools programmatically

Screenshot placeholder: API key generation interface

Available Endpoints

Stack Specific Endpoints

Account Management API

Key Differences

FeatureStack Specific EndpointsAccount Management API
AuthenticationStack tokenAPI key
PurposeApplication integrationAccount management
Base URLapi.toolrouter.ai/s/{client_id}api.toolrouter.ai/v1
Use CaseRuntime tool executionStack configuration
Rate LimitsPer stackPer account

Getting Started

Each endpoint is designed to securely connect your application with ToolRouter services. Refer to the specific documentation for detailed usage instructions.