Skip to main content
Rather than rebuilding an inbox, embed one. LazyApp serves iframe components scoped to a single customer.

Minting a token

Do this server-side. Your API key must never reach the browser.
Then render it:

What the token can do

Deliberately very little:
  • One component. An inbox token cannot open usage.
  • One customer. It cannot address another workspace.
  • Your origins only. origin_allowlist means a leaked token will not render on someone else’s site.
  • Short-lived. 5 minutes to 7 days. Mint per page load rather than storing one.
  • Revocable. DELETE /v1/platform/embed-tokens/{id} kills it before expiry.
Add phone_number_id to scope a component to one number when a customer has several.

Theme and locale

Pass locale to render in your customer’s language. Components follow the viewer’s light or dark preference, so they sit inside your product without a jarring switch.