Create Agent
Creates a new single prompt agent with the specified configuration, including system prompt and agent settings. Returns the created agent including its agentId, which is required for all subsequent update, call, and simulation operations.
Authorizations
Authenticate every request by passing your API key in the X-API-Key header. To get your key, go to Dashboard → API Keys and create or copy your Production API key.
Body
Request body for creating a new single prompt agent, including its instructions, welcome message configuration, runtime settings, and available tools.
Core system prompt that defines the agent’s behavior, personality, tone, response style, goals, and task handling logic. These instructions guide how the agent interacts with users and responds during conversations.
"You are a helpful customer support assistant. Answer concisely and professionally."
Human-readable name of the agent used to identify it in the dashboard and APIs.
128"Auralis"
Determines how the agent’s welcome message is generated. Use 'static' to send a fixed predefined message, or 'prompt' to dynamically generate the welcome message using AI instructions.
static, prompt "static"
The content of the welcome message. If 'welcomeMessageType' is 'static', this contains the exact message shown to the user. If it is 'prompt', this contains the prompt used to generate the welcome message dynamically.
"Welcome to our service! How can I assist you today?"
Configuration settings that define the agent’s runtime behavior, including voice, llm model and other operational settings.
Transfers the active voice call to another number
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
Response
Created
Id of the agent.
"SPIlVscbB0kkXBvZ"
Human-readable name of the agent used to identify it in the dashboard and APIs.
"Auralis"
Core system prompt that defines the agent’s behavior, personality, tone, response style, goals, and task handling logic. These instructions guide how the agent interacts with users and responds during conversations.
"You are a helpful customer support assistant. Answer concisely and professionally."
Determines how the agent’s welcome message is generated. Use 'static' to send a fixed predefined message, or 'prompt' to dynamically generate the welcome message using AI instructions.
static, prompt "static"
The content of the welcome message. If 'welcomeMessageType' is 'static', this contains the exact message shown to the user. If it is 'prompt', this contains the prompt used to generate the welcome message dynamically.
"Welcome to our service! How can I assist you today?"
Configuration settings that define the agent’s runtime behavior, including voice, llm model and other operational settings.
Transfers the active voice call to another number
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5