Reservations
<sessions-reservations>Lists the current viewer’s registrations against all sessions on the parent business. Supports an inline cancel flow; pass `type="previous"` to render the historical view instead.
Install
<script type="module" src="https://go.sessions.website/embeds/unstable/reservations.js"></script>
<sessions-reservations
auth="<embed-scoped-jwt>"
type="upcoming"
></sessions-reservations>Attributes
| Name | Type | Required | Description |
|---|---|---|---|
auth | token | ✓ | Required embed-scoped JWT identifying the viewer. Issued by the business-pinned sign-in flow. |
type | upcoming | previous = upcoming | — | Which slice of registrations to render. |
page-size | number = 10 | — | Maximum number of registrations to fetch in one page. |
Try attributes
Edit attributes — the live preview to the side rebuilds in place.