- Home
- Developers
Build with the TravoPilot API.
A modern REST API, prebuilt connectors and webhooks that let your team embed the TravoPilot platform into your own stack in days, not months.
Everything you need to integrate TravoPilot.
TravoPilot connects to your booking engine, GDS, CRM and inventory through our REST API or prebuilt connectors. Once connected, you’re live across every channel your customers and agents use.
Our API is designed for travel. We know what a PNR looks like, how fare rules work, and what data your systems produce — so you spend less time mapping and more time shipping.
curl -X POST https://api.travopilot.com/v1/sessions \
-H "Authorization: Bearer sk_live_..." \
-H "Content-Type: application/json" \
-d '{
"channel": "web_widget",
"traveller_id": "t_8f2a...",
"context": {"pnr": "7QF2K1"}
}'
// 201 Created
{
"session_id": "ses_1a2b3c",
"channel": "web_widget",
"ai_ready": true,
"widget_url": "https://cdn.travopilot.com/..."
}
API Reference
A REST API that follows standard conventions — JSON bodies, Bearer auth, predictable error shapes, and versioned endpoints under /v1/.
Sessions
Create and manage AI conversation sessions across any channel.
View reference →Messages
Send messages, retrieve AI responses and manage conversation history.
View reference →Travellers
Create and update traveller profiles for personalised AI conversations.
View reference →Bookings
Feed live booking data so the AI can answer questions accurately.
View reference →Analytics
Pull deflection rates, CSAT and conversation metrics into your own dashboards.
View reference →Authentication
API keys, rotation, scopes and IP allowlisting for secure integrations.
View reference →SDKs & Client Libraries
Official libraries that wrap the REST API with typed models, automatic retries and built-in pagination.
Node.js
Full TypeScript types. Works in Next.js, Express and any Node runtime.npm install @travopilot/sdk
Python
Async support, Pydantic models and a Django-friendly package structure.pip install travopilot
PHP
Composer package with PSR-18 HTTP client support for Laravel and Symfony.composer require travopilot/sdk
Prebuilt Connectors
Connect your existing travel stack in minutes. No custom integration code required.
Need a connector we don’t have? Talk to our engineering team — we build custom connectors for Business plan customers.
Webhooks
Get notified in real time when conversations end, tickets are resolved, or automations complete — so you can update your own systems instantly.
conversation.ended
Fires when an AI conversation closes. Payload includes the full transcript and resolution type.
ticket.resolved
Fires when a support ticket is resolved, either by AI or by an agent.
automation.completed
Fires when a background automation (PNR sync, refund check) finishes running.
Webhooks are HTTPS POST calls with a signed X-TravoPilot-Signature header. Verify the signature and respond with 200 within 10 seconds.
System Status
Current uptime and latency for all TravoPilot services.
For real-time status and incident history, contact our team.
Ready to integrate?
Get API access, talk to an engineer, or book a 30-minute technical walkthrough.