Apply a workflow template to a bot by providing values for all required variables. If the template has already been applied to this bot, the existing workflow will be replaced.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Annie Docs","colors":{"primary":"#7c3aed","light":"#7c3aed","dark":"#7c3aed"},"logo":{"light":"https://mintcdn.com/annie/PXuvnQ8eUh7UEW46/logos/icon.svg?fit=max\u0026auto=format\u0026n=PXuvnQ8eUh7UEW46\u0026q=85\u0026s=f0c94e6cc1e59f80d474345f27618341","dark":"https://mintcdn.com/annie/PXuvnQ8eUh7UEW46/logos/icon.svg?fit=max\u0026auto=format\u0026n=PXuvnQ8eUh7UEW46\u0026q=85\u0026s=f0c94e6cc1e59f80d474345f27618341"},"favicon":"https://mintcdn.com/annie/PXuvnQ8eUh7UEW46/logos/favicon.svg?fit=max\u0026auto=format\u0026n=PXuvnQ8eUh7UEW46\u0026q=85\u0026s=da6175d24bdeca2da48b93d293abd488","styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"annie","hasAudioNarration":false,"actualSubdomain":"annie","customDomains":["docs.helloannie.com"],"gitSource":{"type":"github","owner":"anniedental","repo":"annie","deployBranch":"prod","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6af5f328bb452cd0b1dc055a","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"API Reference","count":106},{"language":"default","tag":"Overview","count":18},{"language":"default","tag":"Guides","count":13},{"language":"default","tag":"Templates","count":13},{"language":"default","tag":"Phone Numbers","count":8},{"language":"default","tag":"Tag Groups","count":8},{"language":"default","tag":"Bots","count":7},{"language":"default","tag":"Organizations","count":7},{"language":"default","tag":"Blueprints","count":6},{"language":"default","tag":"Insurances","count":6}]},"assistantConfig":{},"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/templates/apply-bot-template","slug":"/api-reference/templates/apply-bot-template","pageMetadata":{"title":"Apply bot template","description":"Apply a workflow template to a bot by providing values for all required variables. If the template has already been applied to this bot, the existing workflow will be replaced.","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /bots/{botId}/templates/{templateId}","href":"/api-reference/templates/apply-bot-template","autogeneratedByOpenApi":true},"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: \"Apply a workflow template to a bot by providing values for all required variables. If the template has already been applied to this bot, the existing workflow will be replaced.\"\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":{"config":{},"pageMetadata":{"title":"Apply bot template","description":"Apply a workflow template to a bot by providing values for all required variables. If the template has already been applied to this bot, the existing workflow will be replaced.","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /bots/{botId}/templates/{templateId}","href":"/api-reference/templates/apply-bot-template","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Templates"],"summary":"Apply bot template","description":"Apply a workflow template to a bot by providing values for all required variables. If the template has already been applied to this bot, the existing workflow will be replaced.","parameters":["da56dde4-d708-4a4c-8447-545eed241644","2f1acde7-a4b2-4e78-bf0e-fe96664421be"],"requestBody":"34eeab4b-4328-47ff-a946-24221a1cb01b","responses":{"200":"b0ff8a89-1c59-41ae-85dc-c4c3f93ad80b","400":"7f43102d-b17a-452c-a661-0f6d00c747ae","403":"cc787d89-25b3-4dba-84c6-a6286384d5ab","404":"545c5dec-186e-4631-9a6a-845c27af4f7e","409":"27f012ed-7a62-4aaa-b09a-921589dd8339"},"operationId":"postV1BotsByBotIdTemplatesByTemplateId","method":"post","type":"path","servers":["c29e0711-86ee-4532-909c-15eccdcff4e6"],"security":["45b45b02-df33-4f66-96af-6b12c8e7e308"],"path":"/bots/{botId}/templates/{templateId}","baseUrlOptions":["https://api.helloannie.com/v1"],"title":"Apply bot template","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"da56dde4-d708-4a4c-8447-545eed241644":{"name":"botId","in":"path","required":true,"schema":{"format":"uuid","description":"The ID of the bot to apply the template to","type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"}},"2f1acde7-a4b2-4e78-bf0e-fe96664421be":{"name":"templateId","in":"path","required":true,"schema":{"format":"uuid","description":"The ID of the template to apply","type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"requestBody":{"description":"Request body for applying a template to the bot in the path","required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["variables"],"properties":{"variables":{"description":"Variable values keyed by variable name. Each value can be a plain string (inline substitution) or an options object.","example":{"office_name":"Happy Dental","phone_number":{"value":"+15551234567","createOrgVariable":true},"office_address":{"existingOrgVariableId":"a1b2c3d4-e5f6-7890-abcd-ef1234567890"}},"type":"object","additionalProperties":{"oneOf":[{"type":"string","description":"A plain string (inline substitution) or an options object specifying how to handle the variable. Empty string is allowed for STRING variables.","uniqueKey":"variables.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"object","description":"A plain string (inline substitution) or an options object specifying how to handle the variable. Empty string is allowed for STRING variables.","properties":{"value":{"description":"Value for the variable (Way 1 or Way 2). Empty string is allowed for STRING variables.","type":"string","uniqueKey":"variables.additionalProperties.oneOf.1.value","typeLabel":"string"},"createOrgVariable":{"description":"If true and value is set, creates an OrgVariable and keeps {{var}} placeholder (Way 2). If false or omitted, substitutes the value inline (Way 1).","type":"boolean","uniqueKey":"variables.additionalProperties.oneOf.1.createOrgVariable","typeLabel":"boolean"},"existingOrgVariableId":{"format":"uuid","description":"Link to an existing OrgVariable (Way 3). Cannot be combined with value.","type":"string","uniqueKey":"variables.additionalProperties.oneOf.1.existingOrgVariableId","typeLabel":"string\u003cuuid>"}},"additionalProperties":false,"uniqueKey":"variables.additionalProperties.oneOf.1","typeLabel":"object"}],"uniqueKey":"variables.additionalProperties","typeLabel":"string | object"},"isRequired":true,"uniqueKey":"variables","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"variables":{"office_name":"Happy Dental","phone_number":{"value":"+15551234567","createOrgVariable":true},"office_address":{"existingOrgVariableId":"a1b2c3d4-e5f6-7890-abcd-ef1234567890"}}}}},"exampleType":"generated"},"application/x-www-form-urlencoded":{"schema":{"additionalProperties":false,"type":"object","required":["variables"],"properties":{"variables":{"description":"Variable values keyed by variable name. Each value can be a plain string (inline substitution) or an options object.","example":{"office_name":"Happy Dental","phone_number":{"value":"+15551234567","createOrgVariable":true},"office_address":{"existingOrgVariableId":"a1b2c3d4-e5f6-7890-abcd-ef1234567890"}},"type":"object","additionalProperties":{"oneOf":[{"type":"string","description":"A plain string (inline substitution) or an options object specifying how to handle the variable. Empty string is allowed for STRING variables.","uniqueKey":"variables.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"object","description":"A plain string (inline substitution) or an options object specifying how to handle the variable. Empty string is allowed for STRING variables.","properties":{"value":{"description":"Value for the variable (Way 1 or Way 2). Empty string is allowed for STRING variables.","type":"string","uniqueKey":"variables.additionalProperties.oneOf.1.value","typeLabel":"string"},"createOrgVariable":{"description":"If true and value is set, creates an OrgVariable and keeps {{var}} placeholder (Way 2). If false or omitted, substitutes the value inline (Way 1).","type":"boolean","uniqueKey":"variables.additionalProperties.oneOf.1.createOrgVariable","typeLabel":"boolean"},"existingOrgVariableId":{"format":"uuid","description":"Link to an existing OrgVariable (Way 3). Cannot be combined with value.","type":"string","uniqueKey":"variables.additionalProperties.oneOf.1.existingOrgVariableId","typeLabel":"string\u003cuuid>"}},"additionalProperties":false,"uniqueKey":"variables.additionalProperties.oneOf.1","typeLabel":"object"}],"uniqueKey":"variables.additionalProperties","typeLabel":"string | object"},"isRequired":true,"uniqueKey":"variables","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"variables":{"office_name":"Happy Dental","phone_number":{"value":"+15551234567","createOrgVariable":true},"office_address":{"existingOrgVariableId":"a1b2c3d4-e5f6-7890-abcd-ef1234567890"}}}}},"exampleType":"generated"},"multipart/form-data":{"schema":{"additionalProperties":false,"type":"object","required":["variables"],"properties":{"variables":{"description":"Variable values keyed by variable name. Each value can be a plain string (inline substitution) or an options object.","example":{"office_name":"Happy Dental","phone_number":{"value":"+15551234567","createOrgVariable":true},"office_address":{"existingOrgVariableId":"a1b2c3d4-e5f6-7890-abcd-ef1234567890"}},"type":"object","additionalProperties":{"oneOf":[{"type":"string","description":"A plain string (inline substitution) or an options object specifying how to handle the variable. Empty string is allowed for STRING variables.","uniqueKey":"variables.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"object","description":"A plain string (inline substitution) or an options object specifying how to handle the variable. Empty string is allowed for STRING variables.","properties":{"value":{"description":"Value for the variable (Way 1 or Way 2). Empty string is allowed for STRING variables.","type":"string","uniqueKey":"variables.additionalProperties.oneOf.1.value","typeLabel":"string"},"createOrgVariable":{"description":"If true and value is set, creates an OrgVariable and keeps {{var}} placeholder (Way 2). If false or omitted, substitutes the value inline (Way 1).","type":"boolean","uniqueKey":"variables.additionalProperties.oneOf.1.createOrgVariable","typeLabel":"boolean"},"existingOrgVariableId":{"format":"uuid","description":"Link to an existing OrgVariable (Way 3). Cannot be combined with value.","type":"string","uniqueKey":"variables.additionalProperties.oneOf.1.existingOrgVariableId","typeLabel":"string\u003cuuid>"}},"additionalProperties":false,"uniqueKey":"variables.additionalProperties.oneOf.1","typeLabel":"object"}],"uniqueKey":"variables.additionalProperties","typeLabel":"string | object"},"isRequired":true,"uniqueKey":"variables","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"variables":{"office_name":"Happy Dental","phone_number":{"value":"+15551234567","createOrgVariable":true},"office_address":{"existingOrgVariableId":"a1b2c3d4-e5f6-7890-abcd-ef1234567890"}}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"b0ff8a89-1c59-41ae-85dc-c4c3f93ad80b":{"description":"Response containing the applied template result","content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["success","data"],"properties":{"success":{"enum":[true],"type":"boolean","isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"data":{"type":"object","required":["applicationId","workflowId","workflow"],"properties":{"applicationId":{"format":"uuid","description":"ID of the application record","type":"string","isRequired":true,"uniqueKey":"data.applicationId","typeLabel":"string\u003cuuid>"},"workflowId":{"format":"uuid","description":"ID of the created workflow (PromptBlock)","type":"string","isRequired":true,"uniqueKey":"data.workflowId","typeLabel":"string\u003cuuid>"},"workflow":{"description":"The created workflow details","isRequired":true,"uniqueKey":"data.workflow","typeLabel":"any"}},"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true,"data":{"applicationId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","workflowId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","workflow":"\u003cunknown>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"7f43102d-b17a-452c-a661-0f6d00c747ae":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["success","data","message"],"properties":{"success":{"enum":[false],"type":"boolean","isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"data":{"additionalProperties":false,"type":"object","properties":{},"isRequired":true,"uniqueKey":"data","typeLabel":"object"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"data":{},"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"cc787d89-25b3-4dba-84c6-a6286384d5ab":{"description":"You do not have permission to perform this action","content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["success","data","message"],"properties":{"success":{"enum":[false],"type":"boolean","isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"data":{"additionalProperties":false,"type":"object","properties":{},"isRequired":true,"uniqueKey":"data","typeLabel":"object"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"data":{},"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"545c5dec-186e-4631-9a6a-845c27af4f7e":{"description":"The requested resource was not found","content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["success","data","message"],"properties":{"success":{"enum":[false],"type":"boolean","isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"data":{"additionalProperties":false,"type":"object","properties":{},"isRequired":true,"uniqueKey":"data","typeLabel":"object"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"data":{},"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"27f012ed-7a62-4aaa-b09a-921589dd8339":{"description":"The request conflicts with another in-progress operation","content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["success","data","message"],"properties":{"success":{"enum":[false],"type":"boolean","isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"data":{"additionalProperties":false,"type":"object","properties":{},"isRequired":true,"uniqueKey":"data","typeLabel":"object"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"data":{},"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"45b45b02-df33-4f66-96af-6b12c8e7e308":{"bearerAuth":{"type":"http","scheme":"bearer","description":"An API key (annie-sk-v2-...) or an OAuth access token, sent as `Authorization: Bearer \u003ctoken>`.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"c29e0711-86ee-4532-909c-15eccdcff4e6":{"url":"https://api.helloannie.com/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"An API key (annie-sk-v2-...) or an OAuth access token, sent as `Authorization: Bearer \u003ctoken>`.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"An API key (annie-sk-v2-...) or an OAuth access token, sent as `Authorization: Bearer \u003ctoken>`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi/openapi.yaml"},"subdomain":"annie","siteName":"Annie Docs","title":"Apply bot template - Annie Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-05T22:46:53.170Z","originalFileLocation":"api-reference/templates/apply-bot-template.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=\"Apply a workflow template to a bot by providing values for all required variables. If the template has already been applied to this bot, the existing workflow will be replaced.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Annie Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/annie/1kKbW9uujrH1ztQE/_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/annie/1kKbW9uujrH1ztQE/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/annie/1kKbW9uujrH1ztQE/_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/annie/1kKbW9uujrH1ztQE/_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/annie/1kKbW9uujrH1ztQE/_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/annie/1kKbW9uujrH1ztQE/_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/annie/1kKbW9uujrH1ztQE/_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/annie/1kKbW9uujrH1ztQE/_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/annie/1kKbW9uujrH1ztQE/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Apply bot template - Annie Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Apply a workflow template to a bot by providing values for all required variables. If the template has already been applied to this bot, the existing workflow will be replaced.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Annie Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.helloannie.com/api-reference/templates/apply-bot-template\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://annie.mintlify.site/_mintlify/api/og/v2?division=Templates\u0026amp;title=Apply+bot+template\u0026amp;description=Apply+a+workflow+template+to+a+bot+by+providing+values+for+all+required+variables.+If+the+template+has+already+been+applied+to+this+bot%2C+the+existing+workflow+w\u0026amp;theme=a96b5442c4c1c4ebd6e3f959\u0026amp;signature=f5ab963aaca414c2f86b83af5e4dbc15e521fcfc620bb4e432c09c775ec0b5c3\">\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=\"Apply bot template - Annie Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Apply a workflow template to a bot by providing values for all required variables. If the template has already been applied to this bot, the existing workflow will be replaced.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://annie.mintlify.site/_mintlify/api/og/v2?division=Templates\u0026amp;title=Apply+bot+template\u0026amp;description=Apply+a+workflow+template+to+a+bot+by+providing+values+for+all+required+variables.+If+the+template+has+already+been+applied+to+this+bot%2C+the+existing+workflow+w\u0026amp;theme=a96b5442c4c1c4ebd6e3f959\u0026amp;signature=f5ab963aaca414c2f86b83af5e4dbc15e521fcfc620bb4e432c09c775ec0b5c3\">\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/annie/1kKbW9uujrH1ztQE/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Annie Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7c3aed\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.helloannie.com/api-reference/templates/apply-bot-template\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/templates/apply-bot-template.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.helloannie.com/#organization\",\"name\":\"Annie Docs\",\"url\":\"https://docs.helloannie.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/annie/PXuvnQ8eUh7UEW46/logos/icon.svg?fit=max\u0026auto=format\u0026n=PXuvnQ8eUh7UEW46\u0026q=85\u0026s=f0c94e6cc1e59f80d474345f27618341\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.helloannie.com#website\",\"name\":\"Annie Docs\",\"url\":\"https://docs.helloannie.com\",\"publisher\":{\"@id\":\"https://docs.helloannie.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.helloannie.com/api-reference/templates/apply-bot-template#webpage\",\"url\":\"https://docs.helloannie.com/api-reference/templates/apply-bot-template\",\"name\":\"Apply bot template\",\"description\":\"Apply a workflow template to a bot by providing values for all required variables. If the template has already been applied to this bot, the existing workflow will be replaced.\",\"dateModified\":\"2026-11-05T22:46:53.170Z\",\"isPartOf\":{\"@id\":\"https://docs.helloannie.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.helloannie.com/api-reference/templates/apply-bot-template#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.helloannie.com/api-reference/templates/apply-bot-template#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Templates\",\"item\":\"https://docs.helloannie.com/api-reference/templates/batch-apply-bot-templates\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Apply bot template\",\"item\":\"https://docs.helloannie.com/api-reference/templates/apply-bot-template\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.helloannie.com/api-reference/templates/apply-bot-template#apireference\",\"headline\":\"Apply bot template\",\"name\":\"Apply bot template\",\"description\":\"Apply a workflow template to a bot by providing values for all required variables. If the template has already been applied to this bot, the existing workflow will be replaced.\",\"url\":\"https://docs.helloannie.com/api-reference/templates/apply-bot-template\",\"mainEntityOfPage\":{\"@id\":\"https://docs.helloannie.com/api-reference/templates/apply-bot-template#webpage\"},\"dateModified\":\"2026-11-05T22:46:53.170Z\",\"publisher\":{\"@id\":\"https://docs.helloannie.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.helloannie.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Annie Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Annie Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/templates/apply-bot-template.md","siteName":"Annie Docs","nav":{"global":null,"tabs":[{"tab":"Overview","icon":"book-open","pages":[{"title":"Overview","href":"/overview/introduction"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"API Reference","icon":"code","href":"/api-reference/introduction"}]},{"group":"Blueprints","pages":[{"title":"List blueprints","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /blueprints","href":"/api-reference/blueprints/list-blueprints"},{"title":"Create blueprint","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /blueprints","href":"/api-reference/blueprints/create-blueprint"},{"title":"Get blueprint","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /blueprints/{blueprintId}","href":"/api-reference/blueprints/get-blueprint"},{"title":"Delete blueprint","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /blueprints/{blueprintId}","href":"/api-reference/blueprints/delete-blueprint"},{"title":"Apply blueprint to bot","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /blueprints/{blueprintId}/apply","href":"/api-reference/blueprints/apply-blueprint-to-bot"},{"title":"Get blueprint apply job status","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /blueprints/jobs/{jobId}","href":"/api-reference/blueprints/get-blueprint-apply-job-status"}]},{"group":"Bot Webhooks","pages":[{"title":"Get bot webhook","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /bots/{botId}/webhooks","href":"/api-reference/bot-webhooks/get-bot-webhook"},{"title":"Upsert bot webhook","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /bots/{botId}/webhooks","href":"/api-reference/bot-webhooks/upsert-bot-webhook"},{"title":"Delete bot webhook","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /bots/{botId}/webhooks","href":"/api-reference/bot-webhooks/delete-bot-webhook"}]},{"group":"Bots","pages":[{"title":"List bots","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /bots","href":"/api-reference/bots/list-bots"},{"title":"Create bot","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /bots","href":"/api-reference/bots/create-bot"},{"title":"Get bot","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /bots/{botId}","href":"/api-reference/bots/get-bot"},{"title":"Update bot","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml patch /bots/{botId}","href":"/api-reference/bots/update-bot"},{"title":"Delete bot","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /bots/{botId}","href":"/api-reference/bots/delete-bot"}]},{"group":"Business Verification","pages":[{"title":"Get business verification status","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /organizations/{orgId}/business-verification","href":"/api-reference/business-verification/get-business-verification-status"},{"title":"Submit business verification","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /organizations/{orgId}/business-verification","href":"/api-reference/business-verification/submit-business-verification"}]},{"group":"Calls","pages":[{"title":"Queue an outbound call","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /call-requests","href":"/api-reference/calls/queue-an-outbound-call"},{"title":"Get queued call status","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /call-requests/{callRequestId}","href":"/api-reference/calls/get-queued-call-status"},{"title":"Start outbound call","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /calls","href":"/api-reference/calls/start-outbound-call"}]},{"group":"Closures","pages":[{"title":"List closures","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /organizations/{orgId}/closures","href":"/api-reference/closures/list-closures"},{"title":"Create closure","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /organizations/{orgId}/closures","href":"/api-reference/closures/create-closure"},{"title":"Get closure","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /organizations/{orgId}/closures/{closureId}","href":"/api-reference/closures/get-closure"},{"title":"Update closure","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /organizations/{orgId}/closures/{closureId}","href":"/api-reference/closures/update-closure"},{"title":"Delete closure","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /organizations/{orgId}/closures/{closureId}","href":"/api-reference/closures/delete-closure"}]},{"group":"Conversations","pages":[{"title":"List conversations","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /conversations","href":"/api-reference/conversations/list-conversations"},{"title":"Create conversation","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /conversations","href":"/api-reference/conversations/create-conversation"},{"title":"Get conversation","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /conversations/{conversationId}","href":"/api-reference/conversations/get-conversation"},{"title":"Close conversation","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /conversations/{conversationId}/close","href":"/api-reference/conversations/close-conversation"},{"title":"List conversation messages","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /conversations/{conversationId}/messages","href":"/api-reference/conversations/list-conversation-messages"}]},{"group":"FAQs","pages":[{"title":"List FAQs","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /organizations/{orgId}/faqs","href":"/api-reference/faqs/list-faqs"},{"title":"Create FAQ","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /organizations/{orgId}/faqs","href":"/api-reference/faqs/create-faq"},{"title":"Get FAQ","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /organizations/{orgId}/faqs/{faqId}","href":"/api-reference/faqs/get-faq"},{"title":"Update FAQ","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml patch /organizations/{orgId}/faqs/{faqId}","href":"/api-reference/faqs/update-faq"},{"title":"Delete FAQ","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /organizations/{orgId}/faqs/{faqId}","href":"/api-reference/faqs/delete-faq"}]},{"group":"Insurances","pages":[{"title":"List Insurance Providers","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /insurance-providers","href":"/api-reference/insurances/list-insurance-providers"},{"title":"List Insurances","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /organizations/{orgId}/insurances","href":"/api-reference/insurances/list-insurances"},{"title":"Create Insurance","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /organizations/{orgId}/insurances","href":"/api-reference/insurances/create-insurance"},{"title":"Get Insurance","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /organizations/{orgId}/insurances/{insuranceId}","href":"/api-reference/insurances/get-insurance"},{"title":"Update Insurance","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml patch /organizations/{orgId}/insurances/{insuranceId}","href":"/api-reference/insurances/update-insurance"},{"title":"Delete Insurance","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /organizations/{orgId}/insurances/{insuranceId}","href":"/api-reference/insurances/delete-insurance"}]},{"group":"Office Hours","pages":[{"title":"List office hours","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /organizations/{orgId}/office-hours","href":"/api-reference/office-hours/list-office-hours"},{"title":"Set office hours","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /organizations/{orgId}/office-hours","href":"/api-reference/office-hours/set-office-hours"}]},{"group":"Organizations","pages":[{"title":"List organizations","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /organizations","href":"/api-reference/organizations/list-organizations"},{"title":"Create organization","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /organizations","href":"/api-reference/organizations/create-organization"},{"title":"Get organization","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /organizations/{orgId}","href":"/api-reference/organizations/get-organization"},{"title":"Update organization","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml patch /organizations/{orgId}","href":"/api-reference/organizations/update-organization"},{"title":"Delete organization","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /organizations/{orgId}","href":"/api-reference/organizations/delete-organization"},{"title":"Disable organization communications","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /organizations/{orgId}/disable","href":"/api-reference/organizations/disable-organization-communications"},{"title":"Enable organization communications","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /organizations/{orgId}/enable","href":"/api-reference/organizations/enable-organization-communications"}]},{"group":"Phone Numbers","pages":[{"title":"List phone numbers","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /phone-numbers","href":"/api-reference/phone-numbers/list-phone-numbers"},{"title":"Create phone number","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /phone-numbers","href":"/api-reference/phone-numbers/create-phone-number"},{"title":"Get phone number","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /phone-numbers/{phoneNumberId}","href":"/api-reference/phone-numbers/get-phone-number"},{"title":"Update phone number configuration","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml patch /phone-numbers/{phoneNumberId}","href":"/api-reference/phone-numbers/update-phone-number-configuration"},{"title":"Delete phone number","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /phone-numbers/{phoneNumberId}","href":"/api-reference/phone-numbers/delete-phone-number"},{"title":"Attach phone number to bot","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /phone-numbers/{phoneNumberId}/attach","href":"/api-reference/phone-numbers/attach-phone-number-to-bot"},{"title":"Detach phone number from bot","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /phone-numbers/{phoneNumberId}/detach","href":"/api-reference/phone-numbers/detach-phone-number-from-bot"},{"title":"Migrate phone number to organization","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /phone-numbers/{phoneNumberId}/migrate","href":"/api-reference/phone-numbers/migrate-phone-number-to-organization"}]},{"group":"Recordings","pages":[{"title":"Get conversation recording","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /recordings/{conversationId}","href":"/api-reference/recordings/get-conversation-recording"}]},{"group":"Responses","pages":[{"title":"Create response","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /conversations/{conversationId}/responses","href":"/api-reference/responses/create-response"}]},{"group":"Scheduling","pages":[{"title":"List scheduling appointment types","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /bots/{botId}/scheduling/appointment-types","href":"/api-reference/scheduling/list-scheduling-appointment-types"},{"title":"Schedule an appointment","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /bots/{botId}/scheduling/appointments","href":"/api-reference/scheduling/schedule-an-appointment"},{"title":"List scheduling availabilities","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /bots/{botId}/scheduling/availabilities","href":"/api-reference/scheduling/list-scheduling-availabilities"}]},{"group":"SMS","pages":[{"title":"Start outbound SMS conversation","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /sms","href":"/api-reference/sms/start-outbound-sms-conversation"}]},{"group":"Tag Groups","pages":[{"title":"List a bot's tag groups","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /bots/{botId}/tag-groups","href":"/api-reference/tag-groups/list-a-bots-tag-groups"},{"title":"Set a bot's tag groups","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /bots/{botId}/tag-groups","href":"/api-reference/tag-groups/set-a-bots-tag-groups"},{"title":"List tag groups","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /organizations/{orgId}/tag-groups","href":"/api-reference/tag-groups/list-tag-groups"},{"title":"Create tag group","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /organizations/{orgId}/tag-groups","href":"/api-reference/tag-groups/create-tag-group"},{"title":"Get tag group","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /organizations/{orgId}/tag-groups/{tagGroupId}","href":"/api-reference/tag-groups/get-tag-group"},{"title":"Update tag group","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /organizations/{orgId}/tag-groups/{tagGroupId}","href":"/api-reference/tag-groups/update-tag-group"},{"title":"Delete tag group","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /organizations/{orgId}/tag-groups/{tagGroupId}","href":"/api-reference/tag-groups/delete-tag-group"},{"title":"List tags in a group","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /organizations/{orgId}/tag-groups/{tagGroupId}/tags","href":"/api-reference/tag-groups/list-tags-in-a-group"}]},{"group":"Tags","pages":[{"title":"List tags","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /organizations/{orgId}/tags","href":"/api-reference/tags/list-tags"},{"title":"Create tag","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /organizations/{orgId}/tags","href":"/api-reference/tags/create-tag"},{"title":"Get tag","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /organizations/{orgId}/tags/{tagId}","href":"/api-reference/tags/get-tag"},{"title":"Update tag","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /organizations/{orgId}/tags/{tagId}","href":"/api-reference/tags/update-tag"},{"title":"Delete tag","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /organizations/{orgId}/tags/{tagId}","href":"/api-reference/tags/delete-tag"}]},{"group":"Templates","pages":[{"title":"Batch apply bot templates","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /bots/{botId}/batch-apply-templates","href":"/api-reference/templates/batch-apply-bot-templates"},{"title":"Batch remove bot templates","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /bots/{botId}/batch-remove-templates","href":"/api-reference/templates/batch-remove-bot-templates"},{"title":"List bot templates","description":"List templates currently applied to a bot, including application metadata, variable values, version freshness, and the workflow created by each template.","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /bots/{botId}/templates","href":"/api-reference/templates/list-bot-templates"},{"title":"Apply bot template","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /bots/{botId}/templates/{templateId}","href":"/api-reference/templates/apply-bot-template"},{"title":"Remove bot template","description":"Remove all current applications of a template from a bot and delete the workflows created by those template applications.","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /bots/{botId}/templates/{templateId}","href":"/api-reference/templates/remove-bot-template"},{"title":"List templates","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /templates","href":"/api-reference/templates/list-templates"},{"title":"Create template","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /templates","href":"/api-reference/templates/create-template"},{"title":"Get template","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /templates/{templateId}","href":"/api-reference/templates/get-template"},{"title":"Update template","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml put /templates/{templateId}","href":"/api-reference/templates/update-template"},{"title":"Delete template","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /templates/{templateId}","href":"/api-reference/templates/delete-template"},{"title":"Apply template to bot","deprecated":true,"version":null,"openapi":"/openapi/openapi.yaml post /templates/{templateId}/apply","href":"/api-reference/templates/apply-template-to-bot"},{"title":"Get batch job status","deprecated":true,"version":null,"openapi":"/openapi/openapi.yaml get /templates/batch/jobs/{jobId}","href":"/api-reference/templates/get-batch-job-status"},{"title":"Batch apply templates to bot","deprecated":true,"version":null,"openapi":"/openapi/openapi.yaml post /templates/batch/apply","href":"/api-reference/templates/batch-apply-templates-to-bot"},{"title":"Get batch job status","deprecated":true,"version":null,"openapi":"/openapi/openapi.yaml get /templates/batch/jobs/{jobId}","href":"/api-reference/templates/get-batch-job-status"}]},{"group":"Test Phone Numbers","pages":[{"title":"List test phone numbers","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /organizations/{orgId}/test-phone-numbers","href":"/api-reference/test-phone-numbers/list-test-phone-numbers"},{"title":"Add test phone number","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /organizations/{orgId}/test-phone-numbers","href":"/api-reference/test-phone-numbers/add-test-phone-number"},{"title":"Remove test phone number","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /organizations/{orgId}/test-phone-numbers/{id}","href":"/api-reference/test-phone-numbers/remove-test-phone-number"}]},{"group":"Variables","pages":[{"title":"List variables","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /organizations/{orgId}/variables","href":"/api-reference/variables/list-variables"},{"title":"Create variable","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /organizations/{orgId}/variables","href":"/api-reference/variables/create-variable"},{"title":"Get variable","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /organizations/{orgId}/variables/{variableId}","href":"/api-reference/variables/get-variable"},{"title":"Update variable","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml patch /organizations/{orgId}/variables/{variableId}","href":"/api-reference/variables/update-variable"},{"title":"Delete variable","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /organizations/{orgId}/variables/{variableId}","href":"/api-reference/variables/delete-variable"}]},{"group":"Verified Caller IDs","pages":[{"title":"List verified caller IDs","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /phone-numbers/verified-caller-ids","href":"/api-reference/verified-caller-ids/list-verified-caller-ids"},{"title":"Start caller ID verification","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /phone-numbers/verified-caller-ids","href":"/api-reference/verified-caller-ids/start-caller-id-verification"},{"title":"Get verified caller ID","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /phone-numbers/verified-caller-ids/{id}","href":"/api-reference/verified-caller-ids/get-verified-caller-id"},{"title":"Delete verified caller ID","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /phone-numbers/verified-caller-ids/{id}","href":"/api-reference/verified-caller-ids/delete-verified-caller-id"}]},{"group":"Workflows","pages":[{"title":"Export all workflows","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /bots/{botId}/workflows","href":"/api-reference/workflows/export-all-workflows"},{"title":"Create or update a workflow","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /bots/{botId}/workflows","href":"/api-reference/workflows/create-or-update-a-workflow"},{"title":"Export a single workflow","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /bots/{botId}/workflows/{workflowId}","href":"/api-reference/workflows/export-a-single-workflow"},{"title":"Delete a workflow","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /bots/{botId}/workflows/{workflowId}","href":"/api-reference/workflows/delete-a-workflow"}]}]}]},"basePath":"","title":"Apply bot template - Annie Docs","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DdEMm2kG.js","utils-BMo572L7.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C-4m9KAx.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DPLK2Oq9.js","snippetPresets-BKjfJMC9.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-DTsgtCEj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C8vmhyQM.js","shallow-r9w8LQGS.js","getApiPlaygroundDisplay-DjPI64HQ.js","CodeSnippet-C8Bvhl16.js","CodeSnippets-BtWUwcMy.js","Page-BIYvYBgk.js","getPastedJson-Dcm_3Pgl.js","icon-BXwrTpjc.js","MethodPill-CcjfVmmy.js","DuplicateIcon-BuKIbXAQ.js","createIcon-DaL9yXsO.js","DynamicMarkdown-Co5nikxh.js","SectionHeading-P4UNTsMZ.js","axios-vUo_bRtp.js","Markdown-CEfymfIH.js","clsx-Dq9TQuNi.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-D2J8knkn.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BgZ2ThuU.js"]}