Clone Agent — Duplicate a Botsify Agent with All Data
Create an exact duplicate of an existing Botsify agent, including all configuration, flows, and versions. The clone gets a new unique bot ID and API key.
Create an exact duplicate of an existing Botsify agent, including all of its configuration, flows, versions, and settings. The cloned agent is added to your workspace as a new, independent bot with its own unique ID and API key. Cloning is useful for creating staging environments, experimenting with changes, or reusing an established bot as a starting point for a new project.
Request
string
required
The unique ID of the agent you want to clone. Supplied as a path parameter in the URL.
{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"Botsify","colors":{"primary":"#6D3ADB","light":"#6D3ADB","dark":"#6D3ADB"},"logo":{"light":"https://mintcdn.com/botsify/1_f8sabGPUZTs_dS/images/botsify-logo.png?fit=max\u0026auto=format\u0026n=1_f8sabGPUZTs_dS\u0026q=85\u0026s=01172e8690c3e9d8efd445a9a33f9bf1","dark":"https://mintcdn.com/botsify/1_f8sabGPUZTs_dS/images/botsify-logo.png?fit=max\u0026auto=format\u0026n=1_f8sabGPUZTs_dS\u0026q=85\u0026s=01172e8690c3e9d8efd445a9a33f9bf1"},"favicon":"https://mintcdn.com/botsify/FXtEQAzcu6SvIgCY/images/favicon.png?fit=max\u0026auto=format\u0026n=FXtEQAzcu6SvIgCY\u0026q=85\u0026s=1b423335ef6d056d4431a5948c308f4d","navbar":{"primary":{"type":"button","label":"Get Started","href":"https://agentic.botsify.com/"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"botsify","hasAudioNarration":false,"actualSubdomain":"botsify","customDomains":[],"gitSource":{"type":"github","owner":"mintlify-community","repo":"docs-botsify-4d5d2018","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6aaa40f623993d99e65dcdf6","clientVersion":"0.0.4177","searchFilterCounts":[{"language":"default","tag":"API Reference","count":36},{"language":"default","tag":"Documentation","count":12},{"language":"default","tag":"Bots \u0026 Agents","count":10},{"language":"default","tag":"Messaging","count":9},{"language":"default","tag":"Users \u0026 Analytics","count":8},{"language":"default","tag":"Agent Versions","count":7},{"language":"default","tag":"WhatsApp","count":5},{"language":"default","tag":"Guides","count":5},{"language":"default","tag":"Core Concepts","count":4},{"language":"default","tag":"Get Started","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"api-reference/bots/clone-agent","slug":"/api-reference/bots/clone-agent","pageMetadata":{"title":"Clone Agent — Duplicate a Botsify Agent with All Data","sidebarTitle":"Clone Agent","description":"Create an exact duplicate of an existing Botsify agent, including all configuration, flows, and versions. The clone gets a new unique bot ID and API key.","href":"/api-reference/bots/clone-agent"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create an exact duplicate of an existing Botsify agent, including all configuration, flows, and versions. The clone gets a new unique bot ID and API key.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,ParamField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Create an exact duplicate of an existing Botsify agent, including all of its configuration, flows, versions, and settings. The cloned agent is added to your workspace as a new, independent bot with its own unique ID and API key. Cloning is useful for creating staging environments, experimenting with changes, or reusing an established bot as a starting point for a new project.`}),`\n`,_jsx(Heading,{level:`2`,id:`request`,children:`Request`}),`\n`,_jsx(ParamField,{path:`bot_id`,type:`string`,required:true,id:`param-bot-id`,children:_jsx(_components.p,{children:`The unique ID of the agent you want to clone. Supplied as a path parameter in the URL.`})}),`\n`,_jsx(Heading,{level:`2`,id:`example`,children:`Example`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GET`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://app.botsify.com/api/v1/clone-agent/12345`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer YOUR_ACCESS_TOKEN'`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[`A successful `,_jsx(_components.code,{children:`200 OK`}),` response returns the newly created clone’s identifiers and confirms the source agent it was copied from.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`new_bot_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`The unique ID assigned to the cloned agent.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`new_api_key`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`The API key assigned to the cloned agent.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`bot_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`The name of the cloned agent (copied from the source).`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`source_bot_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`The ID of the original agent that was cloned.`})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"new_bot_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"67890\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"new_api_key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bfy_live_yyyyyyyyyyyy\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"bot_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Support agent (copy)\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"source_bot_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"12345\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Clone Agent — Duplicate a Botsify Agent with All Data","sidebarTitle":"Clone Agent","description":"Create an exact duplicate of an existing Botsify agent, including all configuration, flows, and versions. The clone gets a new unique bot ID and API key.","href":"/api-reference/bots/clone-agent"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Request","slug":"request","depth":2,"children":[]},{"title":"Example","slug":"example","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"botsify","siteName":"Botsify","title":"Clone Agent — Duplicate a Botsify Agent with All Data - Botsify","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-20T10:54:50.024Z","originalFileLocation":"api-reference/bots/clone-agent.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create an exact duplicate of an existing Botsify agent, including all configuration, flows, and versions. The clone gets a new unique bot ID and API key.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Botsify\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/botsify/g4VM8tvlbMG63Djr/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/botsify/g4VM8tvlbMG63Djr/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/botsify/g4VM8tvlbMG63Djr/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/botsify/g4VM8tvlbMG63Djr/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/botsify/g4VM8tvlbMG63Djr/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/botsify/g4VM8tvlbMG63Djr/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/botsify/g4VM8tvlbMG63Djr/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/botsify/g4VM8tvlbMG63Djr/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/botsify/g4VM8tvlbMG63Djr/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Clone Agent — Duplicate a Botsify Agent with All Data - Botsify\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create an exact duplicate of an existing Botsify agent, including all configuration, flows, and versions. The clone gets a new unique bot ID and API key.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Botsify\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://botsify.mintlify.app/api-reference/bots/clone-agent\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://botsify.mintlify.site/_mintlify/api/og/v2?division=Bots+%26+Agents\u0026amp;title=Clone+Agent+%E2%80%94+Duplicate+a+Botsify+Agent+with+All+Data\u0026amp;description=Create+an+exact+duplicate+of+an+existing+Botsify+agent%2C+including+all+configuration%2C+flows%2C+and+versions.+The+clone+gets+a+new+unique+bot+ID+and+API+key.\u0026amp;theme=3dccb1d701a0d7e66363f24a\u0026amp;signature=00be267cadcd8d9bffed750604d269cb44f6602ccd1bb5d42a0a84a6d5e14f7a\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Clone Agent — Duplicate a Botsify Agent with All Data - Botsify\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create an exact duplicate of an existing Botsify agent, including all configuration, flows, and versions. The clone gets a new unique bot ID and API key.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://botsify.mintlify.site/_mintlify/api/og/v2?division=Bots+%26+Agents\u0026amp;title=Clone+Agent+%E2%80%94+Duplicate+a+Botsify+Agent+with+All+Data\u0026amp;description=Create+an+exact+duplicate+of+an+existing+Botsify+agent%2C+including+all+configuration%2C+flows%2C+and+versions.+The+clone+gets+a+new+unique+bot+ID+and+API+key.\u0026amp;theme=3dccb1d701a0d7e66363f24a\u0026amp;signature=00be267cadcd8d9bffed750604d269cb44f6602ccd1bb5d42a0a84a6d5e14f7a\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/botsify/g4VM8tvlbMG63Djr/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Botsify\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6D3ADB\">\u003clink data-mint-head rel=\"canonical\" href=\"https://botsify.mintlify.app/api-reference/bots/clone-agent\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/bots/clone-agent.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://botsify.mintlify.app/#organization\",\"name\":\"Botsify\",\"url\":\"https://botsify.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/botsify/1_f8sabGPUZTs_dS/images/botsify-logo.png?fit=max\u0026auto=format\u0026n=1_f8sabGPUZTs_dS\u0026q=85\u0026s=01172e8690c3e9d8efd445a9a33f9bf1\"}},{\"@type\":\"WebSite\",\"@id\":\"https://botsify.mintlify.app#website\",\"name\":\"Botsify\",\"url\":\"https://botsify.mintlify.app\",\"publisher\":{\"@id\":\"https://botsify.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://botsify.mintlify.app/api-reference/bots/clone-agent#webpage\",\"url\":\"https://botsify.mintlify.app/api-reference/bots/clone-agent\",\"name\":\"Clone Agent — Duplicate a Botsify Agent with All Data\",\"description\":\"Create an exact duplicate of an existing Botsify agent, including all configuration, flows, and versions. The clone gets a new unique bot ID and API key.\",\"dateModified\":\"2026-08-20T10:54:50.024Z\",\"isPartOf\":{\"@id\":\"https://botsify.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://botsify.mintlify.app/api-reference/bots/clone-agent#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://botsify.mintlify.app/api-reference/bots/clone-agent#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Bots \u0026 Agents\",\"item\":\"https://botsify.mintlify.app/api-reference/bots/create-bot\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Clone Agent — Duplicate a Botsify Agent with All Data\",\"item\":\"https://botsify.mintlify.app/api-reference/bots/clone-agent\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://botsify.mintlify.app/api-reference/bots/clone-agent#article\",\"headline\":\"Clone Agent — Duplicate a Botsify Agent with All Data\",\"name\":\"Clone Agent — Duplicate a Botsify Agent with All Data\",\"description\":\"Create an exact duplicate of an existing Botsify agent, including all configuration, flows, and versions. The clone gets a new unique bot ID and API key.\",\"url\":\"https://botsify.mintlify.app/api-reference/bots/clone-agent\",\"mainEntityOfPage\":{\"@id\":\"https://botsify.mintlify.app/api-reference/bots/clone-agent#webpage\"},\"dateModified\":\"2026-08-20T10:54:50.024Z\",\"publisher\":{\"@id\":\"https://botsify.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://botsify.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Botsify\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Botsify\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/bots/clone-agent.md","siteName":"Botsify","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Authorization","pages":[{"title":"Login — Authenticate with Botsify and Get API Keys","sidebarTitle":"Login","href":"/api-reference/authorization/login"},{"title":"OAuth Token — Exchange Credentials for a Bearer Token","sidebarTitle":"OAuth Token","href":"/api-reference/authorization/oauth-token"}]},{"group":"Bots \u0026 Agents","pages":[{"title":"Create Bot — Add a New Chatbot or AI Agent in Botsify","sidebarTitle":"Create Bot","href":"/api-reference/bots/create-bot"},{"title":"Get Bots — Retrieve All Bots for a Botsify API Key","sidebarTitle":"Get Bots","href":"/api-reference/bots/get-bots"},{"title":"List Botsify Agents — Search and Filter Your Workspace","sidebarTitle":"List Agents","href":"/api-reference/bots/list-agents"},{"title":"Get Bot Data — Fetch Full Config for Authenticated Bot","sidebarTitle":"Get Bot Data","href":"/api-reference/bots/get-bot-data"},{"title":"Rename Agent — Update a Bot Display Name in Botsify","sidebarTitle":"Rename Agent","href":"/api-reference/bots/rename-agent"},{"title":"Delete Botsify Agent — Permanently Remove by Agent ID","sidebarTitle":"Delete Agent","description":"Permanently delete a Botsify agent by its ID. All associated data, including conversation history, flows, and settings, is removed and cannot be recovered.","href":"/api-reference/bots/delete-agent"},{"title":"Clone Agent — Duplicate a Botsify Agent with All Data","sidebarTitle":"Clone Agent","href":"/api-reference/bots/clone-agent"},{"title":"Get Query Response — POST /api/v1/get-query-response","sidebarTitle":"Query Response","description":"Send a user message to a Botsify bot and receive an AI-generated response. Identify the bot with your API key and the user session with a unique fbId.","href":"/api-reference/bots/get-query-response"},{"title":"Bot Activation Status — Enable or Disable for a User","sidebarTitle":"Activation Status","href":"/api-reference/bots/change-activation-status"}]},{"group":"Agent Versions","pages":[{"title":"List Agent Versions — GET /api/v1/bot/agent-versions","sidebarTitle":"List Versions","href":"/api-reference/agent-versions/list-versions"},{"title":"Save a New Agent Version — POST /api/v1/update-agent","sidebarTitle":"Save Version","href":"/api-reference/agent-versions/save-version"},{"title":"Patch Instruction Section — POST /api/v1/update-instruction","sidebarTitle":"Patch Instruction","href":"/api-reference/agent-versions/patch-instruction"},{"title":"Set Active Agent Version — POST /api/v1/set-active-version","sidebarTitle":"Set Active Version","href":"/api-reference/agent-versions/set-active-version"},{"title":"Delete Agent Versions — DELETE /api/v1/delete-version","sidebarTitle":"Delete Versions","href":"/api-reference/agent-versions/delete-versions"},{"title":"Deploy Botsify AI Agent — POST /api/v1/deploy-ai-agent","sidebarTitle":"Deploy Agent","href":"/api-reference/agent-versions/deploy-agent"}]},{"group":"Messaging","pages":[{"title":"Converse with a Botsify Agent — POST /api/v1/converse","sidebarTitle":"Converse","href":"/api-reference/messaging/converse"},{"title":"Agent Converse Stream — POST /api/v1/converse/stream","sidebarTitle":"Converse Stream","href":"/api-reference/messaging/converse-stream"},{"title":"Converse Chat Stream — POST /api/v1/converse/chat/stream","sidebarTitle":"Chat Stream","href":"/api-reference/messaging/converse-chat-stream"},{"title":"Stop Converse Stream — POST /api/v1/converse/stop-stream","sidebarTitle":"Stop Stream","href":"/api-reference/messaging/stop-converse-stream"},{"title":"Get Conversation — POST /api/v1/converse/get-conversation","sidebarTitle":"Get Conversation","href":"/api-reference/messaging/get-conversation"},{"title":"Send Message to User — POST /api/v1/send-message-to-user","sidebarTitle":"Send to User","href":"/api-reference/messaging/send-message-to-user"},{"title":"Send Text Message — /api/v1/converse/send-message-to-user","sidebarTitle":"Send Text","href":"/api-reference/messaging/send-text-message"},{"title":"Send Inbox Thread Message — POST /api/v1/send-message","sidebarTitle":"Send Inbox","href":"/api-reference/messaging/send-inbox-message"}]},{"group":"Users \u0026 Analytics","pages":[{"title":"Get Conversations — POST /api/v1/get-conversations","sidebarTitle":"Get Conversations","href":"/api-reference/users/get-conversations"},{"title":"Retrieve User Chat History — POST /api/v1/get-chat","sidebarTitle":"Get Chat","href":"/api-reference/users/get-chat"},{"title":"Get Bot Messenger Users — POST /api/v1/get-bot-users","sidebarTitle":"Get Bot Users","href":"/api-reference/users/get-bot-users"},{"title":"List Botsify Account Users — GET /api/v1/get-users","sidebarTitle":"Get Users","href":"/api-reference/users/get-users"},{"title":"Change User Status — POST /api/v1/user/change-status","sidebarTitle":"Change Status","href":"/api-reference/users/change-user-status"},{"title":"Set User Attribute — POST /api/v1/add-user-attribute","sidebarTitle":"Set Attribute","href":"/api-reference/users/set-user-attribute"},{"title":"Bot Dashboard Stats — POST /api/v1/bot-dashboard-stats","sidebarTitle":"Dashboard Stats","href":"/api-reference/analytics/bot-dashboard-stats"}]},{"group":"WhatsApp","pages":[{"title":"Get WhatsApp Templates — GET /api/v1/media-block/fetch","sidebarTitle":"Get Templates","href":"/api-reference/whatsapp/get-templates"},{"title":"Create WhatsApp Template — POST /api/v1/media-block/create","sidebarTitle":"Create Template","href":"/api-reference/whatsapp/create-template"},{"title":"Send WhatsApp Broadcast — POST /api/v1/whatsapp/send","sidebarTitle":"Send Broadcast","href":"/api-reference/whatsapp/single-broadcast"},{"title":"WhatsApp Broadcast Report — POST /api/v1/broadcast-report","sidebarTitle":"Broadcast Report","href":"/api-reference/whatsapp/broadcast-report"}]}]}]},"basePath":"","title":"Clone Agent — Duplicate a Botsify Agent with All Data - Botsify","deploymentId":"dpl_HhUetB7eHHDAmK9T1Teip38TgFx9","buildId":"dpl_HhUetB7eHHDAmK9T1Teip38TgFx9","dynamics":[],"chunks":[]}