Update an agent
Use this endpoint to update an agent's name, phone number, or other parameters.
Path parameters
model_id
Agent ID. You can find it on the agent’s page in your dashboard.
Headers
Authorization
Header authentication of the form Bearer <token>
Request
This endpoint expects an object.
name
New name for the agent.
phone_number
New phone number. You can retrieve a list of your phone numbers with the 'Get Numbers' API endpoint.
external_webhook_url
URL of the webhook that should receive data after the call. (Transcript etc.)
is_recording
is_transcript_disabled
Disable transcription of conversations. Transcripts will not be generated or stored.
agent
max_duration
caller_id_number
The number of the caller ID.
consent_recording
If enabled, the agent will ask for consent to record the call.
consent_text
The message the agent will say to ask for consent for recording.
Response
200
status
Whether the request was successful.
response
details