Overview
The embed system lets you display a fully rendered, read-only Pathway book inside an iframe in your own app. Your users don’t need API credentials. The embed token handles access. Flow:- Use your PAT to create an embed token for a book
- Drop the token into the iframe URL
- Done your users see the live financial report
Create an embed token
UUID of the book to embed.
If
true, the token never expires. Default tokens expire after 24 hours. Use permanent: true for landing pages or persistent embeds.expires_at is null for permanent tokens, or an ISO timestamp for 24-hour tokens.
One token per book. If a valid token already exists for the book, the same token is returned.
Embed in an iframe
light or dark. Defaults to dark if not specified.Embed routes
Two pages are available for embedding:
The same token works for both routes.