List Routes
Route
List Routes
Lists routes.
GET
List Routes
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Items per page
Example:
10
Page number
Example:
1
Generic filter that matches against
- origin
- destination
Example:
"São Paulo"
Destination identifier
Example:
"0195e7a1-8b5c-7d3e-9f4a-2c6b8d0e1f3d"
Origin identifier
Example:
"0195e7a1-8b5c-7d3e-9f4a-2c6b8d0e1f3c"
Route status
Available options:
PENDING_APPROVAL, ACTIVE, INACTIVE Example:
"PENDING_APPROVAL"
Field to sort by
Available options:
distanceKm, estimatedDuration, createdAt Example:
"createdAt"
Sort order
Available options:
asc, desc Example:
"desc"
Comma-separated list of fields to include in the response. Supports dot notation for nested projection (e.g. id,name,user.email,trips.route.id). Unknown fields are silently dropped.