How to Retrieve Activity Booking Details
After creating a booking, you can retrieve its full details at any time using the booking ID. This is useful for confirming booking status, displaying reservation details to customers, or verifying information before processing a cancellation.
Endpoint
GET {{api_host}}/api/ext/activity/bookings/{bookingId}
Headers
| Header | Required | Description |
|---|---|---|
x-api-key | Yes | Your Xeni API key |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
bookingId | string | Yes | The booking ID you provided when creating the booking. |
Example Request
GET {{api_host}}/api/ext/activity/bookings/MY-BOOKING-001
Usage Notes
- The
bookingIdin the URL is the same ID you passed in thebookingIdfield when creating the booking. This is your own tracking ID, not a provider-generated reference. - Use this endpoint to verify a booking was created successfully after the booking call returns.
- This endpoint is also useful for building booking management interfaces where customers can view their upcoming activities.
- You should retrieve booking details before attempting a cancellation to confirm the booking is still active and eligible for cancellation.
Next Steps
If you need to cancel a booking, first check the cancellation penalty. See How to Cancel an Activity Booking.