Skip to main content
GET
/
api
/
my-bookings
Get all bookings for the current user
curl --request GET \
  --url https://tandem.hlofiys.xyz/api/my-bookings \
  --header 'Authorization: Bearer <token>'
[
  {
    "booking_id": 123,
    "is_paid": true,
    "created_at": "2023-11-07T05:31:56Z",
    "event_name": "<string>",
    "start_time": "2025-10-20T19:00:00Z",
    "end_time": "2025-10-20T22:30:00Z",
    "hall_name": "Большой зал",
    "hall_address": "ул. Главная, д. 1",
    "row_label": "12",
    "seat_label": "7",
    "price": 50
  }
]

Authorizations

Authorization
string
header
required

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

Response

A successful response returning a list of the user's bookings. The list can be empty if the user has no bookings.

booking_id
integer<int64>
is_paid
boolean
created_at
string<date-time>

The timestamp when the booking was created.

event_name
string
start_time
string<date-time>
Example:

"2025-10-20T19:00:00Z"

end_time
string<date-time>
Example:

"2025-10-20T22:30:00Z"

hall_name
string
Example:

"Большой зал"

hall_address
string
Example:

"ул. Главная, д. 1"

row_label
string
Example:

"12"

seat_label
string
Example:

"7"

price
number<double>
Example:

50