Get All Routes

Base URL

https://your-dashboard-api-host

Required Headers

Authorization: Basic Base64(username:password)

Method and Path

GET /route/all/tenant/{tenantId}?group=false

Path Parameters

ParameterTypeRequiredDescription
tenantIdStringyesThe tenant id.

Query Parameters

ParameterTypeRequiredDescription
groupBooleannoGroups the routes by first path segment, in alphabetic order.
Grouping is based on the path defined in the savedConfig, since a route may not be activated yet and therefore may not have an activeConfig.

Response 200 OK

Array<RouteResource> for group = false

[
  {
    "routeId": "92fddf7f-ab25-46ba-8d1f-794865ba1269",
    "name": "name",
    "appRouteId": "route-a6b527b1-bc92-4cd2-87a6-fec28e5cce55",
    "savedConfig": { }, // See RouteConfig type
    "activeConfig": { }, // See RouteConfig type
    "created": "2026-08-02T13:25:02.884Z",
    "updated": "2026-08-25T07:27:58.744Z",
    "isActive": true
  },
  { },
  { }
]

Array<RouteGroupResource> for group = true

routes field in each group is an Array<RouteResource>.

[
  {
    "group": "product",
    "routes": [
        {
          "routeId": "92fddf7f-ab25-46ba-8d1f-794865ba1269",
          "name": "name",
          "appRouteId": "route-a6b527b1-bc92-4cd2-87a6-fec28e5cce55",
          "savedConfig": { }, // See RouteConfig type
          "activeConfig": { }, // See RouteConfig type
          "created": "2026-08-02T13:25:02.884Z",
          "updated": "2026-08-25T07:27:58.744Z",
          "isActive": true
        },
        { }, 
        { }
    ]
  },
  { },
  { },
]

Did this page help you?