# 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.

Canonical: https://opentourbase.com/features/api-webhooks  
Updated: 2026-11-15

## 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 |

*How the operator API behaves*

## 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.

## OCTO support

[OCTO](https://opentourbase.com/glossary/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](https://opentourbase.com/integrations/octo).

## Business software connectors

- [Accounting: Xero, QuickBooks, Zoho Books, Odoo](https://opentourbase.com/integrations/accounting): Invoices, payments, credit notes and payouts
- [CRM: HubSpot, Salesforce, Zoho CRM, Odoo CRM](https://opentourbase.com/integrations/crm): Contacts, deals and consent
- [Payment gateways](https://opentourbase.com/integrations/payment-gateways): Cards with 3-D Secure, USDT
- [WordPress plugin](https://opentourbase.com/integrations/wordpress): Blocks and shortcodes

## Frequently asked questions

### Is the API included in every plan?

API access is available on the plans that include it; the [pricing page](https://opentourbase.com/pricing) shows which. Test mode is available to try it.

### What is OCTO?

Open Connectivity for Tours, Activities and Attractions: a free, open API specification for exchanging products, availability and bookings. [More](https://opentourbase.com/glossary/octo).

### Is there a sandbox?

Yes. Every account has a test mode with its own keys; test bookings never reach real channels or payments.
