Authorization
Body
The name of the agent to be created.
The welcome message to be delivered by the agent.
The task or purpose of the agent, stored as long text.
The voice setting for the agent.
The language in which the agent communicates.
The telephony provider used for handling calls, defaulting to “twilio”.
The duration or condition under which the call terminates, if applicable.
The message delivered when the agent hangs up.
The API tool configuration for the agent, if applicable.
The knowledge base reference for the agent, if applicable.
The workflow to run after call is ended. Here the value will be workflow id.
Response
Indicates if the request was successful.
The created agent object containing all the input fields.
Unique identifier for the created agent.
The name assigned to the agent.
The message the agent speaks when a call is connected.
The purpose or function of the agent.
The voice setting configured for the agent.
The language the agent uses for communication.
The provider used for handling incoming and outgoing calls.
The condition or duration that triggers call termination.
The message played when the agent initiates a call hangup.
Configuration details for the API tool integrated with the agent.
Reference to the knowledge base associated with the agent.
The workflow process triggered after a call is completed.