Developers · Guides
The booking widget and links
Put the timetable or booking on any website with one line of HTML, or link to the booking page.
Not every site needs custom code. Bookare gives every venue three ready-made ways in.
1. The booking link
https://<venue>.bookare.app (or the venue’s own domain). Use it on buttons, Instagram, Google Business Profile, WhatsApp.
2. The widget
<script src="https://bookare.app/embed.js" data-venue="yourvenue" data-view="timetable" async></script>
Put it where the widget should appear. It inserts a frame that resizes itself to its content.
| Attribute | Values |
|---|---|
data-venue |
The venue’s address name (yourvenue), or a full address like https://book.yourgym.com |
data-view |
timetable, packs (gyms and studios), services (appointments), tables (restaurants), stays (stays). Default: the venue’s kind |
data-lang |
Optional language, e.g. en |
The widget shows public information only. Every “Book” button opens the venue’s booking page in a new tab, so signing in and paying always happen on the venue’s own Bookare page, never inside another site. It works on WordPress, Wix, Squarespace, Webflow and plain HTML.
Without scripts (some site builders), use the frame directly:
<iframe src="https://yourvenue.bookare.app/embed?view=timetable" style="width:100%;min-height:640px;border:0" title="Booking"></iframe>
Venue owners find the same code in Settings → Link and domain; with an API key, GET /admin/embed-code returns it.
3. The site feed
Gyms and studios also publish https://<venue>.bookare.app/api/public/site.json: packs for sale, the weekly timetable and
upcoming closed days, cached for a minute. It predates the API and is kept for existing sites; new code should use the
Public API.