List My Bookings
list_bookingsLists the authenticated user's existing bookings, filtered by type: UPCOMING (default), COMPLETED, CANCELLED, or PENDING. Needs a registered LockTrip account session; guest sessions from guest_login cannot list bookings. Without a signed-in session, pass the user's email instead: LockTrip emails them a sign-in link to their bookings on locktrip.com, and the result has magicLinkSent: true (nothing is shown or changed in this chat). Returns bookings[] (each with bookingId, bookingReferenceId, hotelName, checkIn, checkOut, status, roomCount, createdAt, and totalPrice + currency when the booking records a price) plus totalCount (all matching bookings). Optional paging: page (0-based) and size (max 100); omit both for the full list. Pass a bookingId to get_booking_details or cancel_booking.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, 0-based. Omit page and size for the full list. | |
| size | No | Bookings per page (max 100). | |
| type | No | Booking list filter | |
| No | The user's LockTrip account email. Needed only when there is no signed-in session: LockTrip then emails that address a sign-in link to the user's bookings on locktrip.com (the bookings are not shown in this chat). | ||
| sessionToken | No | Optional guest-checkout token returned by `guest_login`. |