Developer Documentation

Travolyo Partner Integration API

Search local hotels, activities, and packages programmatically. REST · JSON · OpenAPI 3.1 · version 1.0.0.

Auth API key Format JSON Spec OpenAPI 3.1 Base /api/partner/v1

1. Overview

The Partner API lets approved integrations search, price, and book Travolyo's locally managed hotels, activities, and holiday packages over REST/JSON.

  • Discover — search inventory by destination and date.
  • Inspect — retrieve the selected item and its media.
  • Price and book — confirm live availability, prebook, then create an idempotent booking.

Base URL: https://travolyo.com/api/partner/v1 · Support: [email protected]

2. Conventions

TopicRule
TransportHTTPS/HTTP as configured. Write requests use JSON.
DatesISO-8601 YYYY-MM-DD; check_out must follow check_in.
MoneyPrices include a numeric amount and ISO 4217 currency.
ResponseEvery response uses success, data, and optional meta.
Response envelope
{ "success": true, "data": { ... }, "meta": { "total": 12 } }
{ "success": false, "message": "...", "code": "bad_request", "errors": ["..."] }

3. Authentication

Every endpoint requires a Partner API key in the auth-api-key header. Test keys are available from the Partner Portal; Travolyo issues live keys after approval.

curl https://travolyo.com/api/partner/v1/meta/ping \
  -H "auth-api-key: your_partner_key"

Missing, expired, or non-partner keys return 401 unauthorized.

4. Integration flow

  1. Call a product search endpoint.
  2. Use the item ID to fetch full details.
  3. Call availability with dates and party size.
  4. Optionally prebook to lock a quote, then create the booking with an idempotency key.
  5. Use bookings, credit, and webhooks endpoints to manage the lifecycle.
This API exposes only products configured in this project: hotels, activities, and holiday packages. Rentals are not part of the Partner API.

5. Endpoint reference

Search

MethodPathDescription
POST/api/partner/v1/activities/searchSearch a destination for activities on a date
POST/api/partner/v1/hotels/searchSearch a destination for available hotels (with a "from" price)
POST/api/partner/v1/packages/searchSearch a destination for holiday packages (with a "from" price)

Catalog

MethodPathDescription
GET/api/partner/v1/activities/{id}Activity detail (full content & photos)
GET/api/partner/v1/hotels/{id}Hotel detail (full content, photos & room types)
GET/api/partner/v1/packages/{id}Package detail (itinerary, add-ons, and departures for fixed packages)

Availability

MethodPathDescription
POST/api/partner/v1/activities/availabilityLive activity pricing for a date
POST/api/partner/v1/hotels/availabilityLive rooms & rates for one hotel
POST/api/partner/v1/packages/availabilityPriced preview for a package occupancy, departure, and add-ons

Bookings

MethodPathDescription
GET/api/partner/v1/bookingsList your bookings
POST/api/partner/v1/bookingsCreate a booking (idempotent)
POST/api/partner/v1/bookings/prebookValidate & price-lock, returns a prebook_token
GET/api/partner/v1/bookings/{reference}Retrieve a booking
POST/api/partner/v1/bookings/{reference}/cancelCancel a booking (releases credit)

Webhooks

MethodPathDescription
GET/api/partner/v1/webhooksList webhook subscriptions
POST/api/partner/v1/webhooksCreate a webhook subscription
DELETE/api/partner/v1/webhooks/{id}Delete a webhook subscription

Meta

MethodPathDescription
GET/api/partner/v1/meta/creditRemaining settlement credit line
GET/api/partner/v1/meta/pingAuth / health check

Full API reference

Every endpoint, schema, and example — rendered live from the OpenAPI 3.1 specification.