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=falsePath Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| tenantId | String | yes | The tenant id. |
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| group | Boolean | no | Groups 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
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
group = trueroutes 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
},
{ },
{ }
]
},
{ },
{ },
]Updated about 1 month ago
Did this page help you?