Clone an agent, or instantiate one from a template
POST /voice/agents/clone
Copy an agent’s whole configuration under a new name.
Persona, identity and knowledge attachments come across. This is one call
where POST /voice/agents plus a dozen field copies would be several, and
it is how a template becomes a working agent.
NOT a link: the copy is independent, so later edits to the source do not reach it.
source_agent_id is resolved WITHIN the caller’s org, so a template id
from another tenant simply is not found.
Authorizations
Parameters
Header Parameters
Request Body required
object
Name for the copy.
Agent or template to copy.
Responses
201
Successful Response
object
One voice object - a collection, an agent, a route, a chat.
Open-shaped: voice adds fields to these bodies on its own release cadence and a dropped-or-added key must not be a 500 in this service.
object
object
Whether there are more pages
Items per page
Current page number (1-indexed)
Total number of items
422
Validation Error