<sessions-reservations>Lists the current viewer’s bookings against all sessions on the parent business. Supports an inline cancel flow, whose confirmation states what cancelling returns under the business’s policy — the refund, any fee withheld, and whether pass credits come back. Pass type="previous" to render the historical view instead.
Install
<script type="module" src="https://assets.sessions.website/embeds/unstable/reservations.js"></script>
<sessions-reservations
auth="<embed-scoped-jwt>"
type="upcoming"
></sessions-reservations>Attributes
Edit any attribute below — the snippet above and the live preview to the side rebuild in place.
auth : tokenrequiredRequired embed-scoped JWT identifying the viewer. Issued by the business-pinned sign-in flow.
type : upcoming | previousWhich slice of bookings to render.
page-size : numberMaximum number of bookings to fetch in one page.
Content Security Policy
If your site sets a Content-Security-Policy, allow these origins: the embed loads its files from assets.sessions.website, calls the Sessions API on go.sessions.website, and frames sign-in and maps from embed.sessions.website.
script-src https://assets.sessions.website;
connect-src https://assets.sessions.website https://go.sessions.website;
frame-src https://embed.sessions.website;