---
title: "Duplicate Agent"
method: POST
path: "/v1/convai/agents/{agent_id}/duplicate"
tags: ["Agents Platform"]
---

# Duplicate Agent

`POST /v1/convai/agents/{agent_id}/duplicate`

Create a new agent by duplicating an existing one

## Path parameters

- `agent_id` string, required — The id of an agent. This is returned on agent creation.

## Headers

- `xi-api-key` string, nullable — Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

## Request body

- BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost
  - `name` string, nullable — A name to make the agent easier to find

## Response `200`

Successful Response

- CreateAgentResponseModel
  - `agent_id` string, required — ID of the created agent

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/elevenlabs/apis/elevenlabs-api-documentation.md) · [All operations](https://skmtc.net/elevenlabs/apis/elevenlabs-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elevenlabs/elevenlabs-api-documentation/revisions/db6eec599cbe/schema)
