Skip to content
New The trip builder: day-by-day itineraries with maps, checks and a branded PDF
Tourtify

Integrations

Public API

Connect your own systems: read tours and live availability, price and create bookings, and sync every booking into your CRM, accounting or BI tools. API keys with scopes, an OpenAPI description, and webhooks for changes as they happen.

Start free trial Included on Scale

Who it's for

Why operators use Public API

Operators with their own systems or developers: CRMs, accounting, business intelligence or a custom app.

Highlights

  • Read tours and live availability
  • Price and create bookings from your own systems
  • Sync every booking into your CRM, accounting or BI tools
  • API keys with scopes, so each connection only gets what it needs
  • An OpenAPI description, plus webhooks for changes as they happen

Good to know

  • Developer documentation is in the help centre.

What you can build

The Public API lets your own software work with your Tourtify business: read your tours and live availability, get a quote for a group on a date, create bookings and cancel them, and read bookings back for your CRM, accounting or reporting tools. Typical uses are a custom booking flow inside an app, a kiosk, a partner portal, or a nightly export into a data warehouse.

The API is described in an OpenAPI document, so you can generate a client in most languages, explore the endpoints in standard tools and keep your integration in step with ours.

Keys with only the access they need

Each API key has scopes: reading the catalogue (tours, availability and quotes), reading bookings, or writing bookings. Give a reporting tool a read-only key and a booking app a key that can create bookings, and revoke either without touching the other.

Requests are rate limited per key to keep your business fast for everyone, and every booking made through the API goes through the same availability, pricing, discount and payment rules as your website.

Selling through distribution platforms

If you sell through resellers or distribution platforms, Tourtify also speaks OCTO, the open standard for tours and activities connectivity, through the Channel manager plugin, with its own endpoints for products, availability and bookings. A reseller that supports OCTO can connect without a custom integration.

To hear about changes as they happen rather than polling, pair the API with the Webhooks plugin: create bookings through the API and receive confirmations, payments and cancellations as signed webhook events.

Example: a booking from your own app

Your app sends the key as a bearer token in the Authorization header. It lists your published tours, page by page (50 to a page by default, up to 100), then asks for availability on one of a tour's options between two dates and gets each departure with its status. It sends the departure and the group, such as two adults and one child, to the quotes endpoint and shows the traveller the price your website would charge.

To book, it posts the departure, the group (by unit type, or by its code such as adult), the traveller's name and email, and optionally a phone, a language, an amount already paid in minor units, a note and an agent code. The booking is recorded with API as its channel, and the traveller gets your usual confirmation email unless you ask for none. Cancelling needs the booking reference and a reason.

Send an Idempotency-Key header when you create or cancel a booking. If the network drops and your app sends the same request again with the same key, it gets the first answer back instead of a second booking.

Keeping another system in sync

A CRM, accounting or reporting tool can read bookings with an updated_since filter and a status filter, newest change first, so each run fetches only what changed since the last one. Each booking comes with its status, total, what has been paid and what has been refunded. Checkouts still waiting for payment are left out, so your reports only see real bookings.

Errors come back as standard problem details with a stable code, so your software can tell a missing departure from a validation error or a paused account without reading the message text.

Setting up Public API

  1. 1Switch on Public API. Open Plugins in your console and turn it on (Scale plan).
  2. 2Create an API key. Name it after the system that will use it and choose its scopes.
  3. 3Read the OpenAPI description. Download it or point your API tool at it to explore every endpoint.
  4. 4Test with a quote. List tours, check availability for a date and request a quote before creating a booking.
  5. 5Add webhooks. Switch on Webhooks to be told about bookings and payments as they happen.

Integrations

How integrations plugins fit in

Integration plugins connect Tourtify to the rest of your business: CRMs, accounting, automation tools and your own software.

  1. 1

    Switch it on

    Open Plugins in your console and turn it on. No code and nothing to install.

  2. 2

    Make your choices

    Adjust the settings to match how your business works, or keep the defaults.

  3. 3

    It works everywhere it should

    Your website, checkout, emails and console pick it up straight away.

FAQ

Public API: questions

Which plans include the Public API?

The Scale plan. Webhooks are a separate plugin, so you can use them with or without the API.

Do API bookings follow my prices and rules?

Yes. Availability, prices, discounts, deposits and payments work exactly as they do on your website.

Can I give a partner read-only access?

Yes. Create a key with only the catalogue scope; it can read tours, availability and quotes but not bookings.

Which tours does the API show?

Only published tours. Drafts, archived tours and sample tours are not listed, priced or sold through the API, just as over OCTO.

What if my app sends the same booking twice?

Send an Idempotency-Key header with each booking request. A retry with the same key and the same request gets the original response back; the same key with a different request is refused.

Can bookings made through the API be credited to an agent?

Yes. With the Agents plugin on, send the agent's code with the booking and it is attributed to that agent.

Does the API still take bookings if my subscription lapses?

No. While a business is paused it takes no new bookings, and that includes bookings through the API.

Does the OpenAPI description show the Tourtify name?

Not on your own team login address with White label: there the description carries your business's name instead.

Which plans include Public API?

Public API is available on Scale, at no extra cost.

How do I switch on Public API?

In your Tourtify console, open Plugins, find it in the list and switch it on. Its settings open straight away, and you can switch it off again at any time.

Do I need a developer?

Only to build the system on the other side. Inside Tourtify, everything is set up from the console.

Does Public API work with my other plugins?

Yes. Every plugin is built and maintained by Tourtify, so they work together: discounts, deposits, vouchers and fees all add up correctly at checkout.

Start selling tours direct

Try Tourtify free for 30 days. Add your tours, pick a theme and take your first booking today.