Skip to content

Initiate a test call with voice AI agent configuration

POST
/voice/test
object
phoneNumber
required
string
config
required
object
instructions
required
string
firstAction
required
string
Allowed values: speak wait
greeting
string
aiModel
required
string
sttConfig
object
provider
required
string
Allowed values: deepgram openai assemblyai
model
string
language
string
ttsConfig
object
provider
required
string
Allowed values: elevenlabs cartesia openai
voiceId
string
model
string
speed
number
tools
Array<object>
object
name
required
string
description
required
string
parameters
required
object
key
additional properties
temperature
number
maxTokens
number
maxCallLengthSeconds
number
silenceTimeoutSeconds
number
recordingEnabled
boolean
endpointingMode
string
Allowed values: smart vad
minEndOfTurnSilenceMs
number
allowInterruptions
boolean
minInterruptionDurationMs
number

Successful response

object
callControlId
required
string
websocket
required
string

Bad Request

Unauthorized

Internal Server Error