Getting Started with Xeni Quick Builder
Xeni Quick Builder is a whitelabel booking engine that lets you offer hotel search and booking capabilities directly within your platform. Unlike the standalone Xeni APIs, Quick Builder provides a fully rendered booking interface that you embed using SSO-based authentication.
What Is Quick Builder?
Quick Builder is a hosted booking experience powered by Xeni. Your users authenticate through your platform, and a secure SSO redirect logs them into the Xeni whitelabel environment. From there, they can search for hotels, view results, and complete bookings — all within a branded experience that matches your platform.
How SSO Authentication Works
Quick Builder uses JWT (JSON Web Token) based Single Sign-On instead of the Auth V2 signature-based authentication used by the Xeni APIs. The flow works as follows:
- User logs into your platform — Your application authenticates the user through your own login system.
- Your server generates a JWT — When the user is ready to access the booking engine, your backend creates a signed JWT containing the user's identity claims.
- Redirect to Xeni — Your application redirects the user to the Xeni SSO URL with the JWT token and a destination path.
- Xeni validates the token — Xeni calls your JWT Validation Endpoint to verify the token is authentic and not expired.
- User accesses Quick Builder — Once validated, the user is logged into the whitelabel booking engine and can search and book hotels.
SSO Redirect URL Format
The redirect URL follows this structure:
https://your-xeni-domain.com/sso?token={JWTTOKEN}&navigateTo={ENCODEDDESTINATION}
| Parameter | Description |
|---|---|
token | The signed JWT token generated by your server |
navigateTo | URL-encoded path within the booking engine (e.g., /hotels/search) |
Integration Checklist
To complete your Quick Builder integration, you will need to:
| Step | Description | Article |
|---|---|---|
| 1. Generate JWT tokens | Create signed tokens with the required claims | Set Up SSO Authentication |
| 2. Build a validation endpoint | Expose a POST endpoint that Xeni calls to verify tokens | Create a JWT Validation Endpoint |
| 3. Configure the admin panel | Register your validation URL and issuer domain in the Xeni admin | Configure Quick Builder in Xeni Admin |
| 4. Search for hotels | Use the autocomplete and search endpoints to find properties | Search for Hotels |
| 5. Apply filters | Narrow results by rating, amenities, price, and more | Use Hotel Search Filters |
Key Differences from Xeni APIs
| Feature | Quick Builder | Xeni APIs |
|---|---|---|
| Authentication | JWT-based SSO | Auth V2 (signature generation) |
| Interface | Hosted whitelabel UI | Raw API endpoints |
| Booking flow | Built-in UI handles checkout | You build the entire checkout flow |
| Hotel search | Same endpoints as Hotels API | Direct API access |
Next Steps
Start by setting up SSO authentication. This is the foundation of your Quick Builder integration and must be completed before any other configuration.