Developer Documentation
Integrate Resytech booking into any website with resytech.js — the official JavaScript client library.
Integrate Resytech booking into any website with resytech.js. The library gives you three tools depending on how much control you need.
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.
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://static.resytech.com/js/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.
