Developer Hub

Build Powerful Integrations with Triviyo

A REST API with scoped API keys, signed webhooks, iCal feeds and an embeddable booking widget.

Get Started in Minutes

Three ways to integrate Triviyo into your platform

Embedded Widget

Add our booking widget anywhere on your site with a simple script tag. No backend required.

<script src="https://triviyo.com/widget.js"></script>

Webhooks

Real-time notifications for bookings, payments, and more. Keep your systems in sync.

POST https://your-app.example/webhook

iCal feeds

Publish your booking calendar as a read-only iCal feed that Google Calendar, Outlook or Apple Calendar can subscribe to.

https://triviyo.com/api/ical/<your-feed-token>

Webhook Events

Configure webhooks in your dashboard to receive real-time notifications for these events:

BOOKING_CREATED

Triggered when a new booking is created

BOOKING_UPDATED

Triggered when a booking changes, for example its status or time

BOOKING_CANCELED

Triggered when a booking is cancelled

PAYMENT_SUCCEEDED

Triggered when a payment is successful

PAYMENT_FAILED

Triggered when a payment fails

Example Payload

{
  "event": "BOOKING_CREATED",
  "timestamp": "2026-10-04T10:00:00.000Z",
  "data": {
    "booking": {
      "id": "clx…",
      "bookingNumber": "TRV-…",
      "status": "CONFIRMED",
      "guestEmail": "[email protected]",
      "guestName": "Alex Guest",
      "totalParticipants": 2,
      "total": "120.00",
      "currency": "EUR",
      "createdAt": "2026-10-04T10:00:00.000Z"
    },
    "experience": {
      "id": "clx…",
      "title": "Sunset kayak tour"
    },
    "timeSlot": {
      "id": "clx…",
      "startTime": "2026-10-10T17:00:00.000Z",
      "endTime": "2026-10-10T19:00:00.000Z"
    }
  }
}

REST API

Read and create bookings, sync customers and subscribe to booking and payment events with scoped API keys. Available on the Professional plan and above.