Skip to main content
Use this when the site already has a marketing card, “Tap to talk” button, or modal. You design the UI. Trikon only handles voice. Clicking your element asks for the microphone and the agent starts speaking on that same click. Nothing extra opens unless you set data-panel="overlay".

Snippet

Copy Your website UI from Settings → Web Embed. Keep both the card and the script:
Point data-trigger at your real card, or add data-trikon-talk to it.

JavaScript API

data-ui="custom" exposes window.TrikonVoice on the host page:
data-panel="overlay" shows a closeable modal while the call runs. Omit it to stay on your card.

Advanced: session token only

If you are building your own player instead of using the script, call POST /api/embed/session from the allowed website:
POST /api/embed/session
string
required
Your public widget key (tvk_pk_…) from Settings → Web Embed.
string
required
The UUID of the agent that should handle the call.
string
required
The exact URL origin (e.g. https://www.acme.com) of the website hosting the session. Must match an allowlisted domain.
string
A short-lived JWT used to authenticate the WebSocket at /ws/live?token=…&parentOrigin=….
Prefer the script snippet unless you are building a custom audio player.