Skip to main content

Token minting

POST /api/v1/embed/chart-sessions

Auth

Bearer API key with embed:chart permission. Session cookie auth is not supported for this route.

Request

frameOrigin must exactly match an allowlisted origin (bare origin, no trailing slash). Ask Headlight to add your origin before you mint.

Response

The token is a short-lived JWT. Public keys ship in the pinned embed bundle.

What the token is for

The chart requires a valid token to render. Your page origin must be allowlisted.