Create an agent
Headers
Authorization
Header authentication of the form Bearer <token>
Request
This endpoint expects an object.
agent
name
Agent name.
type
Agent type.
Allowed values:
description
Agent description.
external_webhook_url
URL of the webhook that should receive data after the call, such as the transcript.
inbound_call_webhook_url
The URL for your inbound webhook. For more details on inbound webhooks, see About inbound call webhooks.
is_recording
Whether the conversation should be recorded.
max_duration
phone_number
The phone number attached to the agent.
Response
200
status
Whether the request was successful.
response
details