Bookings
List Bookings
Get bookings for the authenticated user
GET
/bookingsRetrieve all bookings for the currently authenticated user (as a guest).
This endpoint requires user authentication via Supabase Auth, not API key authentication.
Query Parameters
| Parameter | Type | Description |
|---|---|---|
status | string | Filter by status: pending, confirmed, cancelled, completed |
Request
Response
Response Fields
| Field | Type | Description |
|---|---|---|
id | string | Booking ID (UUID) |
boat_id | string | ID of the booked boat |
user_id | string | ID of the guest |
status | string | pending, confirmed, cancelled, completed |
start_date | string | Start date (ISO 8601) |
end_date | string | End date (ISO 8601) |
start_time | string | Start time (HH:MM) |
end_time | string | End time (HH:MM) |
guests | integer | Number of guests |
total_price | number | Total price in USD |
boat | object | Boat details with images |