The Slotstack Widget API spec is available as a machine-readable OpenAPI 3.1 JSON document. Import it into Swagger UI, Stoplight, Postman, or any compatible tool.
Passwordless email-code login
Classes, slots, spaces, instructors, tenant info
Group class checkout and booking management
Private lesson availability, checkout, and series
Class pass templates, purchase, and user passes
Gift card purchase and balance checking
Plans, subscribe, and user subscription
?tenant=slug query parameter.Authorization: Bearer <access_token> header. Obtain tokens via /auth/verify-code.YYYY-MM-DD, times as HH:MM.page and limit query parameters and return total, page, limit in the response body.Drop a single script tag into any website (Wix, Squarespace, custom HTML) to render the Slotstack booking widget. No build step required.
<!-- 1. Load the widget script --> <script type="module" src="https://slotstack.io/widget/v1/slotstack-widget.mjs" ></script> <!-- 2. Place the booking widget --> <slotstack-booking tenant="your-tenant-slug"></slotstack-booking>
| Element | Description |
|---|---|
| <slotstack-booking> | Full booking calendar and checkout flow |
| <slotstack-my-bookings> | Authenticated user's upcoming and past bookings |
| <slotstack-class-passes> | Class pass purchase and management |
| <slotstack-gift-cards> | Gift card purchase form |
| <slotstack-shop> | Combined storefront (passes, gift cards, subscriptions) |
| <slotstack-private-lessons> | Private lesson booking with instructor selection |
| <slotstack-calendar> | Read-only schedule calendar view |
tenant attribute set to the tenant slug. <slotstack-private-lessons> also accepts a class-id attribute (UUID of the private lesson type).