Update Agent
Partially updates an existing agent by agentId. Only fields provided in the request body are updated — omitted fields remain unchanged. Returns the updated agent record.
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.
Path Parameters
Unique identifier of the agent to update.
Body
Request body for updating an existing single prompt agent, including its instructions, welcome message configuration, runtime settings, and available tools.
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?"
Request body for updating an existing AI agent, including its instructions, welcome message configuration, runtime settings, and available tools.
Transfers the active voice call to another number
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
Response
OK
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