Skip to main content

Endpoint

GET /api/route-calls/:routeCallId/attendances

Authentication

This is a public endpoint. No authentication required.

Path Parameters

routeCallId
string
required
The unique identifier (UUID) of the route call

Response

success
boolean
Indicates if the request was successful
data
array
Array of attendance objects (only CONFIRMED status shown)
count
number
Total number of confirmed attendances

Example Request

cURL
curl https://api.example.com/api/route-calls/123e4567-e89b-12d3-a456-426614174000/attendances

Example Response

{
  "success": true,
  "data": [
    {
      "id": "att_abc123",
      "status": "CONFIRMED",
      "userId": "user_xyz789",
      "routeCallId": "123e4567-e89b-12d3-a456-426614174000",
      "user": {
        "id": "user_xyz789",
        "name": "Maria",
        "lastName": "Garcia",
        "imageUrl": "https://example.com/avatar.jpg"
      },
      "createdAt": "2024-03-15T14:30:00.000Z"
    },
    {
      "id": "att_def456",
      "status": "CONFIRMED",
      "userId": "user_abc123",
      "routeCallId": "123e4567-e89b-12d3-a456-426614174000",
      "user": {
        "id": "user_abc123",
        "name": "Carlos",
        "lastName": "Lopez",
        "imageUrl": "https://example.com/avatar2.jpg"
      },
      "createdAt": "2024-03-15T15:45:00.000Z"
    }
  ],
  "count": 2
}

Notes

  • Only attendances with status CONFIRMED are returned
  • Public endpoint - anyone can see who is attending
  • Results are ordered by creation date (oldest first)

Confirm Attendance

Confirm attendance to a route call

Cancel Attendance

Cancel your attendance

Build docs developers (and LLMs) love