Skip to main content

API Reference

Complete API documentation with request/response examples for every endpoint.

Modules

ModuleBase URLDescription
PMS (Admin)http://localhost:8080Manage SDUI, pricing rules, partners, sales intelligence
CRShttp://localhost:8080Search, detail, offers, AI search, assistant
Websitehttp://localhost:8080Customer-facing APIs with auto traffic context

Authentication

All endpoints require a Bearer JWT token (Auth0):

Authorization: Bearer eyJhbGciOiJSUzI1NiIs...

Request Format

Most endpoints accept JSON. Listing search uses a generic rawParams format:

{
"rawParams": [
{ "filterName": "channelId", "filterValues": ["B2C"] },
{ "filterName": "city", "filterValues": ["Goa"] },
{ "filterName": "adults", "filterValues": ["4"] }
]
}

Traffic Context (Website APIs)

Website APIs automatically resolve traffic context from the bev cookie. No extra params needed from the frontend — see Traffic Context for details.