Changelog
The integration follows the versioning policy: compatible additions within a version, a new SDK URL for breaking changes.
v1 · 2026-10-16
Section titled “v1 · 2026-10-16”First public version of the iframe integration.
API
POST /api/v1/integration/sessionsalso returnslaunchToken(single use, 120 seconds),launchExpiresAtandlaunchUrl, and acceptspathandlocalefor the launch URL.- New
POST /api/v1/integration/launch: exchanges a launch token once for the session token. Refusals carrydetails.reason:launch_token_invalid,launch_token_used,launch_token_expired. GET /api/v1/configexposestenant.embedOrigins.- Sportsbook pages carry
Content-Security-Policy: frame-ancestorsfrom the tenant’sembedOrigins.
Embed SDK
/embed/v1.js(globalBookmakerSportsbook) and@bookmaker/embed-sdk(ES module with types):mount()with launch tokens,autoandfillsizing, deep links, locale, every event as a callback and every command as a method; origin checks on every message.
postMessage protocol v1
- Events:
ready,resize,route,login_required,session_expired,balance_changed,bet_placed,bet_settled,deposit_requested,error. - Commands:
set_launch_token,navigate,set_locale,refresh_balance,logout.
Deprecated
- Launching with the session token in the URL (
?token=). It keeps working; move to?launch=or the SDK.