Update the setup for a specific agent
POST/api/update-agentX-Authorization: Your API key (required)Content-Type: application/jsonuid (string, required): Your user IDagentId (string, required): The ID of the agent to updatevoiceId (string, optional): ID of the voice to use for the agentagentName (string, optional): New name for the agent (max 50 characters)greetingMessage (string, optional): New greeting message (max 500 characters)humanizeConversation (boolean, optional): Whether to humanize the conversationconversationStyle (string, optional): Style of conversation. Must be one of: “Casual”, “Humorous”, “Direct”, “Formal”, “Persuasive”, “Friendly”orgId (string, optional): Organization ID to move the agent to400 Bad Request: Invalid request body, invalid voice ID, agent name too long, greeting message too long, invalid conversation style, or agent already in organization401 Unauthorized: Invalid or missing API key, or insufficient permissions500 Internal Server Error: Server errorUser ID
Agent ID to update
Organization ID to update
ID of the voice to assign to the agent
Name of the agent, limited to 50 characters
Greeting message to be used when the agent is called, limited to 500 characters
Add a vocal ticks such as hmm, umm etc. to your conversation.
'Casual' | 'Humorous' | 'Direct' | 'Formal' | 'Persuasive' | 'Friendly'
Agent updated successfully
Indicates if the update was successful