DocRouter REST API

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-Level Tokens
User-scoped access
Scope: APIs under /v0/account
To Create: Click Settings → Account Tokens
Organization-Level Tokens
Team-scoped access
Scope: APIs under /v0/orgs/{organization_id}
To Create: Click Settings → Organization Tokens

Token Management Interface

Account Tokens Management Interface
Organization Tokens Management Interface

Screenshots showing 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.

View OpenAPI JSON
Client Libraries
SDKs and code generation

Ready-to-use SDKs and tools for generating client libraries in your preferred language.