embed_url for the Tradara terminal /embed route. Call this from your backend when a trader opens your embedded trading experience.
See Terminal embed overview for the full iframe integration flow.
Authentication
Firm API key withembed:write scope, or staff JWT with equivalent firm permission.
Headers
Body
The user must have an ACTIVE
TRADER relationship with your firm. Your firm must have metadata.allowed_embed_origins configured — see Configure allowed origins.
Example (all firm accounts — recommended)
account_ids so the iframe loads every account the trader has at your firm. With the default firm setting (embed_account_scope: "all"), any account_ids you send are ignored.
Example (explicit account list)
Only when the firm hasmetadata.embed_account_scope: "explicit":
Response — 200 OK
Errors
Integration notes
- Do not log or persist full
embed_urlvalues in analytics — treatetas a secret bootstrap credential. - Do not embed the URL in emails or long-lived static pages. Mint on demand when the trader navigates to your trading UI.
- Minting a new session for the same trader invalidates any prior embed session for that trader at your firm.
- After exchange, the terminal manages embed JWT refresh. Your backend does not need to proxy trading API calls for the iframe.

