Create a realtime session
Mint a one-minute, single-use client_secret that lets a browser or app talk to one of your agents over wss://api.phone.wixzel.com/v1/realtime — no SIP trunk, no phone number. Call this from your server; the API key must never reach the client.
Nothing is charged here. When the socket connects, the session is admitted exactly like a call: it needs credit, counts toward your concurrent-call limit and the key’s spend limit, is billed at the same per-minute price as a phone call on the same engine, and appears in GET /v1/calls with channel: "web", followed by a callCompleted webhook.
Human transfer is not available on web sessions — there is no second line to hand the caller to.
Authorizations
Your Wixzel Phone API key: Authorization: Bearer wv_live_.... Keys are scoped; grant only what the integration needs.
Body
^[0-9a-f]{24}$"6a96a3ead6e886d42462dd3e"
Existing lead to attribute the session to — merge fields such as {{name}} resolve from it, and appointment booking uses its phone. Without one, merge fields resolve to nothing and the call has no lead.
^[0-9a-f]{24}$"6a96a3ead6e886d42462dd3e"
Your own identifiers, kept verbatim on the resulting call and echoed in its callCompleted webhook. Flat, string to string. Never sent to the model.
Hard cap on the conversation. Defaults to 600; at most 3600.
10 <= x <= 3600600
When set, the socket is refused unless the browser's Origin is one of these. Recommended for browser use: it stops a secret copied out of your page being used from another site.
10255^https?:\/\/[a-z0-9.-]+(:\d{1,5})?$Response
The session and its client secret
Becomes the session_id of the resulting call.
"rt-5b0c7c0e-9d1f-4c52-8a9e-2f0d3a4b6c7d"
realtime_session "wss://api.phone.wixzel.com/v1/realtime"
^[0-9a-f]{24}$"6a96a3ead6e886d42462dd3e"
"gemini_live"
Base64 G.711 µ-law, 8 kHz mono, both directions — what a phone line carries.
mulaw_8000 
