API, webhooks and integrations
Tour booking API for developers and resellers
Ushba has a REST API for products, availability, prices and bookings, signed webhooks for every booking event, and an OCTO-compatible endpoint so resellers that already speak OCTO connect without custom work. Connectors send invoices and payments to Xero, QuickBooks, Zoho Books or Odoo, and guests and bookings to HubSpot, Salesforce, Zoho CRM or Odoo CRM.
POST /api/supplier/v1/bookings
Idempotency-Key: 7f9c…
{
"option": "opt_9b2…",
"date": "2026-12-18T10:00",
"units": { "adult": 2 }
}
201 Created
{ "status": "ON_HOLD", "expiresAt": "…" }What you can build
Your own booking flow
Read the catalogue and live availability, hold seats, confirm with payment, issue tickets.
Sync with your systems
Push products and schedules from an existing system, or pull bookings into a back office.
React to events
Booking created, confirmed, changed, cancelled, redeemed; payment received or refunded.
API conventions
| Topic | Behaviour |
|---|---|
| Authentication | API keys with scopes, separate live and test modes |
| Versioning | A version in the path; breaking changes only in a new version |
| Pagination | Cursor-based on every list |
| Idempotency | An Idempotency-Key header on every write; retries are safe |
| Errors | RFC 9457 problem details with a stable code |
| Rate limits | Per key, with headers telling you what is left |
| Bookings | Two phases: reserve holds seats and expires on its own, confirm makes the sale |
| Specification | OpenAPI 3.1, published with a reference viewer |
Webhooks
Register an endpoint, choose events, and Ushba sends each one signed with a timestamped HMAC. Failed deliveries are retried with backoff; you can see every delivery, its response and replay it from the panel. Bursts of changes to the same object are coalesced.
POST /api/supplier/v1/bookings
Idempotency-Key: 7f9c…
{
"option": "opt_9b2…",
"date": "2026-12-18T10:00",
"units": { "adult": 2 }
}
201 Created
{ "status": "ON_HOLD", "expiresAt": "…" }OCTO support
OCTO is an open API standard for tours, activities and attractions. Ushba runs an OCTO supplier endpoint with the core capabilities plus pricing, content, pickups and questions. Each reseller gets its own key, so you can revoke one without touching the others. See OCTO resellers.
Frequently asked questions
Is the API included in every plan?
What is OCTO?
Is there a sandbox?
Related
- OCTO resellersOne OCTO endpoint, one key per reseller, live availability for all.
- AccountingInvoices, payments, credit notes and payouts in Xero, QuickBooks, Zoho Books or Odoo.
- CRMGuests as contacts, bookings as deals, consent in step both ways.
- APIAn API is a defined way for two software systems to exchange data, such as availability and bookings, without a person re-typing it.
Run every channel from one calendar
Create your account, add a tour and take your first booking today. No card needed to start.