Skip to main content
GET
/
api
/
route-calls
/
:id
Get Route Call
curl --request GET \
  --url https://api.example.com/api/route-calls/:id
{
  "success": true,
  "data": {
    "id": "<string>",
    "routeId": {},
    "organizerId": "<string>",
    "title": "<string>",
    "description": {},
    "image": "<string>",
    "dateRoute": "<string>",
    "pace": "<string>",
    "status": "<string>",
    "createdAt": "<string>",
    "updatedAt": "<string>",
    "route": {
      "id": "<string>",
      "name": "<string>",
      "slug": "<string>",
      "image": "<string>",
      "approximateDistance": "<string>",
      "level": [
        {}
      ]
    },
    "organizer": {
      "id": "<string>",
      "name": {},
      "imageUrl": {}
    },
    "meetingPoints": [
      {
        "id": "<string>",
        "type": "<string>",
        "name": "<string>",
        "customName": {},
        "location": {},
        "time": {},
        "createdAt": "<string>"
      }
    ],
    "_count": {
      "attendances": 123
    }
  },
  "404 Not Found": {}
}

Overview

Retrieve detailed information about a specific route call by its ID. This is a public endpoint that does not require authentication.

Path Parameters

id
string
required
UUID of the route call to retrieveExample: 123e4567-e89b-12d3-a456-426614174000

Response

success
boolean
Indicates if the request was successful
data
object
The route call object

Error Responses

404 Not Found
object
Route call with the specified ID does not exist
{
  "success": false,
  "error": "Route call not found"
}

Example Request

curl -X GET "https://api.losinmaduros.com/api/route-calls/123e4567-e89b-12d3-a456-426614174000"

Example Response

{
  "success": true,
  "data": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "routeId": "987e6543-e21b-12d3-a456-426614174000",
    "organizerId": "user_2abc123def456",
    "title": "Ruta Casa de Campo - Domingo",
    "description": "Ruta tranquila por el parque...",
    "image": "https://example.com/route-call.jpg",
    "dateRoute": "2026-02-15T10:00:00Z",
    "pace": "MARIPOSA",
    "status": "SCHEDULED",
    "createdAt": "2026-02-10T10:00:00Z",
    "updatedAt": "2026-02-10T10:00:00Z",
    "route": {
      "id": "987e6543-e21b-12d3-a456-426614174000",
      "name": "Casa de Campo",
      "slug": "casa-de-campo",
      "image": "https://example.com/route.jpg",
      "approximateDistance": "15 km",
      "level": ["INTERMEDIATE"]
    },
    "organizer": {
      "id": "user_2abc123def456",
      "name": "John",
      "imageUrl": "https://example.com/avatar.jpg"
    },
    "meetingPoints": [
      {
        "id": "abc12345-e89b-12d3-a456-426614174000",
        "type": "PRIMARY",
        "name": "Explanada",
        "customName": null,
        "location": "https://maps.app.goo.gl/gCJfpLSoy3D454Y19",
        "time": null,
        "createdAt": "2026-02-10T10:00:00Z"
      },
      {
        "id": "def67890-e89b-12d3-a456-426614174000",
        "type": "SECONDARY",
        "name": "Puerta de Alcalá",
        "customName": null,
        "location": "https://maps.app.goo.gl/3kjrtMz9BtQ39BJYA",
        "time": "2026-02-15T10:15:00Z",
        "createdAt": "2026-02-10T10:00:00Z"
      }
    ],
    "_count": {
      "attendances": 12
    }
  }
}

Notes

  • This endpoint is public and does not require authentication
  • The route field will be null for custom route calls
  • Meeting points always include at least one PRIMARY meeting point
  • The _count.attendances field shows the current number of confirmed attendances

Build docs developers (and LLMs) love