Web widget
Read widget configuration
Update origins and limits
Create a short-lived session
Get the embed snippet
Widget configuration includes allowed origins, session duration from 1–60 minutes (default 5), and an optional daily maximum. Session creation accepts agent_id, origin, and optional force_audio.
Never put the Developer API key in the browser. Your server creates the widget session, then returns only the short-lived session data to the page. Match allowed origins exactly and include production HTTPS origins before release.