Skip to main content
GET
/
api
/
bookings
Get all bookings (with filtering)
curl --request GET \
  --url https://tandem.hlofiys.xyz/api/bookings \
  --header 'Authorization: Bearer <token>'
[
  {
    "booking_id": 123,
    "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "event_id": 123,
    "seat_id": 123,
    "is_paid": true,
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

event_id
integer<int64>

Filter bookings by a specific event ID.

Response

A successful response returning a list of bookings.

booking_id
integer<int64>
required
user_id
string<uuid>
required
event_id
integer<int64>
required
seat_id
integer<int64>
required
is_paid
boolean
required

Indicates whether the booking has been paid for. false for initial reservation

created_at
string<date-time>
required
updated_at
string<date-time>
required