emb_... token with its PAT. Your frontend places that embed token in an iframe URL.
Create an embed token
Temporary tokens expire after 24 hours. Permanent tokens have no scheduled expiration.
Response
expires_at is null for a permanent token.
Pathway keeps one active embed token per Book. When a valid token already exists, the endpoint returns that token and its current expiration.
Render the Book
URL parameters
Set
light or dark. Set this explicitly when the embed should match the surrounding application.Render the funder directory
The same token can render the organization funder directory:Fetch the embed payload directly
analytics is null when the Book does not contain canonical bank data. Document objects include temporary presigned URLs used by the embedded viewer.
Validate a token
401. A valid token returns the Book and organization context used by the iframe.
Security model
- An embed token can read one Book and organization-level read surfaces used by the embed.
- Mutating requests made with
X-Embed-Tokenreturn403. - Temporary tokens live for 24 hours.
- Permanent tokens persist until removed from Pathway’s storage.
- Anyone holding the embed URL can open it, so handle the URL as a secret share link.