Skip to main content

Elivaas Distribution API

The Elivaas Distribution API enables channel partners to programmatically search properties, retrieve real-time availability and pricing, and create confirmed bookings. It is a RESTful API that accepts and returns JSON over HTTPS.

Quick Start

Go from zero to your first booking in four steps.

API Reference

Explore the full endpoint reference with request and response schemas.

Support

Reach the integrations team at api@elivaas.com.

Authentication

All requests are authenticated with two headers issued by the Elivaas team during onboarding.
Requests missing either header will receive a 401 Unauthorized response.

Base URLs

Complete your integration against Sandbox before switching to Production. Both environments share the same API contract — only the base URL changes.

Quick Start

The core booking flow requires four steps. Each step produces a value consumed by the next.

1. Fetch Cities

Before you can search properties by location, you need the list of available cities and states. This call returns slug values that are required as the city parameter in the Discovery API.

GET /v1/cities

Response:
How to use:
  • Display displayName in your location dropdown or filter UI.
  • Store the slug value — pass it as the city parameter in Step 2.
  • STATE slugs (e.g., stategoa) return properties across all cities in that state.
  • CITY slugs (e.g., citynorth-goa) return properties in that specific city only.
Cache this response. The cities list changes infrequently — fetch it once on app load and refresh periodically.

2. Search Properties & Rates

Use the Discovery API to retrieve a paginated list of available properties with calculated pricing. Pass the slug from Step 1 as the city parameter.

GET /v1/properties/rates

Response — a paginated list of property cards, each containing one or more quotes (rate plan options):
Key response fields: Supported query parameters: For the full response schema including property details, images, amenities, FAQs, and all quote fields, see the Discovery API reference.

3. Get a Quote

When the user selects a property and rate plan, request a quote by adding the ratePlanCode parameter. The response returns an id — a token that locks in the pricing for booking.

GET /v1/properties/rates?ratePlanCode=...

Response — includes id and final pricing breakdown:
Present the pricing summary to the user before confirmation:
Persist the id — it is required (passed as quoteId) to create the booking in the next step.

4. Create a Booking

Submit the quoteId along with guest details to confirm the reservation.

POST /v2/bookings

Request body: Response 201 Created:
Upon successful creation, the system automatically:
  • Blocks inventory for the booked dates
  • Assigns an available property unit
  • Dispatches confirmation to the guest via email and WhatsApp
Duplicate bookingId values within the same channel are rejected with a 500 error. Use your internal order ID to guarantee uniqueness.

Going Live Checklist

Complete each item before switching from Sandbox to Production.
1

Obtain credentials

Receive your Production Api-Key and Channel-Id from the Elivaas integrations team.
2

Fetch cities

Call GET /v1/cities and cache the response. Use slug values for location filtering.
3

Implement property search

Integrate GET /v1/properties/rates with city slugs, date, and occupancy filters. Verify pagination works correctly.
4

Implement quote generation

Add ratePlanCode to the search request. Confirm an id is returned and stored.
5

Implement booking creation

Submit POST /v2/bookings with the stored quoteId. Verify a 201 response with the bookingId.
6

Handle errors gracefully

Implement error handling for 400, 401, and 500 responses. Display actionable messages to the user.
7

Switch to Production

Replace the base URL with https://api.elivaas.com/api and use Production credentials.

Additional APIs

The following endpoints are not required for the core booking flow but provide capabilities for richer integrations.

Promotions

Retrieve active promotions and coupon codes to display on property pages.

Inventory

Query raw availability by date — useful for building calendar views.

Rate Plans

Access detailed rate plan definitions including extra guest surcharges.

Fetch Rates

Bulk-fetch daily rates across multiple properties for rate synchronization.

Error Handling

All endpoints return a consistent error envelope.

Support

Contact the Integrations Team

For onboarding, technical issues, or credential requests — reach us at api@elivaas.com.