Skip to main content
PATCH
Update agent

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required
Minimum string length: 1

Body

application/json
provider
enum<string>
Available options:
VAPI,
RETELL,
TIXAE,
ELEVENLABS
type
enum<string> | null
Available options:
INBOUND,
OUTBOUND,
null
promptType
enum<string> | null
Available options:
SINGLE,
MULTIPLE,
null
name
string | null
apiKey
string
assistantId
string
language
string | null
phoneNumber
string | null
prompt
string | null
callMonitoring
boolean
isUsingDefaultApiKey
boolean
webhookUrl
string | null
phoneNumberId
string | null
webhookSecret
string

Response

Successful response

message
string
required
data
object
required
{key}
any