Get a route
get
/routes/{routeId}Returns details for a single shared route.
Path Parameters
routeIdstring (uuid)requiredResponses
200Route details
application/json
idstring (uuid)namestringregionstringwaypointsarray of stringdistance_kmintegerpublished_bystringcreated_atstring (date-time)Errors
Request
curl -X GET 'https://partners.cameltrading.example/v2/routes/3fa85f64-5717-4562-b3fc-2c963f66afa6' \
-H 'Authorization: Bearer <your-token>'Response
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "Northern Silk Road",
"region": "northern",
"waypoints": [
"oasis-north-1",
"oasis-north-3"
],
"distance_km": 480,
"published_by": "partner_acme",
"created_at": "2024-01-15T10:30:00Z"
}