Send leads in from any CRM or website form, make priced quotations with a PDF, read and edit your hotels, vehicles and packages, and give your agents one-click links into travee+.
Base URL. Every call goes to https://www.traveeplusworld.com/api/?path=<route>.
A plain /api/v1/leads URL returns 404, so always use the ?path= form.
short_days:[3,5], so you can hold that quote;
POST /v1/quotations/{ref}/days/fill tries again and answers filled and short_days.
GET /v1/catalog/packages&short_days=1 lists packages with a short day, each with its short_days./full answer per_adult, per_child_with_bed,
per_child_without_bed and per_extra_bed (null when the party has none). They add up to total;
per_person stays total ÷ every traveller.understood carries rooming_text (the line the PDF prints, rooms counted from
the quotation when a stay has none) and end_point. /v1/quotes/price answers starting_point and end_point.round_to (1, 10, 50 or 100) on /v1/quotes/price, create, revise and reprice rounds the total to the
nearest after markup and GST. The quotation shows a "Rounded off" line; the answer says rounded_by.vehicle_options:[{name, seats, car_difference}]: every car that seats the party,
priced against the row's own car (net; null when it has no day rate). A larger car priced below a smaller one is a warning./send, /payment-link with an amount or percent,
/confirm, client_state on /status and on the list, voucher PDFs and /vouchers/send,
and webhooks quotation.sent, quotation.declined and voucher.ready. See Send to booked.meal_plan sent prices the package's own plan, and the stays, /full, the client page and the PDF
say the plan priced (meal_plan_used). "Dinner + Breakfast" reads as MAP. A chart carries the plan its stays sell: Malaysia,
Singapore and the np-pkg Nepal trips are Breakfast (CP), Bhutan is All meals (AP).starting_point sent = the package's own start ("Ex Haridwar", its day 1, else its arrival or gateway
city), never the first night's town. Every package now has one.options&for=vehicle lists only real road cars that seat the party and have a day rate, with the right difference.
Merged cars keep their old names ("Innova Normal" is the Innova Crysta; plain "Innova" too). Rates are in the package's own money (RM, NPR, Rp, ₹).POST /v1/quotes/price takes vehicle (name or id) and answers car_difference,
elapsed_ms and cached; the same question within 10 minutes is answered from cache (X-Cache: hit).POST /v1/quotes/match and GET /v1/catalog/packages&q= weigh an "Ex <city>" start: each match says
starts_at, start_matches and a reason; when no package starts there, message says so.hotels:[{hotel, city:"Sitapur"}] finds the "Guptkashi / Phata / Sitapur" night.DELETE /v1/quotations/{ref} removes every version your desk or company made; a confirmed or paid one is cancelled and kept./pdf prints the company's saved design, colours and first page; &layout= / &theme= pick another
(an unknown name is 422 with the list).options lists what can change, a name you misspell comes back as "did you mean",
/revise&dry_run=1 answers the priced preview without saving, and /undo puts the last version back. See Edit from a chat.POST /v1/quotations/{ref}/approve puts a version in use, marks it sent and answers its links; its days lock, and a revise makes a new version.request_id or Idempotency-Key with a different body is 409 request_id_reused, not the first request's answer.POST /v1/quotations and /v1/quotes/price: per person per night by bed (double, extra bed,
child with bed, child no bed), EP and MAP each at its own rate, the Kedarnath and Badrinath supplement at half per temple night, doubles plus one extra bed
for an odd number. The car is the table's for the party and tier (Dzire 1–4; Ertiga Standard or Crysta 5–6; Tempo Traveller 12 or Urbania 7–12; TT 17, 22, 26 above),
for the trip's days or the circuit's minimum ex Delhi or ex Haridwar, whichever is more; starting_point decides which. A car asked other than the
table's answers car_difference. Net, with no card margin.grand-awadh-kashi-chitrakoot-yatra-7n-8d is retired and redirects to trip 08.POST /v1/catalog/packages/{id}/rates/adjust takes valid_from and valid_until (YYYY-MM-DD,
null clears one); the chart, the package and every price read them, and a price for a date outside carries a warning.starting_point) is a pickup, never a town to stay in;
the trip leaves it on day 1.ok:false with the reason, not a price at
another country's rates. A trip abroad inside your desk prices in its own country with that country's inclusions.layout or theme is refused before anything is saved, so a refused call leaves no draft behind.ok:false.duration_nights in the towns its days sleep in
("Hotel as per category" until a hotel is named), on the meal plan of the chart row priced; with no inclusions or exclusions it carries the house lists;
a day saved with a title only gets its words on the quote. consultant_name and consultant_phone on POST /v1/quotations name who made it.GET /v1/key answers desks, countries and expires_at (always null: a key works until it is revoked).
A trip outside them answers ok:false with country and desk_countries.warnings, and a request for fewer nights than the nearest package prices the places named
for the nights asked. revise with {"nights": 5} alone rebuilds the trip at 5 nights.POST /v1/catalog/packages/{id}/images and /v1/catalog/hotels/{id}/images take image (base64 or a data: URI, 6 MB) or url.
A package photo with day_number is that day's photo; the first one, or one sent with hero: true, is the cover on the page and PDF.| Method and route | What it does |
|---|---|
POST /auth/login | Sign in with email and password (to make a key from a script) |
POST /admin/api-keys · GET · DELETE /admin/api-keys/{id} | Make, list and revoke keys (signed in) |
POST /v1/leads | Send a lead |
GET /v1/leads · GET /v1/leads/{id} | Read leads with their quotations and links |
POST /v1/quotations | Make a priced quotation from a prompt or trip fields |
GET /v1/quotations | Versions of a group, or your last 50 calls |
GET /v1/quotation-requests/{request_id} | Where a slow POST stands, and its answer once built |
POST /v1/quotations/{ref}/select | Use this version |
PUT /v1/quotations/{ref} | Change who prepared it, the guest, the status |
DELETE /v1/quotations/{ref} | Remove a quotation your desk or company made, every version; a confirmed or paid one is cancelled and kept, never erased |
GET /v1/quotations/{ref}/full | The whole quotation: party, dates, starting and end point, every night (hotel id, room, meal plan) and day (from, to) |
PUT /v1/quotations/{ref}/days | Change a day's title, words, stay, meals, day service or photo (image_url, or image_off: true for none); no repricing. PUT /v1/quotations/{ref} also takes a title |
POST /v1/quotations/{ref}/revise | Change hotels per night, rooms, tier per town, meal plans, vehicle, nights, dates, travellers, start and end; &dry_run=1 shows the change and price without saving |
GET /v1/quotations/{ref}/versions · POST /undo | Each version in words with what it cost; put the one before back in use |
GET /v1/quotations/{ref}/options&for=… | Hotels, cars, rooms, meal plans, start and end points that fit, each with its price difference (for WhatsApp forms) |
POST /v1/quotations/{ref}/approve | The version the client gets: in use, marked sent, its days locked, with its final links |
POST /v1/quotes/match | Packages that fit a pasted enquiry, both lengths when the nights are not said; an "Ex <city>" start comes first, and each match says where it starts; no AI |
GET /v1/catalog/changes&since=… | Packages, hotels and vehicles changed since your last poll |
POST /v1/catalog/packages/{id}/rates/adjust | Raise or lower a package's prices by a percent or amount, per tier and meal plan (dry_run to preview; admin keys) |
GET /v1/lookup/places · /hotels · /vehicles · /starting-points | Find what was typed ("varansi", "dezire") with a match score and "did you mean" |
GET /v1/quotations/{ref}/pdf | The quotation as a PDF; ?version=n for one version, none for the one in use; &layout= / &theme= for another design than the company's |
POST /v1/quotes/price | Prices for several tiers and meal plans in one call, under 2 s, with a car (vehicle: name or id) if you send one; the same question within 10 minutes is answered from cache; nothing saved, no AI |
POST /v1/quotations/{ref}/reprice | A new markup, total or per-person price on the same stays, car and days, as a new version |
GET /v1/quotations/{ref}/status | building, ready or failed, with the version and total; client_state, change_request_text, short_days |
POST /v1/quotations/{ref}/days/fill | Write out the days still one line long |
POST /v1/quotations/{ref}/send | Approve if needed, then email or WhatsApp it to the client |
POST /v1/quotations/{ref}/payment-link | A payment link for the balance, an amount or a percent of the total |
POST /v1/quotations/{ref}/confirm | Confirm the trip once paid (or without_payment: true); answers trip_id |
GET /v1/catalog/packages/{id}/rate-chart | A package's chart rows: party size, tier, meal plan, price, room, vehicle (admin keys) |
GET · PUT /v1/key | Your key's own defaults (markup, GST, status) and brand for its PDFs and client pages |
GET · POST /v1/webhooks · PUT · DELETE /v1/webhooks/{id} | Your webhook endpoints, e.g. quotation.ready when a build finishes (admin keys) |
GET /v1/catalog/packages · /packages/{id} | Packages with itineraries, hotels, inclusions, images |
GET /v1/catalog/hotels · /vehicles | Hotels and vehicles with filters |
POST · PUT · DELETE /v1/catalog/hotels|vehicles|packages | Create, change and switch off (admin keys) |
POST /v1/catalog/hotels/{id}/rooms|images | A hotel's rooms and photos |
PUT /v1/catalog/hotels/{id}/rate-sheet | A hotel's whole rate sheet in one call: rooms, EP/CP/MAP, seasons |
POST /v1/catalog/hotels/bulk|status · /v1/catalog/hotel-rates/bulk | Many hotels at once: add, switch on/off, raise or lower rates |
/v1/catalog/hotel-blackouts · /v1/catalog/allotments · /v1/catalog/hotel-owners | Stop-sale dates, room allotments, hotel owner logins |
GET /v1/catalog/hotels/{id}/log | Who changed a hotel and its rates |
POST /v1/catalog/packages/{id}/itinerary|accommodations|inclusions|images|rate-chart | A package's days, stays, inclusions, photos and prices |
GET · POST /v1/vendors · PUT /v1/vendors/{id} | Suppliers, and which super vendor each sits under (admin keys) |
GET /v1/vendors/{id}/statement | A super vendor's bills and its sub-vendors', billed and owed |
GET /v1/whatsapp · /v1/whatsapp/{phone} | WhatsApp chats, and one chat's messages |
POST /v1/whatsapp/{phone}/price | Price a chat with any variation; answers a ready WhatsApp message |
POST /v1/whatsapp/{phone} | Send a reply on WhatsApp |
GET /v1/trips · /v1/trips/{id} | Trips and one trip's bookings, payments, travellers and services |
GET /v1/trips/{id}/vouchers | Hotel vouchers, one per stay, with the hotel's confirmation and a pdf_url each |
POST /v1/trips/{id}/vouchers/send | Email or WhatsApp the guest a link to each voucher PDF |
GET · POST /v1/trips/{id}/invoice · POST …/credit-note | Read or raise the tax invoice; issue a credit note |
PUT /v1/trip-stays/{id} · POST /v1/trips/{id}/booking-requests | Book a stay, or email the hotel to confirm it |
POST /v1/trips/{id}/payments|refunds|supplier-payments | Record money in, refunds and money out |
GET /v1/collections · /instalments · /payables · /bills | Sales and money owed both ways |
GET · POST · PUT · DELETE /v1/designs · /v1/branding | Quotation designs per DMC or destination, and the letterhead |
GET · POST · PUT /v1/staff · /v1/team · /v1/dmc-team | Users and staff at every level |
tvp_. Lost it? Show on its row gives it back.A key reads and writes only its own desk's or DMC's leads. Keep it on your server, never in a
web page or app. Revoke stops it at once, and so does switching off the login that made it
(401, "code":"key_owner_inactive"): make keys from a login that stays. Send it with every request:
X-Api-Key: tvp_xxxxxxxx…
Authorization: Bearer tvp_xxxxxxxx… # either form works
Sign in with the admin's email and password, keep the cookie, and ask for a key. The same login rules apply as on the website: wrong passwords are limited, and a two-step code is asked for when the account has one.
# 1. sign in (keeps the session cookie in jar.txt)
curl -c jar.txt -b jar.txt -X POST "https://www.traveeplusworld.com/api/?path=/auth/login" \
-H "Content-Type: application/json" -d '{"email":"you@agency.com","password":"…"}'
# → {"ok":true,"user":{…},"needs_2fa":false}
# 2. only if the answer says so:
# "needs_2fa": true → POST /auth/2fa/verify {"code":"123456"} (authenticator app)
# "needs_email_code": true → POST /auth/email-code/verify {"code":"123456"} (emailed to you)
# 3. make the key (store it on your server)
curl -c jar.txt -b jar.txt -X POST "https://www.traveeplusworld.com/api/?path=/admin/api-keys" \
-H "Content-Type: application/json" -d '{"name":"Our CRM","desk":"India"}'
# → {"ok":true,"id":42,"key":"tvp_…"}
# 4. sign out; the key keeps working until it is revoked
curl -c jar.txt -b jar.txt -X POST "https://www.traveeplusworld.com/api/?path=/auth/logout"
Whose details a key uses. A quotation made with a key belongs to the company that owns the key: its brand, logo, contact and terms on the quotation and PDF, and only its packages, hotels, past quotations and saved trips. A key the platform owner makes for a desk acts as that desk's own account.
GET /admin/api-keys lists your keys (never the key itself) and DELETE /admin/api-keys/{id}
revokes one, both while signed in. Only a desk admin or company owner can make keys; a team login is refused.
desk is needed when you manage more than one desk.
POST /v1/leadscurl -X POST "https://www.traveeplusworld.com/api/?path=/v1/leads" \
-H "X-Api-Key: tvp_..." -H "Content-Type: application/json" \
-d '{"name":"Rahul Sharma","email":"rahul@example.com","phone":"+91 98100 00000",
"country":"India","package":"Char Dham Yatra 10N/11D",
"travel_date":"2026-11-15","pax":"2 adults, 1 child","message":"Kedarnath by helicopter"}'
| Field | Required | Notes |
|---|---|---|
name | yes | At least 2 characters. |
email / phone | one of them | A valid email, or a phone in any format. |
country | no | Routes the lead to that country's desk; otherwise the key's own desk. |
package, travel_date, pax, message | no | Saved on the lead; the quote builder reads them to prefill. |
external_id | no | Your CRM's own id for the enquiry (up to 100 characters). Sent again with the same key, it answers the lead already made (200, "duplicate":true) instead of a second one. |
Send the body as JSON with Content-Type: application/json; a form post or broken JSON is 400 invalid_json.
Every field is text; a list or object is 422. Other fields are ignored. To retry safely without an external_id,
send an Idempotency-Key header (16–64 letters, digits, - or _): the same key and header within a day
give the first answer again, with Idempotent-Replayed: true. The same key with a different body is 409 request_id_reused.
Reply 201:
{"ok": true, "id": 1234, "desk": "India",
"lead_url": "https://www.traveeplusworld.com/lead?id=1234",
"quote_url": "https://www.traveeplusworld.com/wizard?lead=1234"}
The lead is assigned to an agent automatically, the same as a website enquiry. Save id in your CRM.
PUT /v1/leads/1234 {"status":"contacted","notes":"…","follow_up_date":"2027-01-10","assigned_user_id":12}
POST /v1/leads/1234/contacts {"channel":"call","outcome":"connected","note":"Sent the quote","follow_up_date":"2027-01-12"}
GET /v1/leads/1234 → {"lead": {...}}
GET /v1/leads&since=2026-10-01&limit=100 → {"leads": [...], "limit":100, "offset":0, "has_more":true, "next_offset":100}
GET /v1/leads&updated_since=2026-11-27%2010:00:00 leads changed since then: status, notes, follow-up, agent
since (created on or after) and updated_since (changed on or after) are YYYY-MM-DD or
YYYY-MM-DD HH:MM:SS, in the same clock as the created_at and updated_at it answers; limit is 1–200 (default 50), newest first, and offset skips that many.
While has_more is true, ask again with offset=next_offset.
Each lead carries status, notes, follow_up_date, assigned_user_id and assigned_to
(the agent's name), external_id, created_at, updated_at, and a quotations list, newest first:
{"id": 88, "quote_ref": "4752833", "title": "Char Dham Yatra", "status": "sent",
"currency": "INR", "total": 84500,
"client_url": "https://www.traveeplusworld.com/quote?ref=4752833&k=…",
"pdf_url": "https://www.traveeplusworld.com/quote?ref=4752833&k=…&pdf=1",
"pdf_file_url": "https://www.traveeplusworld.com/api/?path=%2Fv1%2Fquotations%2F4752833%2Fpdf&k=…",
"edit_url": "https://www.traveeplusworld.com/wizard?edit=4752833"}
pdf_url opens the quotation ready to print or save; pdf_file_url is the PDF file itself, made on the server, to attach to a mail.
Reading does not count against the daily limit; only POST does.
POST /v1/quotationsSend a trip request in words, or the trip itself, and get a priced quotation back with its PDF.
curl -X POST "https://www.traveeplusworld.com/api/?path=/v1/quotations" \
-H "X-Api-Key: tvp_..." -H "Content-Type: application/json" \
-d '{"prompt":"Char Dham deluxe from Haridwar for 4 adults",
"client_name":"Rahul Sharma","client_email":"rahul@example.com",
"start_date":"2027-05-10","group":"CRM-ENQ-5521"}'
| Field | Notes |
|---|---|
prompt | The request in words. Matched to your packages; when none fits, the AI names the towns and the trip is priced from your rate card. |
package_id or package | A package id or its slug, instead of a prompt. |
towns | A custom route: [{"name":"Rishikesh","nights":2},{"name":"Mussoorie"}]. Towns without nights share nights. |
adults, children, tier | Tier is Standard, Deluxe, Premium or Luxury. Unsent, they are read from the prompt (2 adults, Deluxe). |
client_name, client_email, client_phone, start_date | The guest and the first day (YYYY-MM-DD). |
group | Your enquiry number. Calls with the same group are versions 1, 2, 3…; else the lead or the guest's email groups them. |
lead_id, markup_percent, status, prompt_version | Attach it to a lead, set your markup (else your brand's), draft or sent, and the AI prompt version to read with. |
child_with_bed, child_without_bed, child_ages, starting_point, meal_plan |
Or in the words: "2 children ages 5 and 9, one with bed", "from Haridwar", "breakfast and dinner" (MAP, CP, EP, AP), "starting 15 May 2027".
The reply's understood block says what was read: travellers, beds, ages, tier, nights quoted, start date, starting point, meals, places, rooms and vehicles. |
hotels | Hotels to use: [{"name":"Ganga Kinare","city":"Rishikesh","category":"Deluxe"}]. Each goes on the stay in its town. One not in your catalogue is added to it (it needs a city) and found by name next time. |
consultant_name, consultant_phone | Who prepared it, as the client sees it ("Your consultant: Keshav Sharma"). Change it later with PUT. |
custom | true builds a trip to the request even when a catalogue package is close. |
request_id | Your own id for this request (1–80 letters, digits, . : - _), or the Idempotency-Key header. Sent again, it never makes a second quotation; see Slow answers and retries. |
rooms, extra_beds, vehicles | Your own rooming and transport, tried first: "rooms": 4, "extra_beds": 0, "vehicles": [{"name": "Innova Crysta", "count": 2}].
Also read from the words ("4 rooms", "2 extra beds", "2 Innova"). Otherwise rooms and vehicles come from the rate chart row for the party (8 people: 2 rooms with 4 extra beds and a 12-seater),
then plain doubles, until a hotel accepts it. |
Reply 201:
{"ok": true, "quote_ref": "4956632", "version": 1, "group": "CRM-ENQ-5521",
"kind": "catalogue", "tier": "Deluxe", "adults": 4, "total": 116684, "currency": "INR",
"package": {"id": 51, "title": "Chardham Yatra (Ex-Haridwar)"},
"client_url": "https://www.traveeplusworld.com/quote?ref=4956632&k=…",
"pdf_url": "https://www.traveeplusworld.com/api/?path=%2Fv1%2Fquotations%2F4956632%2Fpdf&k=…",
"edit_url": "https://www.traveeplusworld.com/wizard?edit=4956632"}
pdf_url downloads a PDF made on the server, no browser needed: the same document as the client page's Download PDF, in the quotation's design (letterhead, cover and photos).
A built trip can take up to 2½ minutes. Send a request_id with each new request, and if your side times out, send the
same request again with the same id, or read its status. Nothing is built twice and no version is skipped:
POST /v1/quotations {"request_id":"CRM-5521-1", ...}
→ 201 {"ok":true, "quote_ref":"4956632", "version":1, "request_id":"CRM-5521-1",
"status_url":"https://www.traveeplusworld.com/api/?path=%2Fv1%2Fquotation-requests%2FCRM-5521-1", ...}
→ 202 {"ok":false, "status":"building", "status_url":"…", "retry_after":15} still building: wait, do not send it as new
→ the same 201 again, header X-Replayed: true already built: nothing new, no call off the limit
→ 409 {"code":"request_id_reused"} that id with a DIFFERENT body: use a new id
GET /v1/quotation-requests/CRM-5521-1
→ {"status":"building" | "done" | "failed", "http_code":201, "started_at":"…", "finished_at":"…", "result":{ the POST answer }}
failed (an error, or a build that stopped) is built again the next time you send that id. Use a new id for a new
version, e.g. CRM-5521-2. Without an id, the same body sent while the first is still building is treated as a retry too.
Webhook. In Admin → Webhooks add your https address and tick quotation.ready. Within a minute of each build
it is POSTed {"event":"quotation.ready","data":{"request_id","ok","http_code","status_url","quote_ref","version","group","title","total",
"currency","client_url","pdf_url","message"}}, signed in X-Travee-Signature (sha256 HMAC of the body with the webhook's secret)
and retried up to 5 times. Read status_url for the full answer. A failed build carries "ok":false and its error.
You can add the endpoint by API too: POST /v1/webhooks {"url":"https://crm.example.com/hooks/travee","events":["quotation.ready"]} answers its secret once.
For a quotation you already have, GET /v1/quotations/{ref}/status answers state: building while a revise or reprice of it runs,
failed with its error if that stopped, and ready otherwise, with its version, total
and the group's latest:
{"ok":true, "quote_ref":"4956632", "state":"ready", "version":1, "total":116684, "currency":"INR",
"request_id":null, "error":null, "latest":{"quote_ref":"4956640","version":2,"total":42000}}
Meal plans. meal_plan takes EP, CP, MAP, AP or their words
(Room only (EP), Breakfast, Breakfast + Dinner, All meals). Anything else is 422, never a guess.
Every answer says tier_used and meal_plan_used; a package with no rows for the plan asked is priced on the
nearest one it has, with a warning such as No CP rates in this package, priced as MAP.
A price check without a quotation. One call prices every tier and meal plan asked, off the package's rate chart, the way
POST /v1/quotations would price it. Nothing is saved and no AI is used:
POST /v1/quotes/price
{"package_id":23, "adults":2, "children":0, "tiers":["Standard","Deluxe","Premium","Luxury"],
"meal_plans":["EP","CP","MAP"], "markup_percent":10, "gst_mode":"included"}
→ {"ok":true, "package":{"id":23,"title":"4N/5D Best of Awadh …","nights":4,"currency":"INR"},
"markup_percent":10, "gst_mode":"included", "gst_percent":5,
"prices":[{"tier":"Standard","meal_plan":"EP","total":31900,"per_person":15950,"base_total":29000,"markup_percent":10,
"tier_used":"Standard","meal_plan_used":"EP","room":"01 DBL","vehicle":"Swift Dzire","warnings":[]},
{"tier":"Standard","meal_plan":"CP","total":36300, …,"meal_plan_used":"MAP",
"warnings":["No CP rates in this package, priced as MAP."]}, …]}
Leave out tiers for all four, and meal_plans for each plan the package is charted on. gst_mode is
added (on top of the total), included (inside it, the default) or none. Every cell is priced as
POST /v1/quotations would price it: on an owner-charted package, children add the chart's rate with or without a bed at cost and GST defaults to none; elsewhere a child with a bed pays 70% of an adult and one without 50% (a split not sent is with bed). A cell with no price has "total":null and says why.
The money on every quotation. POST /v1/quotations, /revise, /reprice and /full answer
base_total (before markup), markup_percent, gst_mode, gst_amount, total and
per_person. Build once with your markup; there is no need to build at 0 first.
Change the price, not the trip. Send one of markup_percent, target_total or target_per_person
(per adult: children keep their own child rates; and gst_mode if it changes). The same stays, car and days are priced as a new version in well under 2 seconds, with no AI.
A target below the trip's net price is 422 with "code":"below_net".
POST /v1/quotations/4956632/reprice {"target_total":42000}
→ 201 {"ok":true, "quote_ref":"4956640", "version":2, "base_total":35200, "markup_percent":19.3182,
"total":42000, "per_person":21000, "pdf_url":"…&version=2", …}
/revise that changes only the tier, meal plan, travellers, vehicle, markup or GST re-prices the same day plan: the AI is not
asked and the days keep their words, edits made with PUT /days included. It keeps the markup and GST the quotation was sold at
unless you send new ones. Changing places, the package or the nights builds the trip again.
Your key's own settings. PUT /v1/key sets what a request leaves out: default_markup_percent,
default_gst_mode, default_status (draft or sent), and a brand printed on
the PDF and the client page instead of ours: {"name","logo_url" (https),"color" (#rrggbb),"phone","consultant_name"}.
A field sent as null clears it; one not sent is kept. GET /v1/key reads them back with today's use.
PUT /v1/key {"default_markup_percent":12, "default_gst_mode":"added",
"brand":{"name":"Care My Trip","logo_url":"https://…/logo.png","phone":"+91 …","consultant_name":"Holiday desk"}}
The PDF. It is named Quotation_<quote_ref>_<client>.pdf. The pdf_url in each answer ends in
&version=n and always opens that version; the same link without it opens the version in use (the newest, until an undo).
For messages typed the way people type ("varansi", "Shane Avadh ki jagah Ramayana", "2 dzire"). Nothing here uses the AI: lookups answer in well under half a second, a preview or a save in well under two.
1. Find what they mean. Every lookup answers results with match_score (0 to 1) and the matched words.
When the best is under 0.8, or two are close, it says "ambiguous":true and a message to ask with.
GET /v1/lookup/places&q=varansi
→ {"ambiguous":false, "results":[{"name":"Varanasi","state":"Uttar Pradesh","country":"India","match_score":0.9,
"aliases":["Kashi","Banaras","Benaras","Benares"]}]}
GET /v1/lookup/hotels&q=shane%20avad&city=Ayodhya&tier=Deluxe
→ {"results":[{"id":1479,"name":"Hotel Shane Avadh","city":"Ayodhya","tier":"Deluxe","match_score":0.98,
"meal_plans":["EP","MAP"],"room_types":[{"id":…,"name":"Double Room","meal_plans":["EP","MAP"]}, …]}]}
GET /v1/lookup/hotels&q=ganges&city=Varanasi
→ {"ambiguous":true, "message":"Did you mean Hotel Ganges Grand or Palace on Ganges or Taj Ganges, Varanasi?", "results":[…]}
GET /v1/lookup/vehicles&q=dezire&seats_min=4 → Swift Dzire, 4 seats, 0.81
GET /v1/lookup/starting-points&package_id=915&q=dilli → Delhi, 1 (on_package and price_modifier say if the package lists it)
2. Name the part. /full lists every night (night_no, date, city, hotel {id, name},
room_type, rooms, meal_plan, extra_beds) and every day (day_no, date,
title, from, to, sightseeing, service: its Transportation line), with starting_point, end_point,
vehicle {id, name, seats, count}, party (adults, children with age and bed) and the money.
3. Show it, then save it. Add &dry_run=1 to a revise: it answers the changes, total_before,
total_after, per_person_after and warnings, saves nothing, makes no version and costs no call.
The same body without it saves the next version and answers the same, plus changed, the links and the whole quotation.
POST /v1/quotations/2677056/revise&dry_run=1 {"hotels":[{"night":3,"hotel_id":1551}]}
→ {"ok":true, "dry_run":true,
"changes":[{"what":"hotel","night":3,"city":"Varanasi","from":"Hotel Elegance","to":"Palace on Ganges",
"text":"Night 3 (Varanasi) hotel: Hotel Elegance → Palace on Ganges"}],
"total_before":37500, "total_after":40870, "difference":3370, "per_person_after":13623, "warnings":[]}
What a revise takes (one or several in one call; everything not sent stays as it is):
| Said | Send |
|---|---|
| start from Delhi, drop at Varanasi airport | {"starting_point":"dilli","end_point":"Varanasi Airport"} · day 1, the last day, their day service and "Ex …" in the title follow; no end_point ends the trip where it starts |
| call it something else | {"title":"Kedarnath Yatra Ex Dehradun"} |
| change the hotel on night 3 / in Varanasi | {"hotels":[{"night":3,"hotel_id":1551}]} · {"city":"Varanasi","hotel":"ganges grand"} |
| Shane Avadh ki jagah Ramayana | {"replace":"shane avad","hotel":"ramayana suites"} |
| 2 double 1 triple · family room on night 3 | {"rooms":[{"type":"Double","count":2},{"type":"Triple","count":1}]} · {"room_type":"Family Room","night":3} |
| deluxe only in Ayodhya | {"tiers":[{"city":"Ayodhya","tier":"Deluxe"}]} (or "tier" for the whole trip) |
| breakfast only · dinner in Varanasi too | {"meal_plan":"CP"} · {"meals":[{"city":"Varanasi","meal_plan":"MAP"}]} |
| use innova · 2 dzire · tempo 12 seater | {"vehicle":"innova crysta"} · {"vehicle_id":1,"count":2} |
| one more day in Varanasi · remove Gaya | {"add_night":{"city":"Varanasi"}} · {"remove_city":"Gaya"} |
| 15 Dec · 3 adults 1 kid 8 yrs without bed | {"start_date":"2026-12-15"} · {"adults":3,"children":[{"age":8,"bed":false}]} |
| add Ramnagar Fort on day 3 · notes · inclusions | {"days":[{"day_no":3,"add_sightseeing":["Ramnagar Fort"]}],"notes":"…","inclusions":{"add":["Boat ride"]}} |
How the price moves. A hotel, room type or one night's meal plan moves the price by that hotel's own rate for that night (its season
on the date, else its room plan rate) against the hotel the tier would have used, times the rooms and extra beds, with your markup and GST.
A vehicle moves it by its day rate against the chart's car, for every car day. A hotel with no rate on file leaves that night at the tier price
and says so in warnings. The change is kept on later versions. A whole-trip tier, meal plan or party is priced off the chart as before.
Adding or removing nights prices the trip from its places on the rate card, and its days are written again.
4. History and undo. GET /v1/quotations/{ref}/versions lists each version with in_use, its total, the
difference and a summary such as v2: Night 3 (Varanasi) hotel: Hotel Elegance → Palace on Ganges, +₹3,370.
POST /v1/quotations/{ref}/undo puts the version before the one in use back in use and answers it like /full;
send its client_url. A link without &version= follows the one in use. Past version 1 it is 409 nothing_to_undo.
5. Options for WhatsApp forms. GET /v1/quotations/{ref}/options&for=hotel&night=3 (or for=vehicle,
room_type, meal_plan, starting_point, end_point; night or city where it applies)
answers up to 10 rows, each with an id, a title of at most 24 characters, a description of at most 72
(Deluxe · −₹3,450), price_delta in the quotation's currency and current. Rows with no rate on file say so.
Approve and webhooks. POST /v1/quotations/{ref}/approve puts that version in use, marks it sent and locks its days;
a change after it is a revise, which makes a new version. Webhooks quotation.viewed, quotation.accepted and
quotation.change_requested tell you what the client did on the link, with quote_ref, group and version.
POST /v1/quotations/{ref}/send {"channel":"email","message":"…","to":"…"} approves first if needed
→ {"ok":true,"channel":"email","sent_at","approved_at","delivery":{"to","status":"sent"},"client_url","pdf_url",…}
POST /v1/quotations/{ref}/send {"channel":"whatsapp","message":"…","phone":"+91…"} message defaults to the quote's whatsapp_text
GET /v1/quotations/{ref}/status {"client_state":"draft|sent|viewed|accepted|declined|changes_requested","change_request_text",
"declined_reason","viewed":{"count","last_at"},"approved_at","short_days",…}
GET /v1/quotations&client_state=viewed,changes_requested&short_days=1&warnings=1&approved=0 what needs attention
POST /v1/quotations/{ref}/payment-link {"amount":25000} or {"percent":30} or {} for the balance
→ {"url","amount","currency","balance","expires_at"} expires_at: a day for Stripe, null for a Razorpay link
POST /v1/quotations/{ref}/confirm {} once a payment is recorded, or {"without_payment":true}
→ {"trip_id","trip_ref","trip_url","paid"} 409 no_payment when nothing is paid
GET /v1/trips/{trip_id}/vouchers each voucher has pdf_url (opens without a key)
POST /v1/trips/{trip_id}/vouchers/send {"channel":"email"|"whatsapp","message":"…"}
WhatsApp sends through your connected number's chat with the client: it needs a chat with that number, and free text only within 24 hours of their last message (unless the QR gateway is linked). A refusal says which.
Webhooks, each {"event","data"}; every quotation event's data carries quote_ref, quotation_id,
lead_id, group, version, client, title, total, currency,
client_url and at, plus:
quotation.sent | channel, sent_at |
quotation.viewed | open_count, first (the first open) |
quotation.accepted | trip_ref, by |
quotation.change_requested | message (what the client asked for) |
quotation.declined | reason, reason_code (plans, later, price, other), message |
quotation.confirmed | quotation_id, trip, client, email, title, start_date, total, currency |
payment.received | quotation_id, trip, client, amount, currency |
voucher.ready | trip_id, trip_ref, voucher, voucher_no, hotel, location, check_in, check_out, booking_ref, pdf_url |
6. Refusals to answer with. A change that cannot be placed answers {"ok":false,"code","message","field","suggestions":[…]}:
ambiguous (Did you mean Hotel Ganges Grand or Palace on Ganges?), not_found, invalid
(Hotel Shane Avadh is in Ayodhya, not Varanasi., This trip has nights 1 to 3.), so the bot asks instead of failing.
When no package fits, the one that fits runs a different length (a 5-night ask against a 9-night package), or it skips a place the request names (Chitrakoot asked, the package goes Ayodhya–Prayagraj–Varanasi), the trip is built for you:
curl -X POST "https://www.traveeplusworld.com/api/?path=/v1/quotations" -H "X-Api-Key: tvp_..." -H "Content-Type: application/json" \
-d '{"prompt":"Ramayan Yatra 5 nights 6 days, Ayodhya, Chitrakoot and Varanasi, real hotels, 2 adults, deluxe",
"client_name":"Rahul Sharma","consultant_name":"Keshav Sharma"}'
# → {"ok":true, "kind":"custom", "ai":"built", "title":"…", "hotels":[{"night_label":"Night 1-2","location":"Ayodhya","hotel_name":"…"}],
# "built":{"library_id":118,"reused":false,"itinerary_url":"…/customise?kind=mine&design=document&id=118"},
# "consultant":{"name":"Keshav Sharma"}, "warnings":[], "pdf_url":"…", …}
Real hotels on every stay. Any stay without a named hotel, on a package or a built trip, gets the best real hotel of the
quoted tier in that town from your catalogue. Hotels you send in hotels win over it.
When the AI cannot draft (switched off, or its usage limit reached), nothing named is dropped: the trip is built from the places
you named over the nights asked, priced from your rate card, with real hotels, and warnings says so.
Longer than any package. A 19-night Char Dham with only a 9-night package is built from that package's route, stretched to 19 nights across its stops, every day written out, and saved to your Itinerary Library.
Review. Every quotation the API makes starts as pending review on Leads → Quotation API. A person Approves or Rejects it
(with a note), or Improves it by typing what to change, which makes the next version in the same group. Only approved trips are reused for later requests;
quotations built by people in travee+ count as approved. Each row of GET /v1/quotations carries review {status, note, at}.
Most trip mistakes are warnings, not errors. A field that cannot be used (a tier that does not exist, an email that is not one,
a past date) is left out and named in warnings. A request that names no trip at all gets 200 with
{"ok": false, "message": "…what to send…"}, and nothing is drafted or saved for it. Refused outright: a missing or wrong key (401),
the daily limit (429), a body that is not JSON (400), a package that is not yours (404), and a field that would change the price wrongly (422):
an unknown meal_plan, a request_id with other characters, or a target below the net price (below_net).
GET /v1/quotations&group=CRM-ENQ-5521 → {"latest": {...}, "selected": {...}, "versions": [...]}
GET /v1/quotations → your quotations, newest first (limit up to 200; q, status, since;
include=failed adds calls that made none, with their message)
POST /v1/quotations/4956632/select → use this version instead of the newest
PUT /v1/quotations/4956632 → {"consultant_name":"Keshav Sharma","consultant_phone":"…","client_name":"…","client_email":"…","status":"sent"}
status is draft or sent (anything else is 422); the list takes limit, offset and answers has_more, next_offset
Editing a quotation. These reach a quotation the key made, or any one its maker could open and save in travee+
(one built in the quote builder too). {ref} is its quote number.
GET /v1/quotations/4956632/full → {"quotation":{"starting_point","start_date","pax_adults",…,"days":[…],"stays":[…],"client_url",…}}
PUT /v1/quotations/4956632/days the words of a day, price unchanged
{"days":[{"day_number":2,"title":"Ganga Aarti at Triveni Ghat","description":"Evening aarti on the ghats.","stay":"Rishikesh","meals":"Breakfast, Dinner",
"service":"Private vehicle: Haridwar -> Rishikesh"}]} service is the day's Transportation line; "" takes it off
POST /v1/quotations/4956632/revise priced again as a NEW version (new quote_ref, same group); the old one is kept
{"starting_point":"Dehradun"} a new starting point
{"start_date":"2027-03-15","adults":4,"children":1} new dates and party (rooms and vehicles are refitted)
{"towns":[{"name":"Haridwar","nights":1},{"name":"Rishikesh","nights":3}]} new places and nights
{"tier":"Premium","meal_plan":"MAP"} hotels and meals
{"hotels":[{"name":"Ganga Kinare","city":"Rishikesh"}],"vehicles":[{"name":"Innova Crysta","count":1}]}
anything POST /v1/quotations takes; what is not sent is kept
The answer to revise is the same as POST /v1/quotations: the new quote_ref, total, hotels, links and
whatsapp_text. Change a revised version's day words with /days on its new quote_ref.
The client_url of any version opens the version in use, so a link already sent shows the newest price.
Each row of the list carries quote_ref, title, client {name, email, phone},
start_date, total, currency, status, consultant {name, phone}
(who prepared it), updated_at (when it last changed), version, selected,
built (the saved itinerary and its itinerary_url, for a built trip) and the four links:
client_url, pdf_url, print_url, edit_url.
Every call, with its request and response, is listed in Leads → Quotation API.
Names, places, days and images of what your key's desk can quote. The lists carry no rates; one hotel by id
(/v1/catalog/hotels/{id}), a package's rate-chart and its starting points' price_modifier carry your
net rates, so keep those answers on your server.
GET /v1/catalog/packages&q=kerala&place=Munnar&nights=5&itinerary=1
GET /v1/catalog/packages/51 (or its slug: days, hotels, inclusions, images)
GET /v1/catalog/hotels&city=Dehradun&tier=Deluxe
GET /v1/catalog/vehicles&seats=7
Filters: q, country, limit (up to 200, default 50) and offset on every list; each answers its total.
A key made by a desk admin or company owner can add and edit its own catalogue, with the same checks as the admin screens. A desk adds only in its own countries; a company's changes stay in its own copy.
POST /v1/catalog/hotels {"name":"Ganga View","category":"Deluxe","location":"Rishikesh","city":"Rishikesh",
"state":"Uttarakhand","country":"India","room_type":"Double Room","room_price":4200}
PUT /v1/catalog/hotels/{id} (send only what changes)
DELETE /v1/catalog/hotels/{id} (switches it off)
GET /v1/catalog/hotels/{id} one hotel with its rooms, rates, seasons and photos (the ids below)
POST /v1/catalog/hotels/{id}/rooms a room category and its rates {"room_category","meal_plan","room_price","extra_bed_price",…}
PUT /v1/catalog/hotel-rooms/{id} · DELETE /v1/catalog/hotel-rooms/{id}
a rate is for the meal_plan sent (EP, CP or MAP): {"meal_plan":"CP","room_price":4500}
sets that plan's column on the rate sheet; fields not sent keep that plan's value.
POST for a category that exists sets that meal plan's rate the same way (200)
GET /v1/catalog/hotels/{id} answers rooms[].plans {EP,CP,MAP}: the rates the sheet shows
POST /v1/catalog/hotels/{id}/seasons {"label":"Peak","start_date","end_date","room_price","hotel_room_id"}
add "meal_plan" (EP, CP or MAP, default MAP); the same room, plan and dates again updates it
PUT /v1/catalog/hotel-seasons/{id} · DELETE /v1/catalog/hotel-seasons/{id}
POST /v1/catalog/hotels/{id}/images {"url":"https://…/front.jpg"} · DELETE /v1/catalog/hotel-images/{id}
PUT /v1/catalog/hotel-images/{id} {"cover":true,"tag":"room"}
The whole rate sheet in one call (replaces the hotel's rooms, plans and seasons with exactly this; checked whole first,
so a sheet with one bad cell is refused and nothing is half-saved):
PUT /v1/catalog/hotels/{id}/rate-sheet
{"seasons":[{"label":"Peak","start_date":"2027-05-01","end_date":"2027-06-30"}],
"rooms":[{"room_category":"Double Room","room_type":"Double","max_adults":3,"max_children":2,"max_extra_beds":1,
"plans":{"EP":{"room_price":4000,"extra_bed_price":1000},"CP":{"room_price":4500},"MAP":{"room_price":6500}},
"cells":[{"EP":{"room_price":5000},"MAP":{"room_price":7500}}]}]} cells[n] = prices in seasons[n]
GET /v1/catalog/hotels/{id}/log who changed what, newest first
Many hotels at once
POST /v1/catalog/hotels/bulk {"rows":[{"name","location","country","category","room_type","room_price"},…]}
POST /v1/catalog/hotels/status {"ids":[4,5,6],"active":false} switch off (true switches on)
POST /v1/catalog/hotel-rates/bulk {"ids":[4,5],"mode":"pct","value":10,"round":10} +10% on every room, plan and season
("mode":"amt" adds an amount to room prices; "which":"room" leaves child and extra-bed prices)
Selling
POST /v1/catalog/hotel-blackouts {"hotel_id":4,"kind":"stop_sale","from_date":"2027-01-10","to_date":"2027-01-12","reason":"…"}
GET /v1/catalog/hotel-blackouts · DELETE /v1/catalog/hotel-blackouts/{id}
"blackout" closes it for your desk only; a stop-sale closes it for every desk and only the platform owner lifts it
POST /v1/catalog/allotments {"hotel_id":4,"start_date","end_date","rooms_per_night":5,"release_days":7,"room_type":"Double Room"}
GET /v1/catalog/allotments · /allotments/{id} (night by night) · /allotments/check · PUT|DELETE /allotments/{id}
Hotel owners and packages
GET /v1/catalog/hotel-owners · POST {"name","email","phone","company_name","hotel_ids":[4]} · PUT /hotel-owners/{id} · POST /hotel-owners/{id}/invite
POST /v1/catalog/packages/{id}/hotel-tiers · POST …/hotel-tiers/autofill · PUT|DELETE /v1/catalog/hotel-tiers/{id}
POST /v1/catalog/vehicles {"name":"Tempo Traveller 12","capacity":12,"country":"India","day_rate":4500}
PUT /v1/catalog/vehicles/{id} · DELETE /v1/catalog/vehicles/{id} (send only what changes; leaving day_rate out keeps it)
GET /v1/catalog/vehicles/{id} one vehicle with its place rates and seasons
POST /v1/catalog/vehicles/{id}/rates {"label":"Rishikesh pickup","country","state","city","price_delta"}
PUT /v1/catalog/vehicle-rates/{id} · DELETE /v1/catalog/vehicle-rates/{id}
PUT /v1/catalog/vehicles/{id}/seasons {"seasons":[{"label":"Peak","start_date","end_date","day_rate"}]} (replaces the list)
POST /v1/catalog/packages {"title":"Rishikesh Break","destination":"Rishikesh","duration_nights":2,"duration_days":3}
PUT /v1/catalog/packages/{id} · DELETE /v1/catalog/packages/{id}
POST /v1/catalog/packages/{id}/itinerary {"title":"Arrive in Rishikesh","description":"…","stay_location":"Rishikesh"}
POST /v1/catalog/packages/{id}/accommodations {"night_from":1,"night_to":2,"location":"Rishikesh","hotel_id":123}
POST /v1/catalog/packages/{id}/inclusions {"kind":"inclusion","text":"Breakfast daily"}
POST /v1/catalog/packages/{id}/images {"url":"https://…/cover.jpg"}
POST /v1/catalog/packages/{id}/rate-chart {"min_persons":2,"price_deluxe":9000}
Edit a package piece by piece — GET /v1/catalog/packages/{id} gives the ids: itinerary[].id, hotels[].id,
inclusion_items[].id, image_items[].id, starting_points[].id
PUT|DELETE /v1/catalog/package-days/{id} {"title":"Ganga Aarti evening","description":"…","stay_location":"Rishikesh","meals":"…"}
PUT|DELETE /v1/catalog/package-stays/{id} {"night_from":1,"night_to":2,"location":"Rishikesh","hotel_id":123,"meal_plan":"MAP"}
PUT|DELETE /v1/catalog/package-inclusions/{id} {"kind":"inclusion","text":"Breakfast and dinner daily"}
DELETE /v1/catalog/package-images/{id} · PUT /v1/catalog/package-photo {"ids":[51,52],"hero_image":"https://…"}
POST /v1/catalog/packages/{id}/write-days write each day's words from your own quotations and the catalogue
POST /v1/catalog/packages/{id}/transport {"day_number":2,"vehicle_name":"Innova Crysta","service_text":"Rishikesh to Mussoorie"}
PUT /v1/catalog/packages/{id} {"category":"Pilgrimage","trip_type":"Family","end_point":"Dehradun"} the package's type and end
Starting points
GET /v1/catalog/starting-points · POST {"name":"Dehradun"} · PUT|DELETE /v1/catalog/starting-points/{id}
POST /v1/catalog/packages/{id}/starting-points {"starting_point_id":7,"price_modifier":1500} + ₹1,500 from there
DELETE /v1/catalog/package-starting-points/{id}
Package types
GET /v1/catalog/categories · POST {"name":"Pilgrimage","description":"…"} · PUT|DELETE /v1/catalog/categories/{id}
Pricing
GET|PUT /v1/catalog/packages/{id}/vehicle-prices {"prices":{"Innova Crysta":3500,"Swift Dzire":2200}} a car's day price for this package (0 = rate card)
GET|PUT /v1/catalog/vehicle-package-prices one car's price across many packages (the Vehicles sheet)
GET|PUT /v1/catalog/packages/{id}/rate-chart/hand {"hand_edited":true} keep a hand-made price chart from being rebuilt
PUT /v1/catalog/packages/{id}/cost-model {"cost_model":{…},"rate_chart":[…],"duration_nights":5} GET /v1/catalog/cost-models lists them
GET|PUT /v1/catalog/rate-card · PUT /rate-card/place · PUT /rate-card/vehicle · POST /rate-card/reprice {"place":"Rishikesh","go":1}
Selling
GET|POST /v1/catalog/departures {"package_id":51,"dates":["2027-03-01"],"seats":20,"price_per_person":15000} · PUT|DELETE /departures/{id} · GET /departures/{id}/manifest
POST /v1/catalog/package-copies {"package_id":51} · POST /v1/catalog/packages/{id}/approve · POST /v1/catalog/packages/import · PUT /v1/catalog/package-desk
GET /v1/catalog/admin-packages (every package incl. off) · /v1/catalog/package-health (what each one is missing)
Vehicles
POST /v1/catalog/vehicles/sync many vehicles at once
GET|POST /v1/catalog/service-rates · PUT /v1/catalog/service-rates/{id} transfer and sightseeing rates
GET /v1/fleet · POST|PUT /v1/fleet/vehicles[/{id}] · POST|PUT /v1/fleet/drivers[/{id}] your own cars and drivers
Renaming a vehicle. Rate charts and packages name their vehicle, so a rename is refused (409, with how many use it) while they do.
Send "rename_everywhere": true to rename it in the charts and packages your key may change as well, or change its description instead.
Editing a vehicle never changes quotations already made.
A new package with a rate-chart row can be quoted with POST /v1/quotations straight away.
Each change answers {"ok": true, "id": …} and is listed in Leads → Quotation API.
A supplier can sit under one super vendor (a hotel chain, cab union or ground agent) on the same desk, one level deep. The super vendor gets a copy of every booking request sent to its sub-vendors, and either can answer it. Admin keys only.
GET /v1/vendors&all=1 every supplier; each row has parent_id, parent_name and sub_count
GET /v1/vendors&parent=12 only the suppliers under super vendor 12 (also kind=transport, q=…)
POST /v1/vendors {"name":"Himalaya Cab Union","kind":"transport","email":"union@…","phone":"…"}
POST /v1/vendors {"name":"Shimla Taxi Co","kind":"transport","parent_id":12}
PUT /v1/vendors/34 {"parent_id":12} move under a super vendor ("parent_id": null takes it out)
PUT /v1/vendors/34 {"is_active":false} retire (a super vendor with active sub-vendors answers 409)
GET /v1/vendors/12/statement {"members":[{"name","bills":[…],"totals":{"INR":{"billed","balance"}}}],"totals":{…}}
Kinds: hotel, transport, dmc, guide, activity, airline, other. A sub-vendor cannot have sub-vendors, and a supplier cannot be its own super vendor (422).
Every POST /v1/quotations answer carries whatsapp_text: the priced trip as a ready message (party, hotels, transport,
total, per person and the client link), so your own WhatsApp bot can send it as it is.
Chats on your travee+ WhatsApp numbers can be priced and answered directly. {phone} is the number in digits with the country code;
add &account=ID for a number linked by QR.
GET /v1/whatsapp your chats, newest first
GET /v1/whatsapp/919800000777 one chat's messages
POST /v1/whatsapp/919800000777/price {} price from the client's own messages
POST /v1/whatsapp/919800000777/price {"adults":4,"children":1,"tier":"Premium","nights":5,"rooms":2,
"vehicles":[{"name":"Innova Crysta","count":1}],"start_date":"2027-01-10"}
POST /v1/whatsapp/919800000777 {"body":"<the whatsapp_text you got back>"}
Pricing takes the same fields as POST /v1/quotations (meal_plan, child_ages, extra_beds, package_id, prompt…), files the quotation
against the chat's lead, and keeps each run as a new version of the group wa:<phone>. Nothing is sent until you post the reply.
WhatsApp allows free text only within 24 hours of the client's last message.
A trip is a quotation the client accepted; {id} is the number in edit_url (trip?id=…) or the id a quotation call answered. Admin keys.
GET /v1/trips every quotation with its status (keep "confirmed" for trips)
GET /v1/trips/40675 stays, payments, travellers, services, crew, booking requests
GET /v1/trips/40675/vouchers {"trip_ref","guest","pax","vouchers":[{"voucher_no":"VCH-…-01","hotel_name","check_in_date",
"nights","rooms","meal_plan","booking_status","booking_ref"}],"transport","itinerary"}
PUT /v1/trip-stays/88120 {"booking_status":"confirmed","booking_ref":"HX-5521","cost_price":14500}
POST /v1/trips/40675/booking-requests {"target":"stay","target_id":88120,"to_email":"res@hotel…","vendor_id":12}
POST /v1/trips/40675/services {"kind":"transfer","description","service_date","start_time","from_place","to_place","vendor","cost"}
POST /v1/trips/40675/cancel cancel the trip
GET /v1/trips/40675/invoice {"invoice_no","invoice_date","gst":{…},"tcs":{…},"buyer_gstin","pay":{…},"payments":[…]}
POST /v1/trips/40675/invoice raise the tax invoice (a confirmed trip; numbered INV/<year>/n)
PUT /v1/trips/40675/buyer-gstin {"buyer_gstin":"07ABCDE1234F1Z5"}
POST /v1/trips/40675/credit-note the credit note for a cancelled, invoiced trip (once; the same number after)
POST /v1/trips/40675/payments {"amount":25000,"mode":"upi","reference":"…","paid_on":"2027-01-02"}
DELETE /v1/trip-payments/991 remove a payment recorded by mistake
POST /v1/trips/40675/refunds {"amount":5000,"mode":"bank","paid_on":"2027-01-05","note":"…"}
POST /v1/trips/40675/supplier-payments money paid to a hotel or supplier for this trip
POST /v1/quotations/9122993/payment-link a payment link for the client · GET …/payment-status
GET /v1/collections · /v1/instalments what clients owe, and when
GET /v1/payables · /v1/bills what you owe suppliers; POST /v1/bills, PUT|DELETE /v1/bills/{id}, POST /v1/bills/{id}/payments
Each takes the same fields as the trip page in travee+ and answers its errors (409 when a trip is not confirmed yet, 422 for a field that does not fit).
GET /v1/designs your quotation designs (a theme per DMC or destination)
POST /v1/designs · PUT|DELETE /v1/designs/{id}
PUT /v1/quotation-designs/40675 {"design_id":7} quote one trip in that design
GET /v1/branding · PUT /v1/branding name, logo, colours, letterhead, contact
GET /v1/staff · POST /v1/staff · PUT /v1/staff/{id} every staff login and role (the platform owner's key only)
GET /v1/team · PUT /v1/team/{id} agents under you
GET /v1/dmc-team · POST · PUT|DELETE /v1/dmc-team/{id} a DMC's own team
A key acts as the admin who made it, so it sees and changes exactly what that admin can on screen: a DMC's key reaches only its own company, a desk's only its desk.
| Link | For | Opens | Login |
|---|---|---|---|
lead_url | Agent | The lead: details, mail thread, tasks | Yes |
quote_url | Agent | The quote builder, filled from the lead | Yes |
edit_url | Agent | An existing quotation | Yes |
client_url | Customer | The quotation, with Accept and Pay | No |
pdf_url | Anyone | The same quotation, ready to save as PDF | No |
Open them in a new tab. Don't put travee+ in an iframe: sign-in won't work there. A signed-out agent is sent to sign in and brought straight back to the page they clicked.
Every 5–15 minutes, poll GET /v1/leads&updated_since=<the time of your last poll>: it brings new leads and every lead whose status,
notes, follow-up or agent changed. Page with offset while has_more is true. Or fetch one lead when an agent opens it in your CRM.
For quotations made by API, add a webhook for quotation.ready in Admin → Webhooks and you are told as each one is built
(what it sends); no polling needed.
Every error is JSON: {"ok":false, "code":"invalid", "message":"…", "field":"meal_plan"}. field is there when one
field is at fault; error carries the same message for integrations built before. code is unauthorized,
forbidden, not_found, conflict, gone, invalid, bad_request, rate_limited or server_error,
or a narrower one such as invalid_json, key_owner_inactive, invalid_meal_plan or below_net.
| Code | Meaning |
|---|---|
202 | Not an error: that request_id is still being built. Wait retry_after seconds and read status_url; do not send it as a new request. |
400 | The body is not a JSON object (invalid_json). |
401 | No key, a wrong key, a revoked key, or the login that made it is switched off (key_owner_inactive). |
403 | The key may not do this (a team login's key, a PDF link whose k does not fit). |
404 | The lead, package or quotation does not exist or belongs to another desk or company. A write to another desk's record answers 404 too. |
409 | It clashes with what is there (a rename still in use, a record that already exists), or a request_id or Idempotency-Key was already used for a different body (request_id_reused). |
422 | A field is missing or invalid; field and the message name it. |
429 | The key's daily limit of leads, quotations and changes (1,000 by default) is used up. Retry-After (and retry_after) says in how many seconds it starts again, at the server's midnight; reads still work. |
Need help connecting? Talk to us.