PATCH
/
v1
/
voice-agents
/
{voiceAgentId}

Authorizations

Authorization
string
headerrequired

Pass the API key in the Authorization header, You need to put Token keyword before the API key. e.g. 'Authorization: Token <api-key>'

Path Parameters

voiceAgentId
string
required

Body

application/json
agentName
string
greetingMessage
string
preamble
string
lang
enum<string>
Available options:
ar,
en
voice
enum<string>
Available options:
ar-msa,
en-default,
ar-gulf
pokeMessages
string[]
realTime
boolean
silenceThreshold
integer
interrupt
boolean
outcome
string
voiceId
string
tools
object
params
object
googleCalendarSettings
object

Send it only if the tools.googleCalendar is true.

Response

200 - application/json
error
boolean
data
object