cURL
Preview
AI Chat (Preview)
Preview conversational endpoint for recommendations, guide card listings, itinerary generation, and itinerary email delivery.
POST
cURL
Overview
The AI Chat endpoint powers conversational discovery in Obvlo experiences. It can:- answer chat queries with curated guide and listing cards
- return guide-card listings for detail views
- generate itineraries
- send generated itineraries by email
Base route
key query parameter.
Preview notes
- Treat this endpoint as beta or preview in production clients.
- Conversation-oriented fields such as
actions,hostInterests, and itinerary payloads may evolve. - Use stable search endpoints when you need fixed, non-conversational retrieval contracts.
POST action modes
Theaction field controls how the endpoint behaves.
action | Purpose |
|---|---|
chat | Default conversational search and recommendation flow. |
createItinerary | Builds a day-by-day itinerary from the active profile and preferences. |
sendEmail | Sends a previously generated itinerary to an email address. |
Required path and query parameters
| Parameter | In | Type | Description |
|---|---|---|---|
orgId | path | string | Organisation ID for the request. |
key | query | string | Public API key for the organisation. |
Common request fields
| Field | Type | Description |
|---|---|---|
message | string | User message for the chat turn. Use "" when triggering a non-text action. |
profileId | string | Optional host profile context for search and itinerary generation. Required for createItinerary. |
lang | string | Optional BCP-47 language code for response content. |
latlng | string | Optional lat,lng user location override. |
conversationHistory | array | Prior user and assistant messages. |
preferences | object | Optional guided-discovery preferences: tripType, userCategory, interests. |
sessionId | string | Optional client session identifier for tracking. |
fingerprintId | string | Optional end-user fingerprint identifier for tracking. |
isInitialSearch | boolean | Optional hint to randomise initial recommendation ranking. |
Example requests
Chat for recommendations
Create an itinerary
Send itinerary by email
Example chat response
Related GET route for guide cards
Guide cards in the chat UI can lazy-load their associated listings through the companion route below:Guide listings example
Guide listings response
Authorizations
Path Parameters
Organization Account Number
Body
application/json
Chat request payload.
Available options:
chat, createItinerary, sendEmail Pattern:
^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$Required range:
1 <= x <= 7