cURL
curl --request POST \
--url 'https://api.obvlo.com/v2/orgs/{orgId}/chat?key=' \
--header 'Content-Type: application/json' \
--data '
{
"message": "",
"action": "chat"
}
'import requests
url = "https://api.obvlo.com/v2/orgs/{orgId}/chat?key="
payload = {
"message": "",
"action": "chat"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({message: '', action: 'chat'})
};
fetch('https://api.obvlo.com/v2/orgs/{orgId}/chat?key=', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"message": "<string>",
"listings": [
{
"id": "<string>",
"name": "<string>",
"category": "<string>",
"address": "<string>",
"geoDistance": 123,
"googleRating": 123,
"priceLevel": 123,
"openNow": true,
"photo": {
"url": "<string>"
},
"googleMapsUrl": "<string>"
}
],
"guides": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"coverImage": {
"url": "<string>"
},
"listingCount": 123,
"geoDistance": 123
}
],
"toolUsed": true,
"actions": [
{
"id": "<string>",
"label": "<string>",
"value": "<string>"
}
],
"hostInterests": [
{
"id": "<string>",
"name": "<string>",
"travellerTypes": [
"<string>"
]
}
],
"itinerary": {
"name": "<string>",
"durationDays": 123,
"days": [
{
"dayNumber": 123,
"activities": [
{
"activityType": "<string>",
"placeId": "<string>",
"placeName": "<string>",
"rationale": "<string>",
"placePhoto": "<string>",
"travelTime": 123,
"listing": {
"id": "<string>",
"name": "<string>",
"category": "<string>",
"address": "<string>",
"geoDistance": 123,
"googleRating": 123,
"priceLevel": 123,
"openNow": true,
"photo": {
"url": "<string>"
},
"googleMapsUrl": "<string>"
},
"location": {
"id": "<string>",
"name": "<string>",
"address": "<string>",
"description": "<string>",
"geoDistance": 123,
"photo": {
"url": "<string>"
},
"googleMapsUrl": "<string>"
}
}
],
"summary": "<string>"
}
],
"summary": "<string>"
}
}AI Chat
Post v2orgs chat
Conversational AI endpoint for destination recommendations, itinerary generation, and itinerary email delivery.
POST
/
v2
/
orgs
/
{orgId}
/
chat
cURL
curl --request POST \
--url 'https://api.obvlo.com/v2/orgs/{orgId}/chat?key=' \
--header 'Content-Type: application/json' \
--data '
{
"message": "",
"action": "chat"
}
'import requests
url = "https://api.obvlo.com/v2/orgs/{orgId}/chat?key="
payload = {
"message": "",
"action": "chat"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({message: '', action: 'chat'})
};
fetch('https://api.obvlo.com/v2/orgs/{orgId}/chat?key=', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"message": "<string>",
"listings": [
{
"id": "<string>",
"name": "<string>",
"category": "<string>",
"address": "<string>",
"geoDistance": 123,
"googleRating": 123,
"priceLevel": 123,
"openNow": true,
"photo": {
"url": "<string>"
},
"googleMapsUrl": "<string>"
}
],
"guides": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"coverImage": {
"url": "<string>"
},
"listingCount": 123,
"geoDistance": 123
}
],
"toolUsed": true,
"actions": [
{
"id": "<string>",
"label": "<string>",
"value": "<string>"
}
],
"hostInterests": [
{
"id": "<string>",
"name": "<string>",
"travellerTypes": [
"<string>"
]
}
],
"itinerary": {
"name": "<string>",
"durationDays": 123,
"days": [
{
"dayNumber": 123,
"activities": [
{
"activityType": "<string>",
"placeId": "<string>",
"placeName": "<string>",
"rationale": "<string>",
"placePhoto": "<string>",
"travelTime": 123,
"listing": {
"id": "<string>",
"name": "<string>",
"category": "<string>",
"address": "<string>",
"geoDistance": 123,
"googleRating": 123,
"priceLevel": 123,
"openNow": true,
"photo": {
"url": "<string>"
},
"googleMapsUrl": "<string>"
},
"location": {
"id": "<string>",
"name": "<string>",
"address": "<string>",
"description": "<string>",
"geoDistance": 123,
"photo": {
"url": "<string>"
},
"googleMapsUrl": "<string>"
}
}
],
"summary": "<string>"
}
],
"summary": "<string>"
}
}Authorizations
Path Parameters
Organization Account Number
Body
application/json
Chat request payload.
Available options:
chat, createItinerary, sendEmail Show child attributes
Show child attributes
Show child attributes
Show child attributes
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⌘I