Create custom HSM templates with positional parameters, interactive buttons, and media. Optionally, submit the template directly to WhatsApp for approval.
POST /v1/bots/{botId}/templates
Templates must be approved by the WhatsApp team before they can be used. Follow Meta’s guidelines to avoid rejections.
curl --request POST \ --url 'https://api.jelou.ai/v1/bots/BOT_ID/templates?sendToAprove=true' \ --header 'Authorization: Basic {{Base64EncodedUsername:Password}}' \ --header 'Content-Type: application/json' \ --data '{ "displayName": "text_template_utility", "template": "Thank you for your order, {{1}}! Your confirmation number is {{2}}. If you have any questions, contact support.", "example": "Thank you for your order, Maria! Your confirmation number is 71936. If you have any questions, contact support.", "elementName": "text_template_utility", "params": [ {"param": "1", "label": "customer", "example": "Maria"}, {"param": "2", "label": "order", "example": "71936"} ], "paramsNumber": 2, "type": "HSM", "language": "en", "category": "UTILITY", "interactiveAction": "NONE" }'
Text with quick reply buttons
curl --request POST \ --url 'https://api.jelou.ai/v1/bots/BOT_ID/templates?sendToAprove=true' \ --header 'Authorization: Basic {{Base64EncodedUsername:Password}}' \ --header 'Content-Type: application/json' \ --data '{ "displayName": "template_quick_reply", "template": "Thank you for your order, {{1}}! Your confirmation number is {{2}}. Use the buttons to contact us.", "example": "Thank you for your order, Maria! Your confirmation number is 57893. Use the buttons to contact us.", "elementName": "template_quick_reply", "params": [ {"param": "1", "label": "customer", "example": "Maria"}, {"param": "2", "label": "order", "example": "57893"} ], "paramsNumber": 2, "type": "HSM", "language": "en", "category": "UTILITY", "interactiveAction": "QUICK_REPLY", "buttons": [ {"text": "Contact Support", "type": "QUICK_REPLY"}, {"text": "Contact Sales", "type": "QUICK_REPLY"} ] }'
Text with CTA buttons
curl --request POST \ --url 'https://api.jelou.ai/v1/bots/BOT_ID/templates?sendToAprove=true' \ --header 'Authorization: Basic {{Base64EncodedUsername:Password}}' \ --header 'Content-Type: application/json' \ --data '{ "displayName": "template_call_action", "template": "Thank you for your order, {{1}}! Your confirmation number is {{2}}. Use the buttons to contact us.", "example": "Thank you for your order, Maria! Your confirmation number is 67996. Use the buttons to contact us.", "elementName": "template_call_action", "params": [ {"param": "1", "label": "customer", "example": "Maria"}, {"param": "2", "label": "order", "example": "67996"} ], "paramsNumber": 2, "type": "HSM", "language": "en", "category": "UTILITY", "interactiveAction": "CALL_TO_ACTION", "buttons": [ {"text": "Contact Support", "type": "URL", "url": "https://apps.jelou.ai", "example": "https://apps.jelou.ai"}, {"text": "Call", "type": "PHONE_NUMBER", "phone_number": "+PHONE_NUMBER"} ] }'
Image
curl --request POST \ --url 'https://api.jelou.ai/v1/bots/BOT_ID/templates?sendToAprove=true' \ --header 'Authorization: Basic {{Base64EncodedUsername:Password}}' \ --header 'Content-Type: application/json' \ --data '{ "displayName": "image_template", "template": "Hello {{1}}. We invite you to check out our promotions.", "example": "Hello Maria. We invite you to check out our promotions.", "elementName": "image_template", "params": [ {"param": "1", "label": "customer", "example": "Maria"} ], "paramsNumber": 1, "type": "IMAGE", "language": "en", "category": "MARKETING", "mediaUrl": "https://cdn.example.com/image.jpeg", "interactiveAction": "NONE" }'
Meta has restricted content for the authentication category. The content will be according to the template language. Meta is restricted to a single parameter.
When the HSM type is CAROUSEL, the template field holds the text shown above the carousel, and each item in cards defines a swipeable card with its own media, text, and buttons. In this case, the template-level interactiveAction is NONE, because buttons are configured inside each card.
Property
Type
Description
type
string
Card media type. Example: IMAGE
mediaUrl
string
Card media URL.
template
string
Card text.
example
string
Example of the card text. If the card has parameters, they must be replaced with an example.
{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"Jelou AI Docs","colors":{"primary":"#00B3C7","light":"#07C983","dark":"#15803D"},"logo":"https://mintcdn.com/jelouai/ohdyHu3U1l_f83jb/assets/images/logo.svg?fit=max\u0026auto=format\u0026n=ohdyHu3U1l_f83jb\u0026q=85\u0026s=96492f65ef93712f99d972c31ad08e09","favicon":"https://mintcdn.com/jelouai/ULgwEHLikEppkuDq/favicon.ico?fit=max\u0026auto=format\u0026n=ULgwEHLikEppkuDq\u0026q=85\u0026s=4b1610b2f8d778f447cb4f67c565d9d3","api":{"mdx":{"auth":{"method":"basic"},"server":"https://api.jelou.ai"}},"navbar":{"primary":{"type":"button","label":"Empezar","href":"https://apps.jelou.ai/signup"}},"footer":{"socials":{"x":"https://x.com/JelouAI","github":"https://github.com/Jeloulatam","linkedin":"https://linkedin.com/company/jelou-ai"}},"fonts":{"heading":{"family":"DM Sans","weight":700,"source":"assets/fonts/dm-sans-700.woff2","format":"woff2"},"body":{"family":"Inter","weight":400,"source":"assets/fonts/inter-400.woff2","format":"woff2"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"languages":[{"language":"es","default":true,"href":""},{"language":"en","href":"en"},{"language":"pt-BR","href":"pt"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"jelouai","hasAudioNarration":false,"actualSubdomain":"jelouai","customDomains":["docs.jelou.ai"],"gitSource":{"type":"github","owner":"jeloulatam","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae4caf7a84873b6342ad130","collectionId":"68fb7750-4c8e-488d-8fe9-b35a57d61dc3","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae4caf7a84873b6342ad130"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae4caf7a84873b6342ad130","clientVersion":"0.0.4054","searchFilterCounts":[{"language":"es","tag":"Brain Studio","count":272},{"language":"pt-BR","tag":"Brain Studio","count":272},{"language":"en","tag":"Brain Studio","count":262},{"language":"es","tag":"Marketplace","count":109},{"language":"pt-BR","tag":"Marketplace","count":109},{"language":"en","tag":"Marketplace","count":99},{"language":"es","tag":"API","count":80},{"language":"en","tag":"API","count":79},{"language":"pt-BR","tag":"API","count":79},{"language":"es","tag":"Pagos","count":61},{"language":"pt-BR","tag":"Pagamentos","count":61},{"language":"es","tag":"Desarrollador","count":58},{"language":"en","tag":"Developer","count":58},{"language":"pt-BR","tag":"Desenvolvedor","count":58},{"language":"es","tag":"Functions","count":56},{"language":"en","tag":"Functions","count":56},{"language":"en","tag":"Payments","count":51},{"language":"es","tag":"Proveedores de pago","count":47},{"language":"pt-BR","tag":"Provedores de Pagamento","count":47},{"language":"es","tag":"Nodos","count":42},{"language":"en","tag":"Nodes","count":42},{"language":"pt-BR","tag":"Nós","count":42},{"language":"en","tag":"Payment Providers","count":37},{"language":"es","tag":"E-Commerce","count":32},{"language":"en","tag":"E-Commerce","count":32},{"language":"pt-BR","tag":"E-Commerce","count":32},{"language":"pt-BR","tag":"Funções","count":29},{"language":"es","tag":"Configuración","count":27},{"language":"pt-BR","tag":"Configuração","count":27},{"language":"en","tag":"Configuration","count":26},{"language":"default","tag":"API","count":9},{"language":"default","tag":"Datum","count":4},{"language":"default","tag":"Widget","count":3},{"language":"default","tag":"Campañas","count":1},{"language":"default","tag":"Recursos","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":true,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"[email protected]","showHelpButton":true}},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":true,"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":"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":"llms-txt-v2","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":"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":"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":"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":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[{"_id":"695f0dc1ce817ff266c09160","deploymentId":"690b5c0b3fecf134e9284503","questionText":"¿Cómo funciona la memoria?","status":"active","generatedBy":"manual","createdAt":"2026-01-08T01:52:01.463Z","updatedAt":"2026-01-08T01:52:10.189Z","__v":0},{"_id":"695f0db5ce817ff266c0868e","deploymentId":"690b5c0b3fecf134e9284503","questionText":"¿Cómo obtengo el teléfono del usuario?","status":"active","generatedBy":"manual","createdAt":"2026-01-08T01:51:49.283Z","updatedAt":"2026-01-08T01:51:49.283Z","__v":0},{"_id":"695f0da0ce817ff266c076de","deploymentId":"690b5c0b3fecf134e9284503","questionText":"¿Cómo escribo un buen prompt?","status":"active","generatedBy":"manual","createdAt":"2026-01-08T01:51:28.820Z","updatedAt":"2026-01-08T01:52:05.727Z","__v":0}],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":"@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/inter-400.woff2) format('woff2')}@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/inter-500.woff2) format('woff2')}@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/inter-600.woff2) format('woff2')}@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/inter-700.woff2) format('woff2')}@font-face{font-family:'DM Sans';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/dm-sans-400.woff2) format('woff2')}@font-face{font-family:'DM Sans';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/dm-sans-500.woff2) format('woff2')}@font-face{font-family:'DM Sans';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/dm-sans-600.woff2) format('woff2')}@font-face{font-family:'DM Sans';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/dm-sans-700.woff2) format('woff2')}:root{--font-family-headings-custom:\"DM Sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", system-ui, sans-serif;--font-family-body:\"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", system-ui, sans-serif}body,button,div,input,label,li,p,select,span,td,textarea,th{font-family:var(--font-family-body)}[class*=H1],[class*=H2],[class*=H3],[class*=H4],[class*=H5],[class*=H6],[class*=Heading],[class*=Title],[class*=h1],[class*=h2],[class*=h3],[class*=h4],[class*=h5],[class*=h6],[class*=heading],[class*=title],article h1,article h2,article h3,article h4,article h5,article h6,h1,h2,h3,h4,h5,h6,main h1,main h2,main h3,main h4,main h5,main h6,section h1,section h2,section h3,section h4,section h5,section h6{font-family:var(--font-family-headings-custom)!important}footer [class*=Mintlify],footer [class*=Powered],footer [class*=mintlify],footer [class*=powered],footer a[href*=\"mintlify.com\"],footer a[href*=\"mintlify.io\"],footer a[href*=mintlify],footer div:has(a[href*=mintlify]),footer p:has(a[href*=mintlify]){display:none!important;visibility:hidden!important}.mp-country-selector>div{border:1px solid rgba(0,179,199,.25);border-left:4px solid #00b3c7;border-radius:.5rem;background:rgba(0,179,199,.05)}"}],"page":{"pagePath":"en/api/campanas/crear-plantilla","slug":"/en/api/campanas/crear-plantilla","pageMetadata":{"title":"Create Template","description":"Create a new HSM template and submit it to WhatsApp for approval","openapi":"POST /v1/bots/{botId}/templates","href":"/en/api/campanas/crear-plantilla"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create a new HSM template and submit it to WhatsApp for approval\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,hr:`hr`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,CodeBlock,Heading,Note,Table,Tip}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Create custom HSM templates with positional parameters, interactive buttons, and media. Optionally, submit the template directly to WhatsApp for approval.`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`POST /v1/bots/{botId}/templates`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Templates`}),` must be approved by the WhatsApp team before they can be used. Follow Meta’s guidelines to avoid rejections.`]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`path-parameters`,children:`Path Parameters`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Property`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`botId`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Unique bot ID. Example: `,_jsx(_components.code,{children:`123456789`})]})]})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`query-parameters`,children:`Query Parameters`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Property`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`sendToAprove`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Defines whether the template should be submitted to WhatsApp for approval.`})]})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request Body`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Property`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`category`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`HSM template category. Values: `,_jsx(_components.code,{children:`UTILITY`}),`, `,_jsx(_components.code,{children:`MARKETING`}),`, `,_jsx(_components.code,{children:`AUTHENTICATION`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`language`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Template language.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`isVisible`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Defines whether the template should be shown to operators.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`params`})}),_jsx(_components.td,{children:`array`}),_jsx(_components.td,{children:`Parameter structure. For the authentication category, Meta has restricted to one parameter.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`paramsNumber`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`Number of parameters. For the authentication category, Meta has restricted to one parameter.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`elementName`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Unique identifier for the template. Can only contain lowercase letters, underscores (`,_jsx(_components.code,{children:`_`}),`), and numbers.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`displayName`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Display name of the template.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`template`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Template body. For the authentication category, Meta has restricted the content.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`HSM type. Values: `,_jsx(_components.code,{children:`HSM`}),`, `,_jsx(_components.code,{children:`IMAGE`}),`, `,_jsx(_components.code,{children:`VIDEO`}),`, `,_jsx(_components.code,{children:`DOCUMENT`}),`, `,_jsx(_components.code,{children:`CAROUSEL`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`mediaUrl`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Media URL. Required when the HSM type is `,_jsx(_components.code,{children:`IMAGE`}),`, `,_jsx(_components.code,{children:`VIDEO`}),`, `,_jsx(_components.code,{children:`DOCUMENT`}),`. Not applicable for the authentication category.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`interactiveAction`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`HSM interactive action. Values: `,_jsx(_components.code,{children:`NONE`}),`, `,_jsx(_components.code,{children:`CALL_TO_ACTION`}),`, `,_jsx(_components.code,{children:`QUICK_REPLY`}),`, `,_jsx(_components.code,{children:`OTP`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`buttons`})}),_jsx(_components.td,{children:`array`}),_jsxs(_components.td,{children:[`Button structure. Required when the HSM interactive action is `,_jsx(_components.code,{children:`CALL_TO_ACTION`}),`, `,_jsx(_components.code,{children:`QUICK_REPLY`}),`, or `,_jsx(_components.code,{children:`OTP`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`header`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Template header. Applicable only for text-type templates. Not applicable for the authentication category and has a 60-character limit.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`exampleHeader`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Header example. Required only if the template will have a header.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`headerParams`})}),_jsx(_components.td,{children:`array`}),_jsx(_components.td,{children:`Parameter structure. The header supports a maximum of one parameter.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`example`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Template example. If the template has a parameter, it must be replaced with an example.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`extraSettings`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Optional settings for the template.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`cards`})}),_jsx(_components.td,{children:`array`}),_jsxs(_components.td,{children:[`Carousel cards. Required when the HSM type is `,_jsx(_components.code,{children:`CAROUSEL`}),`. See `,_jsx(_components.a,{href:`#cards-structure`,children:`Cards Structure`}),`.`]})]})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`request-examples`,children:`Request Examples`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`Text`,id:`text`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`19`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`19`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.jelou.ai/v1/bots/BOT_ID/templates?sendToAprove=true'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Basic {{Base64EncodedUsername:Password}}'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"displayName\": \"text_template_utility\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"template\": \"Thank you for your order, {{1}}! Your confirmation number is {{2}}. If you have any questions, contact support.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"example\": \"Thank you for your order, Maria! Your confirmation number is 71936. If you have any questions, contact support.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"elementName\": \"text_template_utility\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"params\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {\"param\": \"1\", \"label\": \"customer\", \"example\": \"Maria\"},`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {\"param\": \"2\", \"label\": \"order\", \"example\": \"71936\"}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"paramsNumber\": 2,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"HSM\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"language\": \"en\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"category\": \"UTILITY\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"interactiveAction\": \"NONE\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})}),_jsx(Accordion,{title:`Text with quick reply buttons`,id:`text-with-quick-reply-buttons`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`23`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`23`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.jelou.ai/v1/bots/BOT_ID/templates?sendToAprove=true'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Basic {{Base64EncodedUsername:Password}}'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"displayName\": \"template_quick_reply\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"template\": \"Thank you for your order, {{1}}! Your confirmation number is {{2}}. Use the buttons to contact us.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"example\": \"Thank you for your order, Maria! Your confirmation number is 57893. Use the buttons to contact us.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"elementName\": \"template_quick_reply\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"params\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {\"param\": \"1\", \"label\": \"customer\", \"example\": \"Maria\"},`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {\"param\": \"2\", \"label\": \"order\", \"example\": \"57893\"}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"paramsNumber\": 2,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"HSM\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"language\": \"en\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"category\": \"UTILITY\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"interactiveAction\": \"QUICK_REPLY\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"buttons\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {\"text\": \"Contact Support\", \"type\": \"QUICK_REPLY\"},`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {\"text\": \"Contact Sales\", \"type\": \"QUICK_REPLY\"}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})}),_jsx(Accordion,{title:`Text with CTA buttons`,id:`text-with-cta-buttons`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`23`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`23`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.jelou.ai/v1/bots/BOT_ID/templates?sendToAprove=true'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Basic {{Base64EncodedUsername:Password}}'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"displayName\": \"template_call_action\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"template\": \"Thank you for your order, {{1}}! Your confirmation number is {{2}}. Use the buttons to contact us.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"example\": \"Thank you for your order, Maria! Your confirmation number is 67996. Use the buttons to contact us.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"elementName\": \"template_call_action\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"params\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {\"param\": \"1\", \"label\": \"customer\", \"example\": \"Maria\"},`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {\"param\": \"2\", \"label\": \"order\", \"example\": \"67996\"}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"paramsNumber\": 2,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"HSM\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"language\": \"en\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"category\": \"UTILITY\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"interactiveAction\": \"CALL_TO_ACTION\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"buttons\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {\"text\": \"Contact Support\", \"type\": \"URL\", \"url\": \"https://apps.jelou.ai\", \"example\": \"https://apps.jelou.ai\"},`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {\"text\": \"Call\", \"type\": \"PHONE_NUMBER\", \"phone_number\": \"+PHONE_NUMBER\"}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})}),_jsx(Accordion,{title:`Image`,id:`image`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`19`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`19`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.jelou.ai/v1/bots/BOT_ID/templates?sendToAprove=true'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Basic {{Base64EncodedUsername:Password}}'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"displayName\": \"image_template\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"template\": \"Hello {{1}}. We invite you to check out our promotions.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"example\": \"Hello Maria. We invite you to check out our promotions.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"elementName\": \"image_template\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"params\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {\"param\": \"1\", \"label\": \"customer\", \"example\": \"Maria\"}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"paramsNumber\": 1,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"IMAGE\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"language\": \"en\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"category\": \"MARKETING\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"mediaUrl\": \"https://cdn.example.com/image.jpeg\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"interactiveAction\": \"NONE\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})}),_jsx(Accordion,{title:`Document`,id:`document`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`19`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`19`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.jelou.ai/v1/bots/BOT_ID/templates?sendToAprove=true'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Basic {{Base64EncodedUsername:Password}}'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"displayName\": \"document_template\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"template\": \"Hello {{1}}. Please find your requested document attached.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"example\": \"Hello Maria. Please find your requested document attached.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"elementName\": \"document_template\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"params\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {\"param\": \"1\", \"label\": \"customer\", \"example\": \"Maria\"}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"paramsNumber\": 1,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"DOCUMENT\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"language\": \"en\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"category\": \"MARKETING\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"mediaUrl\": \"https://cdn.example.com/document.pdf\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"interactiveAction\": \"NONE\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})}),_jsx(Accordion,{title:`Video`,id:`video`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`19`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`19`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.jelou.ai/v1/bots/BOT_ID/templates?sendToAprove=true'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Basic {{Base64EncodedUsername:Password}}'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"displayName\": \"video_template\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"template\": \"Hello {{1}}. Watch our new video.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"example\": \"Hello Maria. Watch our new video.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"elementName\": \"video_template\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"params\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {\"param\": \"1\", \"label\": \"customer\", \"example\": \"Maria\"}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"paramsNumber\": 1,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"VIDEO\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"language\": \"en\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"category\": \"MARKETING\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"mediaUrl\": \"https://cdn.example.com/video.mp4\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"interactiveAction\": \"NONE\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})}),_jsx(Accordion,{title:`Carousel`,id:`carousel`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`42`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`42`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.jelou.ai/v1/bots/BOT_ID/templates?sendToAprove=true'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Basic {{Base64EncodedUsername:Password}}'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"displayName\": \"carousel_template\",`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"template\": \"Hello {{1}}, check out this week's`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` deals.\",`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"example\": \"Hello`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Maria,`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` check`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` out`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` this`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` week's deals.\",`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"elementName\": \"carousel_template\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"params\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {\"param\": \"1\", \"label\": \"customer\", \"example\": \"Maria\"}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"paramsNumber\": 1,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"CAROUSEL\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"language\": \"en\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"category\": \"MARKETING\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"interactiveAction\": \"NONE\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"cards\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"IMAGE\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"mediaUrl\": \"https://cdn.example.com/product-1.jpeg\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"template\": \"Running shoes 20% off.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"example\": \"Running shoes 20% off.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"params\": [],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"paramsNumber\": 0,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"buttons\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {\"type\": \"QUICK_REPLY\", \"text\": \"I want these\"}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"IMAGE\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"mediaUrl\": \"https://cdn.example.com/product-2.jpeg\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"template\": \"City backpacks with free shipping.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"example\": \"City backpacks with free shipping.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"params\": [],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"paramsNumber\": 0,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"buttons\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {\"type\": \"QUICK_REPLY\", \"text\": \"I want this one\"}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`responses`,children:`Responses`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`200 - Successful response`,id:`200-successful-response`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`21`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`21`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Template has been created.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"template\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hello! We are *Jelou*. `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Welcome _{{1}}_. Soon {{2}} from the team will reach out to you.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"displayName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Welcome\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"elementName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"test_hsm_api\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"params\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"label\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Customer name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"param\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"label\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Agent name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"param\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"paramsNumber\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"isVisible\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"language\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"EN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"createdAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2021-01-28T15:08:38.492Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"updatedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2021-01-28T15:08:38.492Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"botId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BOT_ID\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"companyId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`100`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"APPROVED\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),_jsx(Accordion,{title:`400 - Bad Request`,id:`400-bad-request`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Template name already exists\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"failed\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),_jsx(Accordion,{title:`401 - Unauthorized`,id:`401-unauthorized`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Authentication failed\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),_jsx(Accordion,{title:`404 - Not Found`,id:`404-not-found`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The Channel could not be found at the moment.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"statusMessage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"failed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"E1019\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BOT_NOT_FOUND\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`status`}),` field in the response indicates whether your template has been approved by WhatsApp.`]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`language`,children:`Language`}),`\n`,_jsxs(_components.p,{children:[`The language supported by WhatsApp is detailed on the official page. Please review it carefully at the `,_jsx(_components.a,{href:`https://developers.facebook.com/docs/whatsapp/api/messages/message-templates#supported-languages-`,children:`following link`}),`.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`content-restrictions-authentication-category`,children:`Content Restrictions (Authentication Category)`}),`\n`,_jsx(_components.p,{children:`Meta has restricted content for the authentication category. The content will be according to the template language. Meta is restricted to a single parameter.`}),`\n`,_jsx(Heading,{level:`3`,id:`language-2`,children:`Language`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Language`}),_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Content`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`English`})}),_jsx(_components.td,{children:`en`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`{{1}}`}),` is your verification code.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Portuguese (BR)`})}),_jsx(_components.td,{children:`pt_BR`}),_jsxs(_components.td,{children:[`Seu código de verificação é `,_jsx(_components.code,{children:`{{1}}`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Spanish`})}),_jsx(_components.td,{children:`es`}),_jsxs(_components.td,{children:[`Tu código de verificación es `,_jsx(_components.code,{children:`{{1}}`}),`.`]})]})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`parameter-structure`,children:`Parameter Structure`}),`\n`,_jsxs(_components.p,{children:[`Use the following structure in the `,_jsx(_components.code,{children:`params`}),` field when creating a template:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"label\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Customer name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"param\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"label\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Order number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"param\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`button-structure`,children:`Button Structure`}),`\n`,_jsxs(_components.p,{children:[`Use the following structure in the `,_jsx(_components.code,{children:`buttons`}),` field when the interactive actions are `,_jsx(_components.code,{children:`CALL_TO_ACTION`}),`, `,_jsx(_components.code,{children:`QUICK_REPLY`}),`, or `,_jsx(_components.code,{children:`OTP`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`quick_reply`,children:`QUICK_REPLY`}),`\n`,_jsx(_components.p,{children:`Used to obtain quick replies. It is an array of objects and can have a maximum of 3 buttons.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Property`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`text`})}),_jsx(_components.td,{children:`Button text, this value cannot be updated.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`type`})}),_jsxs(_components.td,{children:[`Button type. Value: `,_jsx(_components.code,{children:`QUICK_REPLY`})]})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"More information\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"QUICK_REPLY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Talk to an operator\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"QUICK_REPLY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Sales\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"QUICK_REPLY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`call_to_action`,children:`CALL_TO_ACTION`}),`\n`,_jsx(_components.p,{children:`Used to offer a call to action. Can have a maximum of 2 buttons and a maximum of 1 button of each type.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Property`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`text`})}),_jsx(_components.td,{children:`Button text, this value cannot be updated.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`type`})}),_jsxs(_components.td,{children:[`Button type. Values: `,_jsx(_components.code,{children:`PHONE_NUMBER`}),`, `,_jsx(_components.code,{children:`URL`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`phone_number`})}),_jsx(_components.td,{children:`Button phone number.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`url`})}),_jsx(_components.td,{children:`Button URL.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`example`})}),_jsxs(_components.td,{children:[`URL example. Required when the button type is `,_jsx(_components.code,{children:`URL`}),`.`]})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Sales\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"phone_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+PHONE_NUMBER\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PHONE_NUMBER\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"URL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"View site\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://apps.jelou.ai/{{1}}\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"example\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://apps.jelou.ai/offers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`otp`,children:`OTP`}),`\n`,_jsx(_components.p,{children:`Used to obtain a “One Time Password”. Can have a maximum of 1 button.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Property`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`text`})}),_jsx(_components.td,{children:`Button text, this value cannot be updated.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`type`})}),_jsxs(_components.td,{children:[`Button type. Value: `,_jsx(_components.code,{children:`OTP`})]})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"COPY CODE\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"OTP\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`extrasettings-structure`,children:`extraSettings Structure`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Property`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`addSecurityRecommendation`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Adds an additional security message in authentication templates.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`codeExpirationMinutes`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`Adds a footer message with the code expiration time. Values between 1 and 90 minutes.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`allowChangeCategory`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Allows Meta to update the template category if necessary.`})]})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`cards-structure`,children:`Cards Structure`}),`\n`,_jsxs(_components.p,{children:[`When the HSM type is `,_jsx(_components.code,{children:`CAROUSEL`}),`, the `,_jsx(_components.strong,{children:`template`}),` field holds the text shown above the carousel, and each item in `,_jsx(_components.strong,{children:`cards`}),` defines a swipeable card with its own media, text, and buttons. In this case, the template-level `,_jsx(_components.strong,{children:`interactiveAction`}),` is `,_jsx(_components.code,{children:`NONE`}),`, because buttons are configured inside each card.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Property`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Card media type. Example: `,_jsx(_components.code,{children:`IMAGE`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`mediaUrl`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Card media URL.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`template`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Card text.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`example`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Example of the card text. If the card has parameters, they must be replaced with an example.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`params`})}),_jsx(_components.td,{children:`array`}),_jsxs(_components.td,{children:[`Card text parameters. Follows the `,_jsx(_components.a,{href:`#parameter-structure`,children:`Parameter Structure`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`paramsNumber`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`Number of card parameters.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`buttons`})}),_jsx(_components.td,{children:`array`}),_jsxs(_components.td,{children:[`Card buttons. Follows the `,_jsx(_components.a,{href:`#button-structure`,children:`Button Structure`}),`.`]})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create Template","description":"Create a new HSM template and submit it to WhatsApp for approval","openapi":"POST /v1/bots/{botId}/templates","href":"/en/api/campanas/crear-plantilla"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Path Parameters","slug":"path-parameters","depth":2,"children":[]},{"title":"Query Parameters","slug":"query-parameters","depth":2,"children":[]},{"title":"Request Body","slug":"request-body","depth":2,"children":[]},{"title":"Request Examples","slug":"request-examples","depth":2,"children":[]},{"title":"Responses","slug":"responses","depth":2,"children":[]},{"title":"Language","slug":"language","depth":2,"children":[]},{"title":"Content Restrictions (Authentication Category)","slug":"content-restrictions-authentication-category","depth":2,"children":[{"title":"Language","slug":"language-2","depth":3,"children":[]}]},{"title":"Parameter Structure","slug":"parameter-structure","depth":2,"children":[]},{"title":"Button Structure","slug":"button-structure","depth":2,"children":[{"title":"QUICK_REPLY","slug":"quick_reply","depth":3,"children":[]},{"title":"CALL_TO_ACTION","slug":"call_to_action","depth":3,"children":[]},{"title":"OTP","slug":"otp","depth":3,"children":[]}]},{"title":"extraSettings Structure","slug":"extrasettings-structure","depth":2,"children":[]},{"title":"Cards Structure","slug":"cards-structure","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Crear Plantilla","description":"Create a new HSM template and submit it to WhatsApp for approval","operationId":"createTemplate","tags":["Campaigns"],"parameters":["4710502e-f228-44d9-b036-ce1e029f8816","e272eb5b-29d6-43d3-b68e-cddec0807576"],"requestBody":"929c2c8c-fc2c-45f1-a527-44b78f7af9c7","responses":{"200":"0f5985ce-ca36-4329-8767-4f26d852169a","400":"25509349-8a6d-4017-b82a-107a6248d9ed","401":"90ace139-3459-4e96-b33d-bb6850a5d53d","404":"30f075b2-71cc-4e7e-88ca-d7402f7f9192"},"method":"post","type":"path","servers":["17aa7894-c49a-4919-8f27-585334fc8ec8"],"security":["d9b4d874-e18b-403b-85ad-d2abb6b6a950"],"path":"/v1/bots/{botId}/templates","baseUrlOptions":["https://api.jelou.ai"],"title":"Crear Plantilla","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"4710502e-f228-44d9-b036-ce1e029f8816":{"name":"botId","in":"path","required":true,"schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"e272eb5b-29d6-43d3-b68e-cddec0807576":{"name":"sendToAprove","in":"query","schema":{"type":"boolean","uniqueKey":"","typeLabel":"boolean"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["elementName","template","category","language"],"properties":{"category":{"type":"string","enum":["UTILITY","MARKETING","AUTHENTICATION"],"isRequired":true,"uniqueKey":"category","typeLabel":"enum\u003cstring>"},"language":{"type":"string","isRequired":true,"uniqueKey":"language","typeLabel":"string"},"elementName":{"type":"string","pattern":"^[a-z0-9_]+$","isRequired":true,"uniqueKey":"elementName","typeLabel":"string"},"template":{"type":"string","isRequired":true,"uniqueKey":"template","typeLabel":"string"},"isVisible":{"type":"boolean","uniqueKey":"isVisible","typeLabel":"boolean"},"params":{"type":"array","items":{"type":"object","properties":{"param":{"type":"string","uniqueKey":"params.items.[INDEX].param","typeLabel":"string"},"label":{"type":"string","uniqueKey":"params.items.[INDEX].label","typeLabel":"string"},"example":{"type":"string","uniqueKey":"params.items.[INDEX].example","typeLabel":"string"}},"uniqueKey":"params.items.[INDEX]","typeLabel":"object"},"uniqueKey":"params","typeLabel":"object[]"},"paramsNumber":{"type":"integer","uniqueKey":"paramsNumber","typeLabel":"integer"},"displayName":{"type":"string","uniqueKey":"displayName","typeLabel":"string"},"type":{"type":"string","enum":["HSM","IMAGE","VIDEO","DOCUMENT"],"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"mediaUrl":{"type":"string","format":"uri","uniqueKey":"mediaUrl","typeLabel":"string\u003curi>"},"interactiveAction":{"type":"string","enum":["NONE","CALL_TO_ACTION","QUICK_REPLY","OTP"],"uniqueKey":"interactiveAction","typeLabel":"enum\u003cstring>"},"buttons":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","uniqueKey":"buttons.items.[INDEX].text","typeLabel":"string"},"type":{"type":"string","enum":["QUICK_REPLY","URL","PHONE_NUMBER","OTP"],"uniqueKey":"buttons.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"url":{"type":"string","uniqueKey":"buttons.items.[INDEX].url","typeLabel":"string"},"phone_number":{"type":"string","uniqueKey":"buttons.items.[INDEX].phone_number","typeLabel":"string"},"example":{"type":"string","uniqueKey":"buttons.items.[INDEX].example","typeLabel":"string"}},"uniqueKey":"buttons.items.[INDEX]","typeLabel":"object"},"uniqueKey":"buttons","typeLabel":"object[]"},"header":{"type":"string","maxLength":60,"uniqueKey":"header","typeLabel":"string"},"exampleHeader":{"type":"string","uniqueKey":"exampleHeader","typeLabel":"string"},"headerParams":{"type":"array","items":{"type":"object","uniqueKey":"headerParams.items.[INDEX]","typeLabel":"object"},"uniqueKey":"headerParams","typeLabel":"object[]"},"example":{"type":"string","uniqueKey":"example","typeLabel":"string"},"extraSettings":{"type":"object","properties":{"addSecurityRecommendation":{"type":"boolean","uniqueKey":"extraSettings.addSecurityRecommendation","typeLabel":"boolean"},"codeExpirationMinutes":{"type":"integer","minimum":1,"maximum":90,"uniqueKey":"extraSettings.codeExpirationMinutes","typeLabel":"integer"},"allowChangeCategory":{"type":"boolean","uniqueKey":"extraSettings.allowChangeCategory","typeLabel":"boolean"}},"uniqueKey":"extraSettings","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"language":"\u003cstring>","elementName":"\u003cstring>","template":"\u003cstring>","isVisible":true,"params":[{"param":"\u003cstring>","label":"\u003cstring>","example":"\u003cstring>"}],"paramsNumber":123,"displayName":"\u003cstring>","mediaUrl":"\u003cstring>","buttons":[{"text":"\u003cstring>","url":"\u003cstring>","phone_number":"\u003cstring>","example":"\u003cstring>"}],"header":"\u003cstring>","exampleHeader":"\u003cstring>","headerParams":[{}],"example":"\u003cstring>","extraSettings":{"addSecurityRecommendation":true,"codeExpirationMinutes":45,"allowChangeCategory":true}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"0f5985ce-ca36-4329-8767-4f26d852169a":{"description":"Plantilla creada exitosamente","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"array","items":{"type":"string","uniqueKey":"message.items.[INDEX]","typeLabel":"string"},"uniqueKey":"message","typeLabel":"string[]"},"status":{"type":"string","uniqueKey":"status","typeLabel":"string"},"data":{"type":"object","uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":["\u003cstring>"],"status":"\u003cstring>","data":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"25509349-8a6d-4017-b82a-107a6248d9ed":{"description":"Bad request - Invalid format or missing required fields","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"oneOf":[{"type":"string","uniqueKey":"message.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"string","uniqueKey":"message.oneOf.1.items.[INDEX]","typeLabel":"string"},"uniqueKey":"message.oneOf.1","typeLabel":"string[]"}],"uniqueKey":"message","typeLabel":"string | string[]"},"statusMessage":{"type":"string","uniqueKey":"statusMessage","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"status","typeLabel":"integer"},"error":{"type":"object","properties":{"code":{"type":"string","uniqueKey":"error.code","typeLabel":"string"},"key":{"type":"string","uniqueKey":"error.key","typeLabel":"string"},"description":{"type":"string","uniqueKey":"error.description","typeLabel":"string"},"developerMessages":{"type":"object","uniqueKey":"error.developerMessages","typeLabel":"object"},"clientMessages":{"type":"object","uniqueKey":"error.clientMessages","typeLabel":"object"}},"uniqueKey":"error","typeLabel":"object"},"validationError":{"type":"object","uniqueKey":"validationError","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","statusMessage":"\u003cstring>","status":123,"error":{"code":"\u003cstring>","key":"\u003cstring>","description":"\u003cstring>","developerMessages":{},"clientMessages":{}},"validationError":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"90ace139-3459-4e96-b33d-bb6850a5d53d":{"description":"Unauthorized - Invalid authentication credentials","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"oneOf":[{"type":"string","uniqueKey":"message.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"string","uniqueKey":"message.oneOf.1.items.[INDEX]","typeLabel":"string"},"uniqueKey":"message.oneOf.1","typeLabel":"string[]"}],"uniqueKey":"message","typeLabel":"string | string[]"},"statusMessage":{"type":"string","uniqueKey":"statusMessage","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"status","typeLabel":"integer"},"error":{"type":"object","properties":{"code":{"type":"string","uniqueKey":"error.code","typeLabel":"string"},"key":{"type":"string","uniqueKey":"error.key","typeLabel":"string"},"description":{"type":"string","uniqueKey":"error.description","typeLabel":"string"},"developerMessages":{"type":"object","uniqueKey":"error.developerMessages","typeLabel":"object"},"clientMessages":{"type":"object","uniqueKey":"error.clientMessages","typeLabel":"object"}},"uniqueKey":"error","typeLabel":"object"},"validationError":{"type":"object","uniqueKey":"validationError","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","statusMessage":"\u003cstring>","status":123,"error":{"code":"\u003cstring>","key":"\u003cstring>","description":"\u003cstring>","developerMessages":{},"clientMessages":{}},"validationError":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"30f075b2-71cc-4e7e-88ca-d7402f7f9192":{"description":"Not found - Resource not found","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"oneOf":[{"type":"string","uniqueKey":"message.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"string","uniqueKey":"message.oneOf.1.items.[INDEX]","typeLabel":"string"},"uniqueKey":"message.oneOf.1","typeLabel":"string[]"}],"uniqueKey":"message","typeLabel":"string | string[]"},"statusMessage":{"type":"string","uniqueKey":"statusMessage","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"status","typeLabel":"integer"},"error":{"type":"object","properties":{"code":{"type":"string","uniqueKey":"error.code","typeLabel":"string"},"key":{"type":"string","uniqueKey":"error.key","typeLabel":"string"},"description":{"type":"string","uniqueKey":"error.description","typeLabel":"string"},"developerMessages":{"type":"object","uniqueKey":"error.developerMessages","typeLabel":"object"},"clientMessages":{"type":"object","uniqueKey":"error.clientMessages","typeLabel":"object"}},"uniqueKey":"error","typeLabel":"object"},"validationError":{"type":"object","uniqueKey":"validationError","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","statusMessage":"\u003cstring>","status":123,"error":{"code":"\u003cstring>","key":"\u003cstring>","description":"\u003cstring>","developerMessages":{},"clientMessages":{}},"validationError":{}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"d9b4d874-e18b-403b-85ad-d2abb6b6a950":{"basicAuth":{"type":"http","scheme":"basic","description":"Basic authentication using Base64 encoded clientId:clientSecret","scopes":[],"schemeName":"basicAuth"}}},"servers":{"17aa7894-c49a-4919-8f27-585334fc8ec8":{"url":"https://api.jelou.ai","description":"Production server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"basic","description":"Basic authentication using Base64 encoded clientId:clientSecret","scopes":[],"schemeName":"basicAuth"},"schema":{"title":"Basic Auth","type":"object","description":"Basic authentication using Base64 encoded clientId:clientSecret","isRequired":true,"properties":{"username":{"type":"string","uniqueKey":"username","isRequired":true,"typeLabel":"string","deprecated":false},"password":{"type":"string","uniqueKey":"password","isRequired":true,"typeLabel":"string","deprecated":false}},"additionalProperties":false,"deprecated":false},"schemeName":"basicAuth","name":"Authorization"}],"title":"basicAuth"}]},"originalFileLocation":"api/openapi.json"},"subdomain":"jelouai","siteName":"Jelou AI Docs","title":"Create Template - Jelou AI Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"es":{"href":"/api/campanas/crear-plantilla","matchLevel":1},"en":{"href":"/en/api/campanas/crear-plantilla","matchLevel":0},"pt-BR":{"href":"/pt","matchLevel":4}}},"lastModified":"2026-10-07T19:53:46.617Z","originalFileLocation":"en/api/campanas/crear-plantilla.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create a new HSM template and submit it to WhatsApp for approval\">\u003cmeta data-mint-head name=\"application-name\" content=\"Jelou AI 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/jelouai/tavu7utr1-GgLh9T/_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/jelouai/tavu7utr1-GgLh9T/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/jelouai/tavu7utr1-GgLh9T/_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/jelouai/tavu7utr1-GgLh9T/_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/jelouai/tavu7utr1-GgLh9T/_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/jelouai/tavu7utr1-GgLh9T/_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/jelouai/tavu7utr1-GgLh9T/_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/jelouai/tavu7utr1-GgLh9T/_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/jelouai/tavu7utr1-GgLh9T/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Template - Jelou AI Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a new HSM template and submit it to WhatsApp for approval\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Jelou AI Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.jelou.ai/en/api/campanas/crear-plantilla\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://jelouai.mintlify.app/_mintlify/api/og/v2?division=Templates\u0026amp;title=Create+Template\u0026amp;description=Create+a+new+HSM+template+and+submit+it+to+WhatsApp+for+approval\u0026amp;theme=fdc8b10c9e8ca1066ec81c43\u0026amp;signature=bbc9cb4c3b939e9cfee1b26cd6cdecaf5def0b69b92bf5c2013f4b3117ca6d8c\">\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 Template - Jelou AI Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a new HSM template and submit it to WhatsApp for approval\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://jelouai.mintlify.app/_mintlify/api/og/v2?division=Templates\u0026amp;title=Create+Template\u0026amp;description=Create+a+new+HSM+template+and+submit+it+to+WhatsApp+for+approval\u0026amp;theme=fdc8b10c9e8ca1066ec81c43\u0026amp;signature=bbc9cb4c3b939e9cfee1b26cd6cdecaf5def0b69b92bf5c2013f4b3117ca6d8c\">\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/jelouai/tavu7utr1-GgLh9T/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Jelou AI Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#00B3C7\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.jelou.ai/en/api/campanas/crear-plantilla\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/api/campanas/crear-plantilla.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.jelou.ai/en/api/campanas/crear-plantilla\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.jelou.ai/api/campanas/crear-plantilla\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.jelou.ai/api/campanas/crear-plantilla\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.jelou.ai/#organization\",\"name\":\"Jelou AI Docs\",\"url\":\"https://docs.jelou.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/jelouai/ohdyHu3U1l_f83jb/assets/images/logo.svg?fit=max\u0026auto=format\u0026n=ohdyHu3U1l_f83jb\u0026q=85\u0026s=96492f65ef93712f99d972c31ad08e09\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.jelou.ai#website\",\"name\":\"Jelou AI Docs\",\"url\":\"https://docs.jelou.ai\",\"publisher\":{\"@id\":\"https://docs.jelou.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.jelou.ai/en/api/campanas/crear-plantilla#webpage\",\"url\":\"https://docs.jelou.ai/en/api/campanas/crear-plantilla\",\"name\":\"Create Template\",\"description\":\"Create a new HSM template and submit it to WhatsApp for approval\",\"dateModified\":\"2026-10-07T19:53:46.617Z\",\"isPartOf\":{\"@id\":\"https://docs.jelou.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.jelou.ai/en/api/campanas/crear-plantilla#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.jelou.ai/en/api/campanas/crear-plantilla#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Campaigns\",\"item\":\"https://docs.jelou.ai/en/api/campanas/obtener-plantillas\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Templates\",\"item\":\"https://docs.jelou.ai/en/api/campanas/obtener-plantillas\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create Template\",\"item\":\"https://docs.jelou.ai/en/api/campanas/crear-plantilla\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.jelou.ai/en/api/campanas/crear-plantilla#apireference\",\"headline\":\"Create Template\",\"name\":\"Create Template\",\"description\":\"Create a new HSM template and submit it to WhatsApp for approval\",\"url\":\"https://docs.jelou.ai/en/api/campanas/crear-plantilla\",\"mainEntityOfPage\":{\"@id\":\"https://docs.jelou.ai/en/api/campanas/crear-plantilla#webpage\"},\"dateModified\":\"2026-10-07T19:53:46.617Z\",\"publisher\":{\"@id\":\"https://docs.jelou.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.jelou.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Jelou AI Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Jelou AI Docs","nav":{"global":null,"languages":[{"language":"es","default":true,"pages":[{"title":"es","href":"/api/campanas/crear-plantilla"}]},{"language":"en","tabs":[{"tab":"Brain Studio","pages":[{"title":"Brain Studio","href":"/en"}]},{"tab":"Databases","pages":[{"title":"Databases","href":"/en/guides/datum/introduccion"}]},{"tab":"Functions","pages":[{"title":"Functions","href":"/en/guides/functions"}]},{"tab":"API","groups":[{"group":"API reference","pages":[{"title":"Introduction","href":"/en/api/introduction"}]},{"group":"Send Messages","icon":"message","pages":[{"title":"Introduction","href":"/en/api/envia-mensajes/introduccion"},{"title":"Send Messages","sidebarTitle":"Send Messages","openapi":"POST /v1/bots/{botId}/messages","href":"/en/api/envia-mensajes/Envio-de-mensajes"},{"group":"Message Types","pages":[{"title":"Text Message","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","href":"/en/api/envia-mensajes/texto"},{"title":"Message with Options","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","href":"/en/api/envia-mensajes/texto-con-opciones"},{"title":"Quick Replies","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/en/api/envia-mensajes/respuestas-rapidas"},{"title":"Image","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","href":"/en/api/envia-mensajes/imagen"},{"title":"Audio","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","href":"/en/api/envia-mensajes/audio"},{"title":"Video","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","href":"/en/api/envia-mensajes/video"},{"title":"File","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","href":"/en/api/envia-mensajes/archivo"},{"title":"Sticker","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/en/api/envia-mensajes/sticker"},{"title":"Location","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/en/api/envia-mensajes/ubicacion"},{"title":"Contact","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/en/api/envia-mensajes/contacto"},{"title":"Location Request","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/en/api/envia-mensajes/solicitud-ubicacion"},{"title":"Contact Request","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/en/api/envia-mensajes/solicitud-contacto"},{"title":"External URL","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","href":"/en/api/envia-mensajes/boton-url"},{"title":"Whatsapp Flows","openapi":"POST /v1/bots/{botId}/users/{userId}/flow_message","tag":"WhatsApp","href":"/en/api/envia-mensajes/boton-flujo"},{"title":"Call","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/en/api/envia-mensajes/boton-llamada"},{"title":"Carousel","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/en/api/envia-mensajes/carrusel"}]},{"title":"Workflows","href":"/en/api/envia-mensajes/configura-skill"}]},{"group":"Campaigns","icon":"send","pages":[{"group":"Templates","pages":[{"title":"Get Templates","description":"Retrieve all HSM templates configured in your channel","openapi":"GET /v1/bots/{botId}/templates","href":"/en/api/campanas/obtener-plantillas"},{"title":"Create Template","openapi":"POST /v1/bots/{botId}/templates","href":"/en/api/campanas/crear-plantilla"}]},{"title":"Individual Send (1-1)","description":"Send personalized HSM messages to individual recipients using the WhatsApp API","openapi":"POST /v2/whatsapp/{botId}/hsm","href":"/en/api/campanas/envio-individual"},{"title":"Bulk Send","openapi":"POST /v1/hsm/file","href":"/en/api/campanas/envio-masivo"},{"title":"Notifications","openapi":"GET /v1/external/bots/{botId}/notifications","href":"/en/api/campanas/notificaciones"},{"title":"Obtener Campañas","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/campaigns","href":"/api-reference/campaigns/obtener-campañas"},{"title":"Update campaign","openapi":"PUT /v1/campaigns/{campaignId}","href":"/en/api/campanas/actualizar-campana"},{"title":"Cancel campaign","openapi":"DELETE /v1/campaigns/{campaignId}","href":"/en/api/campanas/cancelar-campana"}]},{"group":"Conversations","icon":"clock-rotate-left","pages":[{"title":"Chat history","openapi":"GET /v1/external/messages/history/{botId}","href":"/en/api/conversaciones/historial"},{"title":"Agent conversations","openapi":"POST /v1/metrics/conversations/attended/external","href":"/en/api/conversaciones/conversaciones-asesores"}]},{"group":"Tags","icon":"tag","pages":[{"title":"Tag management","sidebarTitle":"Tag management","href":"/en/api/tags/tag-management"}]},{"group":"Metrics","icon":"chart-line","pages":[{"title":"Operator statistics","openapi":"GET /v1/metrics/conversations/external/stats","href":"/en/api/metricas/estadisticas-operadores"}]},{"group":"Users","icon":"user","pages":[{"title":"User status","openapi":"GET /v1/users/{userId}/state","href":"/en/api/usuarios/estado"},{"title":"User cache","sidebarTitle":"User Cache","href":"/en/api/usuarios/cache-de-usuario"}]},{"group":"Resources","icon":"folder","pages":[{"title":"Refrescar Recurso URL","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/external/assets/refresh","href":"/api-reference/resources/refrescar-recurso-url"}]},{"group":"Widget","icon":"grid-2","pages":[{"title":"Crear Usuarios","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/widget/user","href":"/api-reference/widget/crear-usuarios"},{"title":"Crear Widgets","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/widget/create","href":"/api-reference/widget/crear-widgets"},{"title":"Enviar mensaje al chat","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/rooms/{roomId}/message","href":"/api-reference/widget/enviar-mensaje-al-chat"}]},{"group":"Datum","icon":"database","pages":[{"title":"Get database information","sidebarTitle":"Get databases","openapi":"GET /v2/databases","href":"/en/api/Datum/Obtener-informacin-de-las-bases-de-datos"},{"title":"Crear registro","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v2/databases/{databaseId}/rows","href":"/api-reference/datum/crear-registro"},{"title":"Obtener registro","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v2/databases/{databaseId}/rows/{rowId}","href":"/api-reference/datum/obtener-registro"},{"title":"Actualizar un registro","deprecated":null,"version":null,"openapi":"/api/openapi.json put /v2/databases/{databaseId}/rows/{rowId}","href":"/api-reference/datum/actualizar-un-registro"},{"title":"Eliminar registro","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /v2/databases/{databaseId}/rows/{rowId}","href":"/api-reference/datum/eliminar-registro"}]},{"group":"External Support Panel","icon":"headset","pages":[{"group":"Integration process","pages":[{"title":"External Support Panel","sidebarTitle":"Introduction","href":"/en/api/pma-custom/introduccion"},{"title":"HMAC-SHA256 Signature","sidebarTitle":"Signature","href":"/en/api/pma-custom/firma-hmac"}]},{"group":"Integration","pages":[{"title":"Create integration","sidebarTitle":"Create integration","openapi":"POST /v1/external-support/{projectId}","href":"/en/api/pma-custom/crear-integracion"},{"title":"Get integration","sidebarTitle":"Get integration","openapi":"GET /v1/external-support/{projectId}","href":"/en/api/pma-custom/obtener-integracion"},{"title":"Update integration","sidebarTitle":"Update integration","openapi":"PATCH /v1/external-support/{projectId}","href":"/en/api/pma-custom/actualizar-integracion"},{"title":"Delete integration","sidebarTitle":"Delete integration","openapi":"DELETE /v1/external-support/{projectId}","href":"/en/api/pma-custom/eliminar-integracion"},{"title":"Regenerate signing secret","sidebarTitle":"Regenerate secret","openapi":"POST /v1/external-support/{projectId}/secret/regenerate","href":"/en/api/pma-custom/regenerar-secret"}]},{"group":"Conversation","pages":[{"title":"Start conversation","sidebarTitle":"Start conversation","openapi":"POST /v1/external-support/{projectId}/conversations/start","href":"/en/api/pma-custom/iniciar-conversacion"},{"title":"Close conversation","sidebarTitle":"Close conversation","openapi":"POST /v1/external-support/{projectId}/conversations/close","href":"/en/api/pma-custom/cerrar-conversacion"},{"title":"Get conversation","sidebarTitle":"Get conversation","openapi":"GET /v1/external-support/{projectId}/conversations/{conversationId}","href":"/en/api/pma-custom/consultar-conversacion"}]},{"group":"Messages","pages":[{"title":"Receive message from end user","sidebarTitle":"Receive message","href":"/en/api/pma-custom/recibir-mensajes"},{"title":"Send message to end user","sidebarTitle":"Send message","href":"/en/api/pma-custom/enviar-mensajes"}]}]},{"group":"Custom Channel","icon":"webhook","pages":[{"title":"Custom channel","sidebarTitle":"Introduction","href":"/en/api/custom-channel/introduction"},{"title":"Send interaction","sidebarTitle":"Send interaction","href":"/en/api/custom-channel/send-interaction"},{"title":"Response format","sidebarTitle":"Response format","href":"/en/api/custom-channel/response-format"},{"title":"Check status","sidebarTitle":"Check status","href":"/en/api/custom-channel/check-status"},{"title":"HMAC-SHA256 signature","sidebarTitle":"HMAC signature","href":"/en/api/custom-channel/hmac-signature"}]},{"group":"Memory Management","icon":"brain","pages":[{"title":"Memory Management","sidebarTitle":"Introduction","href":"/en/api/memoria/introduccion"},{"group":"Read","pages":[{"title":"Get records","sidebarTitle":"Get records","openapi":"POST /v2/memory/users/get-all","href":"/en/api/memoria/obtener-registros"},{"title":"Get one record","sidebarTitle":"Get one record","openapi":"POST /v2/memory/users/find-one","href":"/en/api/memoria/obtener-registro"}]},{"group":"Write","pages":[{"title":"Save records","sidebarTitle":"Save records","openapi":"POST /v2/memory/users/set","href":"/en/api/memoria/guardar-registros"}]}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/en/changelog"}]},{"tab":"Voice","pages":[{"title":"Voice","href":"/en/guides/voice/introduction"}]}]},{"language":"pt-BR","pages":[{"title":"pt-BR","href":"/pt"}]}]},"basePath":"","title":"Create Template - Jelou AI Docs","buildId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","deploymentId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C8RPHPxo.js","utils-0BK-9q6z.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DfjzsUJT.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B4v9psJ4.js","snippetPresets-CpTQv-Ez.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-BNP-Fvr0.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BSgu6h1D.js","shallow-Biv1i9Gs.js","getApiPlaygroundDisplay-BoGOXhtF.js","CodeSnippet-DvQoT18_.js","CodeSnippets-Dnpa15xT.js","Page-Buji1S4J.js","getPastedJson-xAIyhUFE.js","icon-S6FBih11.js","MethodPill-SaYeUZyk.js","DuplicateIcon-Cs-p3v2Q.js","createIcon-DjCFEoHq.js","DynamicMarkdown-BcnBltEQ.js","SectionHeading-BUBl0eEF.js","axios-vUo_bRtp.js","Markdown-h4cOoD8d.js","clsx-B2v50t8t.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DJnKvr0g.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BHrrjR1K.js"]}