Creates a new draft version from the current published row for this key. Fails with 409CONFLICT if a draft already exists – publish or delete the draft first. Request body is optional: any field may be overridden when copying from published. 201 returns the new draft row. See Inquiry templates.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Inklink Developer Documentation","colors":{"primary":"#d61930","light":"#f5f5f5","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/inklink-7e095d72/VnKeQ-fvUnGWMehN/logo/light.svg?fit=max\u0026auto=format\u0026n=VnKeQ-fvUnGWMehN\u0026q=85\u0026s=43375c830036c0bb5b629ab372c63b5b","dark":"https://mintcdn.com/inklink-7e095d72/VnKeQ-fvUnGWMehN/logo/dark.svg?fit=max\u0026auto=format\u0026n=VnKeQ-fvUnGWMehN\u0026q=85\u0026s=82ca4f501e8cac2fbfa48adca354aef5"},"favicon":"https://mintcdn.com/inklink-7e095d72/VnKeQ-fvUnGWMehN/favicon.svg?fit=max\u0026auto=format\u0026n=VnKeQ-fvUnGWMehN\u0026q=85\u0026s=dcc282f902cf54b2fbdaab655d42124d","styling":{"codeblocks":"dark","latex":false},"contextual":{"options":["copy","view"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"inklink-7e095d72","hasAudioNarration":false,"actualSubdomain":"inklink-7e095d72","customDomains":["docs.inklink.com"],"gitSource":{"type":"github","owner":"inklink-co","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a20cac72c120bcf7effddaa","collectionId":"9da028f7-a6c3-40ea-83dd-7bc10399bc84","schemaVersion":"v2"},"feedback":{"agentFeedback":true},"entitlements":{},"buildId":"6a20cac72c120bcf7effddaa:success","clientVersion":"0.0.3990","searchFilterCounts":[{"language":"default","tag":"API reference","count":17},{"language":"default","tag":"Web Inquiry","count":12},{"language":"default","tag":"Docs","count":10},{"language":"default","tag":"Webhook","count":6},{"language":"default","tag":"KYC","count":4},{"language":"default","tag":"Getting started","count":4},{"language":"default","tag":"Help \u0026 support","count":1}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","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":"editor-v7-file-tree","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":"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/endpoint/web-template-create-draft","slug":"/api-reference/endpoint/web-template-create-draft","pageMetadata":{"title":"Create a Draft from Published Template","openapi":"/api-reference/openapi.json POST /web/template/{key}/draft","description":"Creates a **new draft** version from the current **published** row for this `key`. Fails with **409** `CONFLICT` if a draft already exists – publish or delete the draft first. Request body is optional: any field may be overridden when copying from published. **201** returns the new draft row. See [Inquiry templates](/web/templates).","href":"/api-reference/endpoint/web-template-create-draft"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Creates a \", _jsx(_components.strong, {\n children: \"new draft\"\n }), \" version from the current \", _jsx(_components.strong, {\n children: \"published\"\n }), \" row for this \", _jsx(_components.code, {\n children: \"key\"\n }), \". Fails with \", _jsx(_components.strong, {\n children: \"409\"\n }), \" \", _jsx(_components.code, {\n children: \"CONFLICT\"\n }), \" if a draft already exists – publish or delete the draft first. Request body is optional: any field may be overridden when copying from published. \", _jsx(_components.strong, {\n children: \"201\"\n }), \" returns the new draft row. See \", _jsx(_components.a, {\n href: \"/web/templates\",\n children: \"Inquiry templates\"\n }), \".\"]\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"Create a Draft from Published Template","openapi":"/api-reference/openapi.json POST /web/template/{key}/draft","description":"Creates a **new draft** version from the current **published** row for this `key`. Fails with **409** `CONFLICT` if a draft already exists – publish or delete the draft first. Request body is optional: any field may be overridden when copying from published. **201** returns the new draft row. See [Inquiry templates](/web/templates).","href":"/api-reference/endpoint/web-template-create-draft"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Create Web template draft from published","description":"Creates a **new draft** version from the current **published** row for this `key`. Fails with **409** `CONFLICT` if a draft already exists – publish or delete the draft first. Request body is optional: any field may be overridden when copying from published. **201** returns the new draft row. See [Inquiry templates](/web/templates).","operationId":"createWebTemplateDraftFromPublished","parameters":["0f2b8afa-65e5-4565-876c-57a418b52713","ba1702bc-4b68-4e4c-960c-c2632616ba24"],"requestBody":"a168b8c2-1235-4a15-82b3-266abcd9a13f","responses":{"201":"4a8b1abc-9b97-4c5e-8485-0a447cd6acb1","400":"67ea330b-c5f1-4cf7-b736-1cfc90b87678","409":"49c3a6b3-4b4e-4bbf-b70e-96cd58fb7cd1","500":"26e8347d-6335-42da-b744-0544d11af0a8"},"method":"post","type":"path","servers":["a7613153-545d-40f7-83e6-75b5fd083d34"],"security":[],"path":"/web/template/{key}/draft","baseUrlOptions":["https://platform.inklink.com/api/v1"],"title":"Create Web template draft from published","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"0f2b8afa-65e5-4565-876c-57a418b52713":{"name":"api-key","in":"header","schema":{"type":"string","example":"secret_live_xxx","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true},"ba1702bc-4b68-4e4c-960c-c2632616ba24":{"name":"key","in":"path","required":true,"description":"Template `key` (`web_tpl_key_...`).","schema":{"type":"string","isRequired":true,"description":"Template `key` (`web_tpl_key_...`).","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","uniqueKey":"name","typeLabel":"string"},"description":{"type":"string","uniqueKey":"description","typeLabel":"string"},"query":{"type":"string","uniqueKey":"query","typeLabel":"string"},"start_url":{"type":"string","uniqueKey":"start_url","typeLabel":"string"},"return_url":{"type":"string","uniqueKey":"return_url","typeLabel":"string"},"capture_type":{"type":"string","enum":["screenshot","document"],"uniqueKey":"capture_type","typeLabel":"enum\u003cstring>"},"fields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"fields.items.[INDEX].name","typeLabel":"string"},"required":{"type":"boolean","isRequired":true,"uniqueKey":"fields.items.[INDEX].required","typeLabel":"boolean"},"description":{"type":"string","uniqueKey":"fields.items.[INDEX].description","typeLabel":"string"}},"required":["name","required"],"uniqueKey":"fields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fields","typeLabel":"object[]"},"user_instruction":{"type":"string","uniqueKey":"user_instruction","typeLabel":"string"},"acceptance_guide":{"type":"string","uniqueKey":"acceptance_guide","typeLabel":"string"},"ai_instruction":{"type":"string","uniqueKey":"ai_instruction","typeLabel":"string"},"login_methods":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","isRequired":true,"uniqueKey":"login_methods.items.[INDEX].provider","typeLabel":"string"},"config":{"type":"object","additionalProperties":true,"uniqueKey":"login_methods.items.[INDEX].config","typeLabel":"object"}},"required":["provider"],"uniqueKey":"login_methods.items.[INDEX]","typeLabel":"object"},"uniqueKey":"login_methods","typeLabel":"object[]"},"allowed_modes":{"type":"array","items":{"type":"string","enum":["manual","auto"],"uniqueKey":"allowed_modes.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"allowed_modes","typeLabel":"enum\u003cstring>[]"},"settings":{"type":"object","additionalProperties":true,"uniqueKey":"settings","typeLabel":"object"},"metadata":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"metadata.additionalProperties","typeLabel":"string"},"uniqueKey":"metadata","typeLabel":"object"},"theme_id":{"oneOf":[{"type":"string","uniqueKey":"theme_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"theme_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"theme_id","typeLabel":"string | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","description":"\u003cstring>","query":"\u003cstring>","start_url":"\u003cstring>","return_url":"\u003cstring>","fields":[{"name":"\u003cstring>","required":true,"description":"\u003cstring>"}],"user_instruction":"\u003cstring>","acceptance_guide":"\u003cstring>","ai_instruction":"\u003cstring>","login_methods":[{"provider":"\u003cstring>","config":{}}],"allowed_modes":[],"settings":{},"metadata":{},"theme_id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"4a8b1abc-9b97-4c5e-8485-0a447cd6acb1":{"description":"New draft version created.","content":{"application/json":{"schema":{"type":"object","description":"Web inquiry template row. Responses omit `ai_instruction`, `login_methods`, and `allowed_modes` even if set in the request body.","properties":{"id":{"type":"string","description":"Row id (`web_tpl_...`).","uniqueKey":"id","typeLabel":"string"},"key":{"type":"string","description":"Use as `template_key` on Create Web inquiry.","uniqueKey":"key","typeLabel":"string"},"version":{"type":"integer","uniqueKey":"version","typeLabel":"integer"},"is_latest":{"type":"boolean","uniqueKey":"is_latest","typeLabel":"boolean"},"status":{"type":"string","enum":["draft","published"],"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"name":{"type":"string","uniqueKey":"name","typeLabel":"string"},"description":{"type":"string","uniqueKey":"description","typeLabel":"string"},"query":{"type":"string","uniqueKey":"query","typeLabel":"string"},"fields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"fields.items.[INDEX].name","typeLabel":"string"},"required":{"type":"boolean","isRequired":true,"uniqueKey":"fields.items.[INDEX].required","typeLabel":"boolean"},"description":{"type":"string","uniqueKey":"fields.items.[INDEX].description","typeLabel":"string"}},"required":["name","required"],"uniqueKey":"fields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fields","typeLabel":"object[]"},"user_instruction":{"type":"string","uniqueKey":"user_instruction","typeLabel":"string"},"acceptance_guide":{"type":"string","uniqueKey":"acceptance_guide","typeLabel":"string"},"start_url":{"type":"string","uniqueKey":"start_url","typeLabel":"string"},"return_url":{"type":"string","uniqueKey":"return_url","typeLabel":"string"},"capture_type":{"type":"string","enum":["screenshot","document"],"uniqueKey":"capture_type","typeLabel":"enum\u003cstring>"},"settings":{"type":"object","properties":{"show_acceptance_guide":{"type":"boolean","uniqueKey":"settings.show_acceptance_guide","typeLabel":"boolean"},"show_cover_page":{"type":"boolean","uniqueKey":"settings.show_cover_page","typeLabel":"boolean"}},"additionalProperties":true,"uniqueKey":"settings","typeLabel":"object"},"metadata":{"oneOf":[{"type":"object","additionalProperties":{"type":"string","uniqueKey":"metadata.oneOf.0.additionalProperties","typeLabel":"string"},"uniqueKey":"metadata.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"string","uniqueKey":"metadata.oneOf.1.additionalProperties","typeLabel":"string"},"uniqueKey":"metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata","typeLabel":"object | null"},"theme_id":{"oneOf":[{"type":"string","uniqueKey":"theme_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"theme_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"theme_id","typeLabel":"string | null"},"org_id":{"type":"string","uniqueKey":"org_id","typeLabel":"string"},"created_by":{"type":"string","uniqueKey":"created_by","typeLabel":"string"},"published_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"published_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"published_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"published_at","typeLabel":"string\u003cdate-time> | null"},"created_at":{"type":"string","format":"date-time","uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","uniqueKey":"updated_at","typeLabel":"string\u003cdate-time>"},"deleted_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"deleted_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","key":"\u003cstring>","version":123,"is_latest":true,"status":"draft","name":"\u003cstring>","description":"\u003cstring>","query":"\u003cstring>","fields":[{"name":"\u003cstring>","required":true,"description":"\u003cstring>"}],"user_instruction":"\u003cstring>","acceptance_guide":"\u003cstring>","start_url":"\u003cstring>","return_url":"\u003cstring>","capture_type":"screenshot","settings":{"show_acceptance_guide":true,"show_cover_page":true},"metadata":{},"theme_id":"\u003cstring>","org_id":"\u003cstring>","created_by":"\u003cstring>","published_at":"2023-11-07T05:31:56Z","created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z","deleted_at":"2023-11-07T05:31:56Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"67ea330b-c5f1-4cf7-b736-1cfc90b87678":{"description":"Validation error (`VALIDATION_ERROR`).","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"49c3a6b3-4b4e-4bbf-b70e-96cd58fb7cd1":{"description":"Conflict – a draft already exists for this key (`CONFLICT`).","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"26e8347d-6335-42da-b744-0544d11af0a8":{"description":"Server error, including no published template for this key (`INTERNAL_ERROR`).","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{},"servers":{"a7613153-545d-40f7-83e6-75b5fd083d34":{"url":"https://platform.inklink.com/api/v1"}}},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"inklink-7e095d72","siteName":"Inklink Developer Documentation","title":"Create a Draft from Published Template - Inklink Developer Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-05-01T01:34:55.008Z","originalFileLocation":"api-reference/endpoint/web-template-create-draft.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=\"Creates a new draft version from the current published row for this key. Fails with 409 CONFLICT if a draft already exists – publish or delete the draft first. Request body is optional: any field may be overridden when copying from published. 201 returns the new draft row. See Inquiry templates.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Inklink Developer Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/inklink-7e095d72/n_9iJNOFUZV4achf/_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/inklink-7e095d72/n_9iJNOFUZV4achf/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/inklink-7e095d72/n_9iJNOFUZV4achf/_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/inklink-7e095d72/n_9iJNOFUZV4achf/_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/inklink-7e095d72/n_9iJNOFUZV4achf/_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/inklink-7e095d72/n_9iJNOFUZV4achf/_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/inklink-7e095d72/n_9iJNOFUZV4achf/_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/inklink-7e095d72/n_9iJNOFUZV4achf/_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/inklink-7e095d72/n_9iJNOFUZV4achf/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a Draft from Published Template - Inklink Developer Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates a new draft version from the current published row for this key. Fails with 409 CONFLICT if a draft already exists – publish or delete the draft first. Request body is optional: any field may be overridden when copying from published. 201 returns the new draft row. See Inquiry templates.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Inklink Developer Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.inklink.com/api-reference/endpoint/web-template-create-draft\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://inklink-7e095d72.mintlify.app/_mintlify/api/og/v2?division=Web+Inquiry\u0026amp;title=Create+a+Draft+from+Published+Template\u0026amp;description=Creates+a+**new+draft**+version+from+the+current+**published**+row+for+this+%60key%60.+Fails+with+**409**+%60CONFLICT%60+if+a+draft+already+exists+%E2%80%93+publish+or+delete+t\u0026amp;theme=6e124ab3126841292ea9b56d\u0026amp;signature=efdcfec1a065c82d54fca7ed1baf9c98fb6ad3b5fa5d9b349ab0755f7152b1f6\">\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=\"Create a Draft from Published Template - Inklink Developer Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates a new draft version from the current published row for this key. Fails with 409 CONFLICT if a draft already exists – publish or delete the draft first. Request body is optional: any field may be overridden when copying from published. 201 returns the new draft row. See Inquiry templates.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://inklink-7e095d72.mintlify.app/_mintlify/api/og/v2?division=Web+Inquiry\u0026amp;title=Create+a+Draft+from+Published+Template\u0026amp;description=Creates+a+**new+draft**+version+from+the+current+**published**+row+for+this+%60key%60.+Fails+with+**409**+%60CONFLICT%60+if+a+draft+already+exists+%E2%80%93+publish+or+delete+t\u0026amp;theme=6e124ab3126841292ea9b56d\u0026amp;signature=efdcfec1a065c82d54fca7ed1baf9c98fb6ad3b5fa5d9b349ab0755f7152b1f6\">\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/inklink-7e095d72/n_9iJNOFUZV4achf/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Inklink Developer Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#d61930\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.inklink.com/api-reference/endpoint/web-template-create-draft\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/web-template-create-draft.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.inklink.com/#organization\",\"name\":\"Inklink Developer Documentation\",\"url\":\"https://docs.inklink.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/inklink-7e095d72/VnKeQ-fvUnGWMehN/logo/light.svg?fit=max\u0026auto=format\u0026n=VnKeQ-fvUnGWMehN\u0026q=85\u0026s=43375c830036c0bb5b629ab372c63b5b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.inklink.com#website\",\"name\":\"Inklink Developer Documentation\",\"url\":\"https://docs.inklink.com\",\"publisher\":{\"@id\":\"https://docs.inklink.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.inklink.com/api-reference/endpoint/web-template-create-draft#webpage\",\"url\":\"https://docs.inklink.com/api-reference/endpoint/web-template-create-draft\",\"name\":\"Create a Draft from Published Template\",\"description\":\"Creates a new draft version from the current published row for this key. Fails with 409 CONFLICT if a draft already exists – publish or delete the draft first. Request body is optional: any field may be overridden when copying from published. 201 returns the new draft row. See Inquiry templates.\",\"dateModified\":\"2026-05-01T01:34:55.008Z\",\"isPartOf\":{\"@id\":\"https://docs.inklink.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.inklink.com/api-reference/endpoint/web-template-create-draft#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.inklink.com/api-reference/endpoint/web-template-create-draft#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Web Inquiry\",\"item\":\"https://docs.inklink.com/api-reference/endpoint/web-inquiry-create\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a Draft from Published Template\",\"item\":\"https://docs.inklink.com/api-reference/endpoint/web-template-create-draft\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.inklink.com/api-reference/endpoint/web-template-create-draft#apireference\",\"headline\":\"Create a Draft from Published Template\",\"name\":\"Create a Draft from Published Template\",\"description\":\"Creates a new draft version from the current published row for this key. Fails with 409 CONFLICT if a draft already exists – publish or delete the draft first. Request body is optional: any field may be overridden when copying from published. 201 returns the new draft row. See Inquiry templates.\",\"url\":\"https://docs.inklink.com/api-reference/endpoint/web-template-create-draft\",\"mainEntityOfPage\":{\"@id\":\"https://docs.inklink.com/api-reference/endpoint/web-template-create-draft#webpage\"},\"dateModified\":\"2026-05-01T01:34:55.008Z\",\"publisher\":{\"@id\":\"https://docs.inklink.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.inklink.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Inklink Developer Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Inklink Developer Documentation","nav":{"global":null,"tabs":[{"tab":"Docs","pages":[{"title":"Docs","href":""}]},{"tab":"API reference","groups":[{"group":"KYC","icon":"shield-check","pages":[{"title":"Create KYC inquiry","openapi":"/api-reference/openapi.json POST /kyc/inquiry","href":"/api-reference/endpoint/kyc-inquiry-create"},{"title":"Get KYC inquiry result","openapi":"/api-reference/openapi.json GET /kyc/inquiry/{id}/result","href":"/api-reference/endpoint/kyc-inquiry-result"}]},{"group":"Web Inquiry","icon":"globe","pages":[{"title":"Create Web Inquiry","openapi":"/api-reference/openapi.json POST /web/inquiry","href":"/api-reference/endpoint/web-inquiry-create"},{"title":"List Web Inquiries","openapi":"/api-reference/openapi.json GET /web/inquiry","href":"/api-reference/endpoint/web-inquiry-list"},{"title":"Get Web Inquiry","openapi":"/api-reference/openapi.json GET /web/inquiry/{id}","href":"/api-reference/endpoint/web-inquiry-get"},{"title":"List Web Templates","openapi":"/api-reference/openapi.json GET /web/template","href":"/api-reference/endpoint/web-template-list"},{"title":"Create Web Template","openapi":"/api-reference/openapi.json POST /web/template","href":"/api-reference/endpoint/web-template-create"},{"title":"List Web Template Versions","openapi":"/api-reference/openapi.json GET /web/template/{key}","href":"/api-reference/endpoint/web-template-versions"},{"title":"Update Web Template Draft","openapi":"/api-reference/openapi.json PATCH /web/template/{key}","description":"Updates the **current draft** row for this `key` only. Partial body; any subset of mutable fields. **`settings`** and **`metadata`** are shallow-merged with the existing row (sibling keys in those objects are preserved). If there is no draft, the server returns **500** `INTERNAL_ERROR` (for example `Draft template not found`). **Do not** send a `key` in the body – the path defines the key. See [Inquiry templates](/web/templates).","href":"/api-reference/endpoint/web-template-update-draft"},{"title":"Create a Draft from Published Template","openapi":"/api-reference/openapi.json POST /web/template/{key}/draft","href":"/api-reference/endpoint/web-template-create-draft"},{"title":"Publish Web Template","openapi":"/api-reference/openapi.json POST /web/template/{key}/publish","description":"Publishes the **current draft** for this `key`, making it the latest **published** version and the one resolved when creating inquiries with **`template_key`**. Unsets the previous `is_latest` on other rows for the same key. If there is no draft, the server returns **500** `INTERNAL_ERROR` (for example `No draft template found`). See [Inquiry templates](/web/templates).","href":"/api-reference/endpoint/web-template-publish"}]},{"group":"Webhook","icon":"webhook","pages":[{"title":"List webhook endpoints","openapi":"/api-reference/openapi.json GET /webhook/endpoints","href":"/api-reference/endpoint/webhook-endpoints-list"},{"title":"Create webhook endpoint","openapi":"/api-reference/openapi.json POST /webhook/endpoints","href":"/api-reference/endpoint/webhook-endpoints-create"},{"title":"Get webhook endpoint","openapi":"/api-reference/openapi.json GET /webhook/endpoints/{id}","href":"/api-reference/endpoint/webhook-endpoint-get"},{"title":"Update webhook endpoint","openapi":"/api-reference/openapi.json PATCH /webhook/endpoints/{id}","href":"/api-reference/endpoint/webhook-endpoint-update"},{"title":"Delete webhook endpoint","openapi":"/api-reference/openapi.json DELETE /webhook/endpoints/{id}","href":"/api-reference/endpoint/webhook-endpoint-delete"},{"title":"Rotate webhook signing secret","openapi":"/api-reference/openapi.json POST /webhook/endpoints/{id}/rotate-secret","href":"/api-reference/endpoint/webhook-endpoint-rotate-secret"}]}]}]},"title":"Create a Draft from Published Template - Inklink Developer Documentation","buildId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","deploymentId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-WRhTSUDL.js","utils-ChMov4Kr.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-_REmC2bI.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Bp6nVRCu.js","snippetPresets-DZadmXoU.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CY2WdoTl.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DwYG-Q4l.js","shallow-BXQIGwv4.js","getApiPlaygroundDisplay-CK5nK5B9.js","CodeSnippet-TH4a2aGW.js","CodeSnippets-DwsQiOFS.js","Page-R3M_BF4L.js","getPastedJson-DD7kUzi_.js","icon-holE3QoJ.js","MethodPill-DUW0T8us.js","DuplicateIcon-CI_p4be-.js","createIcon-BdbRvavb.js","DynamicMarkdown-DN96a4Ur.js","SectionHeading-SCu36A9d.js","axios-vUo_bRtp.js","Markdown-CCeGv-zI.js","clsx-BGBGWFTt.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-Cv_O2fky.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-2C5OB2eV.js"]}