Create a built-in Voice AI WebRTC preview session
Served by the Voice API. Requires a Bearer session for a workspace owner/admin/manager when the V2 flag is enabled. Accepts unsaved turn settings when opted in. Uses automatic WebRTC response control rather than phone bridge control. Returns a short-lived client secret; never log or cache the response. include_api_tools=true additionally requires an owner/admin Bearer JWT and both VOICE_AI_API_TOOLS and VOICE_AI_TELEPHONY_TURN_CONTROL_V2. It advertises enabled saved tools and returns tool_preview.ticket plus names; the signed binding expires after 15 minutes and authorizes real API test actions.
POST
https://api.channelautomation.com/api/workspaces/{workspaceId}/voice-ai/preview/realtime/sessionPath parameters
Request body JSON
Returns
200
Realtime preview client secret
