Endpoint
Query Parameters
The unique identifier of the booking to retrieve.Example:
3fa85f64-5717-4562-b3fc-2c963f66afa6Response
Unique identifier for the booking.
Unique identifier of the user who made the booking.
Unique identifier of the booked apartment.
Current status of the booking.
0- Reserved1- Confirmed2- Rejected3- Cancelled4- Completed
Total accommodation price for the booking period.
Currency code for the price (e.g., “USD”, “EUR”).
One-time cleaning fee charged for the booking.
Currency code for the cleaning fee.
Additional charges for premium amenities.
Currency code for amenities upcharge.
Total amount to be paid (price + cleaning fee + amenities upcharge).
Currency code for the total price.
Check-in date in ISO 8601 format (YYYY-MM-DD).
Check-out date in ISO 8601 format (YYYY-MM-DD).
Timestamp when the booking was created in ISO 8601 format.
Example Request
Example Response
Error Responses
401 Unauthorized
Returned when the request lacks valid authentication credentials.404 Not Found
Returned when the booking with the specified ID does not exist.500 Internal Server Error
Returned when an unexpected server error occurs.Usage Notes
- Users can only retrieve bookings they have created (authorization is enforced)
- The
statusfield indicates the current state of the booking in its lifecycle - All monetary amounts are in the smallest currency unit (e.g., dollars, not cents)
- The
totalPriceAmountis the sum of all individual price components
Booking Status Values
| Value | Status | Description |
|---|---|---|
0 | Reserved | Booking request has been submitted |
1 | Confirmed | Booking has been confirmed by the host |
2 | Rejected | Booking request was rejected |
3 | Cancelled | Booking was cancelled |
4 | Completed | Stay has been completed |
Related Endpoints
- Reserve Booking - Create a new booking
- Search Apartments - Find available apartments
- Add Review - Add a review after completing a booking