Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.knoxcall.com/llms.txt

Use this file to discover all available pages before exploring further.

List Routes

GET /v1/routes
Returns a paginated list of all routes in your tenant.

Query Parameters

ParameterTypeDefaultDescription
pageinteger1Page number
per_pageinteger20Items per page (max 100)
sortstringcreated_atSort by: created_at, name, or enabled
orderstringdescSort direction: asc or desc
enabledbooleanFilter by enabled status

Response

{
  "data": [
    {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "name": "Payment Gateway",
      "target_base_url": "https://api.stripe.com/v1",
      "base_environment": "production",
      "enabled": true,
      "requires_clients": false,
      "collection_id": null,
      "created_at": "2026-01-15T09:30:00.000Z",
      "environment_override_count": 2,
      "require_signature": false,
      "rate_limit_enabled": true,
      "rate_limit_requests": 100,
      "rate_limit_window_sec": 60,
      "allowed_methods": ["GET", "POST"]
    }
  ],
  "meta": {
    "total": 24,
    "page": 1,
    "per_page": 20,
    "total_pages": 2,
    "request_id": "550e8400-e29b-41d4-a716-446655440000"
  }
}
curl "https://api.knoxcall.com/v1/routes?page=1&per_page=20" \
  -H "Authorization: Bearer tk_live_abc123..."