Introduction
Welcome to the OnDgo Agency API developer documentation.
The Agency API lets travel agencies, merchants, hotels, and planners search, price, book, and cancel flights against OnDgo's connected GDS providers, and pay for those bookings out of their own OnDgo wallet.
What you can do
- Search flights across connected providers.
- Price extras (baggage, seat selection) for a selected offer.
- Book a selected offer, debiting your agency wallet automatically.
- Cancel a completed booking, with an automatic refund on a successful cancellation.
- Subscribe to webhooks so your own systems are notified the moment a booking completes or fails, instead of polling.
Who this is for
This API is for agencies, merchants, hotels, and planners with an approved OnDgo B2B integration — not for individual travelers. If you're building a consumer-facing travel app for your own customers, this is the right starting point; if you're an individual traveler looking to book a flight, use the OnDgo consumer app instead.
Next steps
- Apply as an agency
- Generate an API key
- Authenticate your first request
- Understand sandbox vs. production
Once you're authenticated, head to the API Reference to try real endpoints directly from this site.