Skip to main content
PUT
Set a number's agent

Authorizations

X-API-Key
string
header
required

Your AI calling API key (vak_call_…). Authorization: Bearer <key> also works.

Path Parameters

id
string
required

Body

application/json
agent_id
string
required

Response

The number with its new agent.

id
string
object
string
Allowed value: "number"
phone_number
string
Example:

"+918045001234"

label
string | null
provider
string

Only Vacademy Voice (plivo) numbers answer with an AI agent.

Example:

"plivo"

enabled
boolean
agent
object | null
routing
object