Developer Documentation
Integrate Resytech booking and live-event ticketing into any website with the official JavaScript client libraries.
Integrate Resytech into any website with our JavaScript client libraries: resytech.js for booking, and resyevents.js for live-event ticketing.
Integration Options
Booking Widget (ResytechClient)
Add a "Book Now" button in 2 lines of code. Opens a full-screen booking modal powered by an iframe — no backend work required.
API Client (ResytechApi)
Build custom booking flows with full API access. Fetch activities, calendars, time slots, manage carts, and process checkouts programmatically.
Blog Renderer (ResytechBlogRenderer)
Render Resytech blog content on your site. Fetch and display blog posts and categories from your Resytech dashboard.
Ticketing (ResyeventsApi)
Sell tickets to live events on your own site — event listings, ticket picker, checkout, and confirmation. A separate library from the booking client.
Booking and ticketing are separate libraries on separate scripts. Load whichever you need — or both; they share no code and never collide.
Quick Start
The fastest way to add booking to your site — just include the script tag and add a data-resytech-activity-id attribute to any button:
<!-- 1. Include the library with your location config -->
<script
src="https://js.resytech.com/latest/resytech.js"
data-resytech-location-id="YOUR_LOCATION_ID"
data-resytech-base-url="https://booking.yourdomain.com">
</script>
<!-- 2. Add a Book Now button -->
<button data-resytech-activity-id="YOUR_ACTIVITY_ID">
Book Now
</button>That's it. Clicking the button opens a full-screen booking modal. No JavaScript required.
Want more control? See the installation guide for all setup options, or jump straight to the ResytechClient reference.
