v42

latestOpenAPI 3.1.0CC-BY-NC-SA-4.0raw.githubusercontent.com2025-03-1271142.7 KB
Bookings

List existing bookings

Returns a list of all trip bookings by the authenticated user.

get/bookings

Query parameters

pageinteger

The page number to return

limitinteger

The number of items to return per page

Response

A list of bookings

Example response

{
  "data": [
    {
      "id": "3f3e3e1-c824-4d63-b37a-d8d698862f1d",
      "trip_id": "4f4e4e1-c824-4d63-b37a-d8d698862f1d",
      "passenger_name": "John Doe"
    }
  ]
}