PATCH
/
phone
/
{phone_agent_id}

Authorizations

Authorization
string
headerrequired

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

Path Parameters

phone_agent_id
string
required

Body

application/json
name
string
type
enum<string>
Available options:
inbound,
outbound
language
string | null

The language the AI phone agent should mainly speak in

accent
string | null

The accent the AI phone agent should mainly speak in

handoff_phone_number
string | null

The phone number of the human agent to hand off the call to

interruptible
boolean

Whether the agent can be interrupted or not

actionIds
string[] | null

A list of action ids the AI phone agent has access to. A null value means all actions. An empty list means no actions

instructions
string[] | null

A list of instructions

data_collection_fields
string[] | null

A list of fields to collect data about

data_collection_webhook_url
string | null

The webhook url to send the collected data to