Create Workspace Agent Draft Test Voice Session

post/api/workspaces/{workspace_id}/agents/test-voice-session

Path parameters

workspace_idstring required

Request body

namestring required
gender'MALE' | 'FEMALE'
voiceIdstring[]
voiceUrlstring nullable
primaryLanguagestring nullable
useCaseIdstring nullable
temperaturenumber nullable
agentTalksFirstboolean nullable
interruptableboolean nullable
vadEnabledboolean nullable
minimumTurnDurationinteger nullable
turnEndpointDelayinteger nullable
minimumInterruptionDurationinteger nullable
provider'ultravox' | 'gemini'

Response

Successful Response

join_urlstring required
session_idstring required
call_idstring required
providerstring required
agent_namestring nullable
org_namestring nullable
ws_urlstring nullable

Changes

Changed in 2 of the 16 revisions of this API.12

    • added the new optional request property primaryLanguage

      new-optional-request-property

  • 7c9aff2501f311See the full diff
    • removed the request property campaignId

      request-property-removed

    • added the new optional request property useCaseId

      new-optional-request-property

    This revision also has 23 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog