Skip to main content
POST
Clone a voice agent

Authorizations

Authorization
string
header
required

Pass the API key in the Authorization header, You need to put Token keyword before the API key. e.g. 'Authorization: Token '

Query Parameters

voiceAgentId
string<uuid>
required

ID of the agent to copy.

Maximum string length: 150

Body

application/json
agentName
string

Name of the copy (max 150). Default: the original name with " - Copy".

Maximum string length: 150
copy
enum<string>
default:agent

What the copy takes along. agent (default): the agent as production serves it (or your own draft), as a new agent with one live version. history: every version, open draft and environment, and the A/B split.

Available options:
agent,
history
Example:

"agent"

Response

Successful cloning of voice agent

success
boolean
default:false
message
string
default:success
data
object