v2

latestOpenAPI 3.1.02026-08-05100545344.4 KB

Update an agent

Use this endpoint to update an agent's name, phone number, or other parameters. Only the provided parameters will be updated, and others won't be removed or changed.

put/assistants/{model_id}

Path parameters

model_idstring required

Agent ID. You can find it on the agent’s page in your dashboard.

Headers

Authorizationstring required

Bearer authentication

Request body

end_call_reasonsstring[]

Deprecated: use end_call_reasons_v2 instead. Custom conditions that trigger automatic call termination (simple string array format).

descriptionstring

Agent description.

phone_numberstring

The phone number attached to the agent.

external_webhook_urlstring

URL of the webhook that should receive data after the call, such as the transcript.

is_recordingboolean

Whether the conversation should be recorded.

namestring

Agent name.

Response

200

statusstring

Whether the request was successful.