Skip to main content
POST
Create Agent

Authorization

string
required
Your Api Key

Body

string
required
The name of the agent to be created.
string
The welcome message to be delivered by the agent.
string
required
The task or purpose of the agent, stored as long text.
string
required
The voice setting for the agent.
string
required
The language in which the agent communicates.
string
The telephony provider used for handling calls, defaulting to “twilio”.
integer
The duration or condition under which the call terminates, if applicable.
string
The message delivered when the agent hangs up.
json
The API tool configuration for the agent, if applicable.
string
The knowledge base reference for the agent, if applicable.
string
The workflow to run after call is ended. Here the value will be workflow id.

Response

array