DocRouter REST API Reference

Everything in the DocRouter UI is available through REST APIs. Build custom integrations, automate workflows, and access all features programmatically.

Authentication

The DocRouter REST API uses token-based authentication. Choose the appropriate token type based on your integration needs:

Account Tokens
User-scoped access
Scope: APIs under /v0/account
To Create: Click Settings → Account Tokens
Organization Tokens
Team-scoped access
Scope: APIs under /v0/orgs/{organization_id}
To Create: Click Settings → Organization Tokens

Token Management Interface

1

Access Settings

Click your user menu → Settings

Step 1: Access Settings menu
2

Manage Tokens

Click "Manage" for Account or Organization Tokens

Step 2: Manage tokens interface

Screenshots showing how to access the token management interface in the DocRouter application

API Examples

Interactive Documentation

Open Swagger UI

Our interactive API documentation makes it easy to test endpoints, generate code samples, and understand the API structure.

1

Authenticate

  • Click the "Authorize" button
  • Enter your API token
  • Click "Authorize" to authenticate
2

Test Endpoints

  • Browse endpoints by category
  • Click "Try it out" to enable
  • Fill parameters and click "Execute"
3

Generate Code

  • View the "Response" section
  • Find the "Curl" tab
  • Copy commands for your scripts

Resources & Tools

OpenAPI Specification
Complete API schema

Access the complete OpenAPI 3.0 specification for code generation and API exploration.

Client Libraries
SDKs and code generation

Ready-to-use SDKs for integrating DocRouter into your applications.