OpenBooking / Docs / Packages /
booking-page
Package
@openbooking-sh/booking-page
Public booking page, embed and WebMCP. A
server-rendered booking page with schema.org data and pre-fill links,
a manage-booking page, and embed.js: one line that adds a
Book button, a booking popup and WebMCP booking tools to any website.
Its JSON API is described by an OpenAPI 3.1 document at
/book/api/openapi.json; call it with
@openbooking-sh/client.
Part of OpenBooking: open-source booking that every AI assistant can use.
npm install @openbooking-sh/booking-page
Usage #
import { createBookingPage } from '@openbooking-sh/booking-page';
const page = createBookingPage({
service,
pageUrl: 'https://book.example.com/book',
apiBase: 'https://book.example.com/book',
});
app.route('/book', page.app);
// On any website:
// <script src="https://book.example.com/book/embed.js" async></script>
Learn more #
- OpenBooking on GitHub: the full SDK, docs and examples
- openbooking.sh
Apache-2.0
This page is generated from
packages/booking-page/README.md
in the open-source repository. To fix something, change it there.