curl --request POST \
--url https://api.example.com/api/route-calls \
--header 'Content-Type: application/json' \
--data '
{
"routeId": "<string>",
"title": "<string>",
"description": "<string>",
"image": "<string>",
"dateRoute": "<string>",
"pace": "<string>",
"meetingPoints": [
{
"type": "<string>",
"name": "<string>",
"customName": "<string>",
"location": "<string>",
"time": "<string>"
}
]
}
'{
"success": true,
"data": {},
"message": "<string>",
"400 Bad Request": {},
"401 Unauthorized": {},
"404 Not Found": {}
}Create a new route call with a predefined or custom route
curl --request POST \
--url https://api.example.com/api/route-calls \
--header 'Content-Type: application/json' \
--data '
{
"routeId": "<string>",
"title": "<string>",
"description": "<string>",
"image": "<string>",
"dateRoute": "<string>",
"pace": "<string>",
"meetingPoints": [
{
"type": "<string>",
"name": "<string>",
"customName": "<string>",
"location": "<string>",
"time": "<string>"
}
]
}
'{
"success": true,
"data": {},
"message": "<string>",
"400 Bad Request": {},
"401 Unauthorized": {},
"404 Not Found": {}
}Authorization: Bearer <your_token>
title becomes required.routeId is not provided), optional for predefined routes (will be auto-generated). Maximum 200 characters."2026-02-15T10:00:00Z"ROCA - Very slow pace (like a rock)CARACOL - Slow pace (like a snail)GUSANO - Moderate pace (like a worm)MARIPOSA - Fast pace (like a butterfly)EXPERIMENTADO - Very fast/experienced paceLOCURA_TOTAL - Extreme pace (total madness)MIAUCORNIA - Special/fun pace (meow-corn)Show Meeting Point Object
PRIMARY or SECONDARY"https://maps.app.goo.gl/gCJfpLSoy3D454Y19"routeId does not existcurl -X POST "https://api.losinmaduros.com/api/route-calls" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"routeId": "987e6543-e21b-12d3-a456-426614174000",
"dateRoute": "2026-02-15T10:00:00Z",
"pace": "MARIPOSA",
"description": "Ruta tranquila por el parque...",
"meetingPoints": [
{
"type": "PRIMARY",
"name": "Explanada",
"location": "https://maps.app.goo.gl/gCJfpLSoy3D454Y19"
},
{
"type": "SECONDARY",
"name": "Puerta de Alcalá",
"location": "https://maps.app.goo.gl/3kjrtMz9BtQ39BJYA",
"time": "2026-02-15T10:15:00Z"
}
]
}'
curl -X POST "https://api.losinmaduros.com/api/route-calls" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"title": "Ruta por Retiro - Sábado Mañana",
"description": "Ruta personalizada por el Parque del Retiro",
"image": "https://example.com/my-route.jpg",
"dateRoute": "2026-02-20T09:00:00Z",
"pace": "GUSANO",
"meetingPoints": [
{
"type": "PRIMARY",
"name": "Puerta de Felipe IV",
"location": "https://maps.app.goo.gl/example123"
}
]
}'
{
"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": 0
}
},
"message": "Route call created successfully"
}
routeId is provided, title is required.