Create workspace voice integration

Create a voice integration for a workspace.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <API_KEY>, where API_KEY is your API key.

Path parameters

workspaceIdstringRequired
Workspace to configure.

Headers

X-Account-IdstringRequired
Account that owns the workspace.

Request

Voice settings. Omitted fields use defaults. Use the options endpoint for supported values.
firstMessagestringOptional
The greeting the assistant speaks first.
promptstringOptional
System prompt for the live voice conversation.
voiceobjectOptional

The text-to-speech voice. Values must match the options catalog.

fallbackVoiceslist of objectsOptional
Ordered fallback voices used if the primary voice fails. Each entry needs a provider.
transcriberobjectOptional

The speech-to-text transcriber. Values must match the options catalog.

fallbackTranscriberslist of objectsOptional
Ordered fallback transcribers. Each entry needs a provider.

Response

The created voice integration, including its routing number.
voiceobject

The new assistant config — see GET …/integrations/voice for the field notes.

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error