Skip to main content
POST
cURL
This endpoint is in preview. Request and response shapes may change faster than the stable search and host endpoints.

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

Authentication uses the standard 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

The action field controls how the endpoint behaves.

Required path and query parameters

Common request fields

Example requests

Chat for recommendations

Create an itinerary

Send itinerary by email

Example chat response

Guide cards in the chat UI can lazy-load their associated listings through the companion route below:

Guide listings example

Guide listings response

Authorizations

key
string
query
required

Path Parameters

orgId
string
required

Organization Account Number

Body

application/json

Chat request payload.

message
string
default:""
required
action
enum<string>
default:chat
required
Available options:
chat,
createItinerary,
sendEmail
orgId
string
lang
string
location
string
latlng
string
profileId
string
conversationHistory
object[]
preferences
object
sessionId
string
fingerprintId
string
email
string<email>
Pattern: ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
itinerary
any
durationDays
number
Required range: 1 <= x <= 7

Response

Success

message
string
required
listings
object[]
required
guides
object[]
required
toolUsed
boolean
required
actions
object[]
hostInterests
object[]
itinerary
object