Llamar a un cliente por WhatsApp exige permiso explícito. Este modelo es el pedido: tú escribes el motivo, y WhatsApp agrega el tramo de la autorización, con el nombre del perfil de tu cuenta.El componente CALL_PERMISSION_REQUESTno tiene ningún campo — su presencia es lo que define el modelo.No hay botón de aceptar ni botón de rechazar en la plantilla: quien dibuja la acción es WhatsApp. La documentación de Meta menciona permitir llamadas y permitir temporalmente, por 7 días, además del rechazo, pero no describe la pantalla — así que la previsualización de arriba es una aproximación, y la disposición de los botones en el teléfono puede ser otra.Lo que sí está documentado, y en lo que puedes confiar, es la respuesta: llega a tu webhook con response igual a accept o reject. Cuando el permiso es temporal, vienen también is_permanent: false y el expiration_timestamp.
Meta no deja combinar el componente de permiso con otros componentes interactivos. Nada de botones, carrusel ni sello de oferta en la misma plantilla.
Son dos JSON: uno crea la plantilla, y Meta la aprueba una vez. El otro envía el mensaje, y va en cada disparo, con los valores de ese envío en las variables marcadas con llaves.
Botones, carrusel o cualquier otro componente interactivo en la misma plantilla.
La categoría AUTHENTICATION.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Omni Z-API","colors":{"primary":"#477722","light":"#98de62","dark":"#3c4733"},"logo":{"light":"https://mintcdn.com/omni-z-api/pNLq09OUwDtXKuEM/logo/z-api-omni-light.svg?fit=max\u0026auto=format\u0026n=pNLq09OUwDtXKuEM\u0026q=85\u0026s=7aad26bd2103cc87f2c19ffc1848e641","dark":"https://mintcdn.com/omni-z-api/pNLq09OUwDtXKuEM/logo/z-api-omni-dark.svg?fit=max\u0026auto=format\u0026n=pNLq09OUwDtXKuEM\u0026q=85\u0026s=c44572e4f0dac29c3f570f7b4664b6f3"},"favicon":"https://mintcdn.com/omni-z-api/pNLq09OUwDtXKuEM/favicon.svg?fit=max\u0026auto=format\u0026n=pNLq09OUwDtXKuEM\u0026q=85\u0026s=d67282b7aba78da114b31d6e23b0d042","navbar":{"links":[{"href":"https://api.whatsapp.com/send?phone=5544999300032\u0026text=Ol%C3%A1!%20Gostaria%20de%20falar%20com%20o%20suporte%20do%20Omni%20Z-API.","label":"Suporte"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.omni.z-api.io"}},"footer":{"socials":{"website":"https://omni.z-api.io"}},"fonts":{"heading":{"family":"Space Grotesk"},"body":{"family":"Space Grotesk"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[]},"languages":[{"language":"pt-BR","href":""},{"language":"en","navbar":{"links":[{"href":"https://api.whatsapp.com/send?phone=5544999300032\u0026text=Hi!%20I%27d%20like%20to%20talk%20to%20Omni%20Z-API%20support.","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.omni.z-api.io"}},"href":"en"},{"language":"es","navbar":{"links":[{"href":"https://api.whatsapp.com/send?phone=5544999300032\u0026text=%C2%A1Hola!%20Me%20gustar%C3%ADa%20hablar%20con%20el%20soporte%20de%20Omni%20Z-API.","label":"Soporte"}],"primary":{"type":"button","label":"Panel","href":"https://app.omni.z-api.io"}},"href":"es"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"omni-z-api","hasAudioNarration":false,"actualSubdomain":"omni-z-api","customDomains":["developer.omni.z-api.io"],"gitSource":{"type":"github","owner":"irrahgroup","repo":"omni-zapi-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"latestBuiltDeploymentHistoryId":"6ae9d742fb19e826efc442e1","collectionId":"d95bc850-013c-4852-b92e-1e9c1b5b9caa","liveDeploymentHistoryId":"6ae9d742fb19e826efc442e1","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"}},"buildId":"6ae9d742fb19e826efc442e1","clientVersion":"0.0.4045","searchFilterCounts":[{"language":"pt-BR","tag":"Referência da API","count":90},{"language":"en","tag":"API Reference","count":90},{"language":"es","tag":"Referencia de la API","count":90},{"language":"pt-BR","tag":"Mensagens","count":38},{"language":"en","tag":"Messages","count":38},{"language":"es","tag":"Mensajes","count":38},{"language":"pt-BR","tag":"Guias","count":31},{"language":"en","tag":"Guides","count":31},{"language":"es","tag":"Guías","count":31},{"language":"pt-BR","tag":"Templates (WhatsApp)","count":26},{"language":"en","tag":"Templates (WhatsApp)","count":26},{"language":"es","tag":"Plantillas (WhatsApp)","count":26},{"language":"pt-BR","tag":"Webhooks","count":25},{"language":"en","tag":"Webhooks","count":25},{"language":"es","tag":"Webhooks","count":25},{"language":"pt-BR","tag":"Compatibilidade Z-API","count":21},{"language":"en","tag":"Z-API Compatibility","count":21},{"language":"es","tag":"Compatibilidad con Z-API","count":21},{"language":"pt-BR","tag":"Canais","count":19},{"language":"en","tag":"Channels","count":19},{"language":"es","tag":"Canales","count":19},{"language":"pt-BR","tag":"Criar template","count":15},{"language":"en","tag":"Create a template","count":15},{"language":"es","tag":"Crear plantilla","count":15},{"language":"pt-BR","tag":"Flows (WhatsApp)","count":10},{"language":"en","tag":"Flows (WhatsApp)","count":10},{"language":"es","tag":"Flows (WhatsApp)","count":10},{"language":"pt-BR","tag":"Templates","count":9},{"language":"en","tag":"Templates","count":9},{"language":"es","tag":"Plantillas","count":9}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"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}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":":root{--background-light:239 240 237;--background-dark:31 32 30}"}],"page":{"pagePath":"es/templates/models/call-permission-request","slug":"/es/templates/models/call-permission-request","pageMetadata":{"title":"Permiso de llamada","description":"Pide autorización para llamar por WhatsApp antes de la primera llamada","href":"/es/templates/models/call-permission-request"},"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: \"Pide autorización para llamar por WhatsApp antes de la primera llamada\"\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];const TemplatePreview=({header,headerKind=`text`,headerIcon,productLine,body,footer,buttons=[],cards=[],offer,coupon,order,callPermission,caption,height,lang=`pt`})=>{const L={pt:{contact:`Cliente teste`,label:`pré-visualização`,orderNote:`exemplo: os valores e os itens vêm no envio`,item:`Produto`,qty:`Qtd. 1`,subtotal:`Subtotal`,tax:`Taxas`,total:`Total`,callAsk:`A empresa pode te ligar?`,callAllow:`Permitir chamadas`,callAllowTemp:`Permitir por 7 dias`,money:`R$ 00,00`,price:`R$ preço`,name:`nome do produto`},en:{contact:`Test customer`,label:`preview`,orderNote:`sample: amounts and items come at send time`,item:`Product`,qty:`Qty. 1`,subtotal:`Subtotal`,tax:`Taxes`,total:`Total`,callAsk:`Can the business call you?`,callAllow:`Allow calls`,callAllowTemp:`Temporarily allow calls`,money:`$ 00.00`,price:`$ price`,name:`product name`},es:{contact:`Cliente de prueba`,label:`previsualización`,orderNote:`ejemplo: los valores y los ítems vienen en el envío`,item:`Producto`,qty:`Cant. 1`,subtotal:`Subtotal`,tax:`Impuestos`,total:`Total`,callAsk:`¿La empresa puede llamarte?`,callAllow:`Permitir llamadas`,callAllowTemp:`Permitir por 7 días`,money:`$ 00,00`,price:`$ precio`,name:`nombre del producto`}}[lang];const S={wrap:{display:`flex`,flexDirection:`column`,alignItems:`flex-start`,gap:8,margin:`16px 0`,flexShrink:0,scrollSnapAlign:`start`},device:{width:320,maxWidth:`100%`,padding:10,borderRadius:30,background:`#1f201e`,boxSizing:`border-box`,display:`flex`,flexDirection:`column`,height,boxShadow:`0 18px 40px -28px rgb(31 32 30 / .55)`},speaker:{display:`block`,width:`22%`,height:3,margin:`1px auto 6px`,borderRadius:999,background:`rgb(255 255 255 / .35)`},screen:{borderRadius:22,overflow:`hidden`,background:`#e9e4dc`,display:`flex`,flexDirection:`column`,flex:1,minHeight:0},bar:{display:`flex`,alignItems:`center`,gap:9,padding:`11px 13px`,background:`#477722`},avatar:{width:28,height:28,borderRadius:999,flexShrink:0,background:`rgb(255 255 255 / .22)`},name:{display:`block`,fontSize:12.5,fontWeight:600,lineHeight:1,color:`#fff`},sub:{display:`block`,marginTop:4,fontSize:10.5,lineHeight:1,color:`rgb(255 255 255 / .72)`},chat:{padding:`14px 13px`,minHeight:230,flex:1,overflowY:`auto`},bubble:{background:`#fff`,borderRadius:10,borderTopLeftRadius:2,maxWidth:252,boxShadow:`0 1px 1px rgb(0 0 0 / .13)`,overflow:`hidden`,fontSize:13,lineHeight:1.45,color:`#1f201e`},pad:{padding:`8px 10px 6px`},media:{height:92,background:`#f1efe9`,display:`flex`,alignItems:`center`,justifyContent:`center`,flexDirection:`column`,gap:3,fontSize:10,color:`#8a9183`,letterSpacing:`.04em`,textTransform:`uppercase`,textAlign:`center`,padding:`0 10px`,lineHeight:1.35},mediaSub:{textTransform:`none`,letterSpacing:0,fontSize:9.5},head:{fontWeight:700,marginBottom:4},foot:{fontSize:11,color:`#8a9183`,marginTop:6},time:{display:`block`,textAlign:`right`,fontSize:10,color:`#9aa093`,marginTop:2},btn:{borderTop:`1px solid #e7e9e3`,padding:`8px 10px`,textAlign:`center`,color:`#027eb5`,fontSize:12.5,fontWeight:500},chip:{display:`inline-block`,background:`#e3eed9`,color:`#477722`,borderRadius:5,padding:`2px 7px`,fontSize:11,fontWeight:700,marginBottom:6},invoice:{margin:`8px 0 2px`,padding:8,borderRadius:8,background:`#f6f5f1`,display:`flex`,flexDirection:`column`,gap:6},invoiceNote:{fontSize:9,color:`#9aa093`,textTransform:`uppercase`,letterSpacing:`.04em`},line:{display:`flex`,alignItems:`center`,gap:7},thumb:{width:26,height:26,borderRadius:5,flexShrink:0,background:`#fff`,border:`1px solid #e7e9e3`},lineName:{flex:1,minWidth:0,fontSize:10.5,lineHeight:1.3},lineQty:{display:`block`,fontSize:9,color:`#9aa093`},lineValue:{fontSize:10.5,flexShrink:0},totals:{display:`flex`,flexDirection:`column`,gap:3,paddingTop:5,borderTop:`1px solid #e7e9e3`},totalRow:{display:`flex`,justifyContent:`space-between`,fontSize:10.5},callCard:{display:`flex`,alignItems:`center`,gap:7,padding:`8px 10px`,fontSize:11.5,color:`#1f201e`},callIcon:{width:20,height:20,borderRadius:999,flexShrink:0,background:`#eef0ea`},row:{display:`flex`,gap:7,marginTop:7,maxWidth:252},card:{background:`#fff`,borderRadius:10,flex:1,minWidth:0,overflow:`hidden`,fontSize:12,boxShadow:`0 1px 1px rgb(0 0 0 / .13)`},cap:{fontSize:11.5,color:`var(--zp-ink-tertiary, #8a9183)`,width:320,maxWidth:`100%`,minHeight:34}};const ICON={catalog:`🛍`,product:`🛍`,location:`📍`,image:`🖼`,video:`▶`};const withVars=text=>String(text||``).split(/(\\{\\{[^}]+\\}\\})/g).map((part,i)=>part.startsWith(`{{`)?_jsx(`span`,{style:{background:`#e3eed9`,color:`#477722`,borderRadius:3,padding:`0 3px`},children:part},i):_jsx(`span`,{children:part},i));const mediaBlock=(label,sub,height)=>_jsxs(`div`,{style:height?{...S.media,height}:S.media,children:[headerIcon\u0026\u0026_jsx(`span`,{style:{fontSize:15},children:ICON[headerIcon]||``}),_jsx(`span`,{children:label}),sub\u0026\u0026_jsx(`span`,{style:S.mediaSub,children:sub})]});return _jsxs(`div`,{style:S.wrap,children:[_jsxs(`div`,{style:S.device,children:[_jsx(`span`,{\"aria-hidden\":`true`,style:S.speaker}),_jsxs(`div`,{style:S.screen,children:[_jsxs(`div`,{style:S.bar,children:[_jsx(`span`,{style:S.avatar}),_jsxs(`span`,{style:{minWidth:0},children:[_jsx(`span`,{style:S.name,children:L.contact}),_jsx(`span`,{style:S.sub,children:L.label})]})]}),_jsxs(`div`,{style:S.chat,children:[_jsxs(`div`,{style:S.bubble,children:[headerKind!==`text`\u0026\u0026headerKind!==`none`\u0026\u0026mediaBlock(headerKind,productLine===true?`${L.name} · ${L.price}`:productLine),_jsxs(`div`,{style:S.pad,children:[offer\u0026\u0026_jsx(`div`,{style:S.chip,children:offer}),header\u0026\u0026_jsx(`div`,{style:S.head,children:withVars(header)}),body\u0026\u0026_jsx(`div`,{style:{whiteSpace:`pre-wrap`},children:withVars(body)}),coupon\u0026\u0026_jsx(`div`,{style:{...S.chip,marginTop:8,marginBottom:0},children:coupon}),order\u0026\u0026_jsxs(`div`,{style:S.invoice,children:[_jsx(`span`,{style:S.invoiceNote,children:L.orderNote}),[1,2].map(i=>_jsxs(`span`,{style:S.line,children:[_jsx(`span`,{style:S.thumb}),_jsxs(`span`,{style:S.lineName,children:[L.item,` `,i,_jsx(`span`,{style:S.lineQty,children:L.qty})]}),_jsx(`span`,{style:S.lineValue,children:L.money})]},i)),_jsx(`span`,{style:S.totals,children:[[L.subtotal,false],[L.tax,false],[L.total,true]].map(([label,strong])=>_jsxs(`span`,{style:S.totalRow,children:[_jsx(`span`,{style:{fontWeight:strong?600:400,color:strong?`#1f201e`:`#6b7264`},children:label}),_jsx(`span`,{style:{fontWeight:strong?600:400},children:L.money})]},label))})]}),footer\u0026\u0026_jsx(`div`,{style:S.foot,children:footer}),_jsx(`span`,{style:S.time,children:`10:24`})]}),callPermission\u0026\u0026_jsxs(`div`,{style:{borderTop:`1px solid #e7e9e3`},children:[_jsxs(`div`,{style:S.callCard,children:[_jsx(`span`,{style:S.callIcon}),_jsx(`span`,{children:L.callAsk})]}),_jsx(`div`,{style:S.btn,children:L.callAllow}),_jsx(`div`,{style:S.btn,children:L.callAllowTemp})]}),buttons.map((b,i)=>_jsx(`div`,{style:S.btn,children:b},i))]}),cards.length>0\u0026\u0026_jsx(`div`,{style:S.row,children:cards.map((c,i)=>_jsxs(`div`,{style:S.card,children:[_jsxs(`div`,{style:{...S.media,height:64,gap:2},children:[_jsx(`span`,{children:c.media||`imagem`}),c.product\u0026\u0026_jsxs(`span`,{style:S.mediaSub,children:[L.name,` · `,L.price]})]}),c.text\u0026\u0026_jsx(`div`,{style:{padding:`6px 8px`},children:c.text}),(c.buttons||(c.button?[c.button]:[])).map((b,j)=>_jsx(`div`,{style:{...S.btn,padding:`6px 8px`,fontSize:11.5},children:b},j))]},i))})]})]})]}),caption\u0026\u0026_jsx(`div`,{style:S.cap,children:caption})]})};function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning,_MdxComponentBoundary}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:_jsx(_components.code,{children:`call_permission_request`})}),`\n`,_jsx(_components.p,{children:`Pide autorización para llamar por WhatsApp.`}),`\n`,_jsx(_MdxComponentBoundary,{name:`TemplatePreview`,children:_jsx(TemplatePreview,{lang:`es`,body:`¿Podemos llamarte para hablar de tu pedido {{numero_del_pedido}}?`,callPermission:true,caption:`Una aproximación. La tarjeta es de WhatsApp: texto fijo, el nombre del perfil de la cuenta y ningún botón que tú definas. Las dos acciones de permitir están documentadas; rechazar también existe, pero Meta no describe cómo aparecen las tres en pantalla.`})}),`\n`,_jsx(Heading,{level:`2`,id:`cómo-funciona`,children:`Cómo funciona`}),`\n`,_jsx(_components.p,{children:`Llamar a un cliente por WhatsApp exige permiso explícito. Este modelo es el pedido: tú escribes el motivo, y WhatsApp agrega el tramo de la autorización, con el nombre del perfil de tu cuenta.`}),`\n`,_jsxs(_components.p,{children:[`El componente `,_jsx(_components.code,{children:`CALL_PERMISSION_REQUEST`}),` `,_jsx(_components.strong,{children:`no tiene ningún campo`}),` — su presencia es lo que define el modelo.`]}),`\n`,_jsxs(_components.p,{children:[`No hay botón de aceptar ni botón de rechazar en la plantilla: quien dibuja la acción es WhatsApp. La documentación de Meta menciona `,_jsx(_components.strong,{children:`permitir llamadas`}),` y `,_jsx(_components.strong,{children:`permitir temporalmente`}),`, por 7 días, además del rechazo, pero no describe la pantalla — así que la previsualización de arriba es una aproximación, y la disposición de los botones en el teléfono puede ser otra.`]}),`\n`,_jsxs(_components.p,{children:[`Lo que sí está documentado, y en lo que puedes confiar, es la respuesta: llega a tu webhook con `,_jsx(_components.code,{children:`response`}),` igual a `,_jsx(_components.code,{children:`accept`}),` o `,_jsx(_components.code,{children:`reject`}),`. Cuando el permiso es temporal, vienen también `,_jsx(_components.code,{children:`is_permanent: false`}),` y el `,_jsx(_components.code,{children:`expiration_timestamp`}),`.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Meta `,_jsx(_components.strong,{children:`no deja combinar`}),` el componente de permiso con otros componentes interactivos. Nada de botones, carrusel ni sello de oferta en la misma plantilla.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`en-la-creación-y-en-el-envío`,children:`En la creación y en el envío`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`En la creación`}),_jsx(_components.th,{children:`En el envío`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`El texto que explica por qué quieres llamar`}),_jsx(_components.td,{children:`El valor de cada variable`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`El componente de permiso`}),_jsx(_components.td,{})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`campos-de-este-modelo`,children:`Campos de este modelo`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Campo`}),_jsx(_components.th,{children:`Para qué sirve`}),_jsx(_components.th,{children:`Regla`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`category`})}),_jsx(_components.td,{children:`Tú eliges`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`UTILITY`}),` o `,_jsx(_components.code,{children:`MARKETING`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`BODY`})}),_jsx(_components.td,{children:`El motivo de la llamada`}),_jsx(_components.td,{children:`Hasta 1024 caracteres`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`CALL_PERMISSION_REQUEST`})}),_jsx(_components.td,{children:`El pedido de autorización`}),_jsx(_components.td,{children:`Sin ningún campo`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`json-completo`,children:`JSON completo`}),`\n`,_jsxs(_components.p,{children:[`Son dos JSON: uno `,_jsx(_components.strong,{children:`crea`}),` la plantilla, y Meta la aprueba una vez. El otro `,_jsx(_components.strong,{children:`envía`}),` el mensaje, y va en cada disparo, con los valores de ese envío en las variables marcadas con llaves.`]}),`\n`,_jsx(Heading,{level:`3`,id:`1-crear-la-plantilla`,children:`1. Crear la plantilla`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`POST /whatsapp/businesses/{wabaId}/templates`}),` — ver en `,_jsx(_components.a,{href:`/es/templates/create-template`,children:`Referencia de la API`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`28`,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:`28`,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:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"exemplo_call_permission_request\"`}),_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:` \"category\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"UTILITY\"`}),_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:`\"es_ES\"`}),_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:` \"allow_category_change\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_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:` \"parameter_format\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"NAMED\"`}),_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:` \"components\"`}),_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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BODY\"`}),_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:` \"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hola {{nombre_del_cliente}}, tu pedido {{numero_del_pedido}} quedó confirmado y sale hoy para entrega.\"`}),_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:` \"example\"`}),_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:` \"body_text_named_params\"`}),_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:` \"param_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"nombre_del_cliente\"`}),_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:` \"example\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Marina\"`})]}),`\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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"param_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"numero_del_pedido\"`}),_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:` \"example\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1042\"`})]}),`\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(_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(_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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"CALL_PERMISSION_REQUEST\"`})]}),`\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(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`2-enviar-después-de-la-aprobación`,children:`2. Enviar después de la aprobación`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`POST /v1/channels/{channelId}/messages`}),` — ver en `,_jsx(_components.a,{href:`/es/messages/send-template`,children:`Enviar plantilla`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`34`,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:`34`,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:` \"recipient\"`}),_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:` \"identifier\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"5511999999999\"`})]}),`\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:` \"content\"`}),_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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"TEMPLATE\"`}),_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:` \"attachments\"`}),_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:` \"template\"`}),_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:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"exemplo_call_permission_request\"`}),_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:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"policy\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"deterministic\"`}),_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:`\"es_ES\"`})]}),`\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:` \"components\"`}),_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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"body\"`}),_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:` \"parameters\"`}),_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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"text\"`}),_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:` \"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"{{nombre_del_cliente}}\"`})]}),`\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`,_jsxs(_components.span,{className:`line`,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:`\"text\"`}),_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:` \"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"{{numero_del_pedido}}\"`})]}),`\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(_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(_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(_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(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`lo-que-meta-rechaza-aquí`,children:`Lo que Meta rechaza aquí`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Botones, carrusel o cualquier otro componente interactivo en la misma plantilla.`}),`\n`,_jsxs(_components.li,{children:[`La categoría `,_jsx(_components.code,{children:`AUTHENTICATION`}),`.`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{TemplatePreview,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":"Permiso de llamada","description":"Pide autorización para llamar por WhatsApp antes de la primera llamada","href":"/es/templates/models/call-permission-request"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[151,7549,")=>null;function _cr"]]},"mdxExtracts":{"tableOfContents":[{"title":"Cómo funciona","slug":"cómo-funciona","depth":2,"children":[]},{"title":"En la creación y en el envío","slug":"en-la-creación-y-en-el-envío","depth":2,"children":[]},{"title":"Campos de este modelo","slug":"campos-de-este-modelo","depth":2,"children":[]},{"title":"JSON completo","slug":"json-completo","depth":2,"children":[{"title":"1. Crear la plantilla","slug":"1-crear-la-plantilla","depth":3,"children":[]},{"title":"2. Enviar después de la aprobación","slug":"2-enviar-después-de-la-aprobación","depth":3,"children":[]}]},{"title":"Lo que Meta rechaza aquí","slug":"lo-que-meta-rechaza-aquí","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/omni-z-api/81add35b00a03b20/gpt-maker.js"],"subdomain":"omni-z-api","siteName":"Omni Z-API","title":"Permiso de llamada - Omni Z-API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"pt-BR":{"href":"/templates/models/call-permission-request","matchLevel":1},"en":{"href":"/en/templates/models/call-permission-request","matchLevel":1},"es":{"href":"/es/templates/models/call-permission-request","matchLevel":0}}},"lastModified":"2026-09-18T13:11:32.110Z","originalFileLocation":"es/templates/models/call-permission-request.mdx","locale":"es"},"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=\"Pide autorización para llamar por WhatsApp antes de la primera llamada\">\u003cmeta data-mint-head name=\"application-name\" content=\"Omni Z-API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/omni-z-api/o-SwDuL7r0oa71K7/_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/omni-z-api/o-SwDuL7r0oa71K7/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/omni-z-api/o-SwDuL7r0oa71K7/_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/omni-z-api/o-SwDuL7r0oa71K7/_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/omni-z-api/o-SwDuL7r0oa71K7/_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/omni-z-api/o-SwDuL7r0oa71K7/_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/omni-z-api/o-SwDuL7r0oa71K7/_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/omni-z-api/o-SwDuL7r0oa71K7/_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/omni-z-api/o-SwDuL7r0oa71K7/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Permiso de llamada - Omni Z-API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Pide autorización para llamar por WhatsApp antes de la primera llamada\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Omni Z-API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developer.omni.z-api.io/es/templates/models/call-permission-request\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://omni-z-api.mintlify.app/_mintlify/api/og/v2?division=Crear+plantilla\u0026amp;title=Permiso+de+llamada\u0026amp;description=Pide+autorizaci%C3%B3n+para+llamar+por+WhatsApp+antes+de+la+primera+llamada\u0026amp;theme=94425b6c06be1ca83ec9b164\u0026amp;signature=12a70ef8213a3adeb0d64fa096ceee0682ead69d830ae2ecea1ac36471b4a813\">\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=\"Permiso de llamada - Omni Z-API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Pide autorización para llamar por WhatsApp antes de la primera llamada\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://omni-z-api.mintlify.app/_mintlify/api/og/v2?division=Crear+plantilla\u0026amp;title=Permiso+de+llamada\u0026amp;description=Pide+autorizaci%C3%B3n+para+llamar+por+WhatsApp+antes+de+la+primera+llamada\u0026amp;theme=94425b6c06be1ca83ec9b164\u0026amp;signature=12a70ef8213a3adeb0d64fa096ceee0682ead69d830ae2ecea1ac36471b4a813\">\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/omni-z-api/o-SwDuL7r0oa71K7/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Omni Z-API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#477722\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developer.omni.z-api.io/es/templates/models/call-permission-request\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/es/templates/models/call-permission-request.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://developer.omni.z-api.io/es/templates/models/call-permission-request\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt-BR\" href=\"https://developer.omni.z-api.io/templates/models/call-permission-request\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://developer.omni.z-api.io/en/templates/models/call-permission-request\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://developer.omni.z-api.io/templates/models/call-permission-request\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developer.omni.z-api.io/#organization\",\"name\":\"Omni Z-API\",\"url\":\"https://developer.omni.z-api.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/omni-z-api/pNLq09OUwDtXKuEM/logo/z-api-omni-light.svg?fit=max\u0026auto=format\u0026n=pNLq09OUwDtXKuEM\u0026q=85\u0026s=7aad26bd2103cc87f2c19ffc1848e641\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developer.omni.z-api.io#website\",\"name\":\"Omni Z-API\",\"url\":\"https://developer.omni.z-api.io\",\"publisher\":{\"@id\":\"https://developer.omni.z-api.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developer.omni.z-api.io/es/templates/models/call-permission-request#webpage\",\"url\":\"https://developer.omni.z-api.io/es/templates/models/call-permission-request\",\"name\":\"Permiso de llamada\",\"description\":\"Pide autorización para llamar por WhatsApp antes de la primera llamada\",\"dateModified\":\"2026-09-18T13:11:32.110Z\",\"isPartOf\":{\"@id\":\"https://developer.omni.z-api.io#website\"},\"breadcrumb\":{\"@id\":\"https://developer.omni.z-api.io/es/templates/models/call-permission-request#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developer.omni.z-api.io/es/templates/models/call-permission-request#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Plantillas (WhatsApp)\",\"item\":\"https://developer.omni.z-api.io/es/templates/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Crear plantilla\",\"item\":\"https://developer.omni.z-api.io/es/templates/models/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Permiso de llamada\",\"item\":\"https://developer.omni.z-api.io/es/templates/models/call-permission-request\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://developer.omni.z-api.io/es/templates/models/call-permission-request#article\",\"headline\":\"Permiso de llamada\",\"name\":\"Permiso de llamada\",\"description\":\"Pide autorización para llamar por WhatsApp antes de la primera llamada\",\"url\":\"https://developer.omni.z-api.io/es/templates/models/call-permission-request\",\"mainEntityOfPage\":{\"@id\":\"https://developer.omni.z-api.io/es/templates/models/call-permission-request#webpage\"},\"dateModified\":\"2026-09-18T13:11:32.110Z\",\"publisher\":{\"@id\":\"https://developer.omni.z-api.io/#organization\"},\"isPartOf\":{\"@id\":\"https://developer.omni.z-api.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Omni Z-API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Omni Z-API","nav":{"global":{"anchors":[]},"languages":[{"language":"pt-BR","pages":[{"title":"pt-BR","href":"/templates/models/call-permission-request"}]},{"language":"en","navbar":{"links":[{"href":"https://api.whatsapp.com/send?phone=5544999300032\u0026text=Hi!%20I%27d%20like%20to%20talk%20to%20Omni%20Z-API%20support.","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.omni.z-api.io"}},"pages":[{"title":"en","href":"/en/templates/models/call-permission-request"}]},{"language":"es","navbar":{"links":[{"href":"https://api.whatsapp.com/send?phone=5544999300032\u0026text=%C2%A1Hola!%20Me%20gustar%C3%ADa%20hablar%20con%20el%20soporte%20de%20Omni%20Z-API.","label":"Soporte"}],"primary":{"type":"button","label":"Panel","href":"https://app.omni.z-api.io"}},"tabs":[{"tab":"Guías","icon":"book-open","pages":[{"title":"Guías","href":"/es"}]},{"tab":"Referencia de la API","icon":"code","groups":[{"group":"Canales","icon":"plug","pages":[{"title":"Crear canal","openapi":"es/channels/openapi-create.json POST /v1/channels","href":"/es/channels/create-channel"},{"title":"Listar canales","openapi":"es/channels/openapi-list.json GET /v1/channels","href":"/es/channels/list-channels"},{"title":"Consultar canal","openapi":"es/channels/openapi-get.json GET /v1/channels/{channelId}","href":"/es/channels/get-channel"},{"title":"Conectar canal Meta WhatsApp","openapi":"es/channels/openapi-connect.json POST /v1/channels/{channelId}/connect","href":"/es/channels/connect-channel"},{"title":"Orígenes del SDK","openapi":"es/channels/openapi-sdk-info.json GET /instances/{channelId}/sdk-info","href":"/es/channels/sdk-info"},{"title":"Desconectar canal Meta WhatsApp","openapi":"es/channels/openapi-disconnect.json PUT /v1/channels/{channelId}/disconnect","href":"/es/channels/disconnect"},{"title":"Suscribir canal","openapi":"es/channels/openapi-subscribe.json GET /v1/channels/{channelId}/subscribe","href":"/es/channels/subscribe-channel"},{"title":"Cancelar suscripción","openapi":"es/channels/openapi-cancel.json DELETE /v1/channels/{channelId}/cancel","href":"/es/channels/cancel-subscription"},{"title":"Eliminar canal","openapi":"es/channels/openapi-delete.json DELETE /v1/channels/{channelId}","href":"/es/channels/delete-channel"}]},{"group":"Mensajes","icon":"paper-plane","pages":[{"title":"Introducción","href":"/es/messages/introduction"},{"title":"Enviar texto","openapi":"es/messages/openapi.json POST /v1/channels/{channelId}/messages","href":"/es/messages/send-text"},{"title":"Enviar imagen","openapi":"es/messages/openapi-image.json POST /v1/channels/{channelId}/messages","href":"/es/messages/send-image"},{"title":"Enviar audio","openapi":"es/messages/openapi-audio.json POST /v1/channels/{channelId}/messages","href":"/es/messages/send-audio"},{"title":"Enviar vídeo","openapi":"es/messages/openapi-video.json POST /v1/channels/{channelId}/messages","href":"/es/messages/send-video"},{"title":"Enviar documento","href":"/es/messages/send-document"},{"title":"Enviar sticker","openapi":"es/messages/openapi-sticker.json POST /v1/channels/{channelId}/messages","href":"/es/messages/send-sticker"},{"title":"Enviar ubicación","openapi":"es/messages/openapi-location.json POST /v1/channels/{channelId}/messages","href":"/es/messages/send-location"},{"title":"Pedir ubicación","href":"/es/messages/send-location-request"},{"title":"Enviar contacto","openapi":"es/messages/openapi-contact.json POST /v1/channels/{channelId}/messages","href":"/es/messages/send-contact"},{"title":"Enviar reacción","href":"/es/messages/send-reaction"},{"title":"Enviar texto con botones","openapi":"es/messages/openapi-interactive-button.json POST /v1/channels/{channelId}/messages","href":"/es/messages/send-interactive-button"},{"title":"Enviar botones de acción","openapi":"es/messages/openapi-interactive-action.json POST /v1/channels/{channelId}/messages","href":"/es/messages/send-interactive-action"},{"title":"Enviar lista de opciones","href":"/es/messages/send-interactive-list"},{"title":"Enviar formulario (Flow)","href":"/es/messages/send-flow"},{"title":"Enviar catálogo","href":"/es/messages/send-catalog"},{"title":"Enviar producto","href":"/es/messages/send-product"},{"title":"Enviar multiproducto","href":"/es/messages/send-product-list"},{"title":"Enviar detalles del pedido","href":"/es/messages/send-order-details"},{"title":"Enviar estado del pedido","href":"/es/messages/send-order-status"}]},{"group":"Plantillas (WhatsApp)","icon":"file-lines","pages":[{"title":"Introducción","href":"/es/templates/introduction"},{"title":"Campos de la plantilla","href":"/es/templates/anatomy"},{"title":"Validaciones","href":"/es/templates/validation"},{"group":"Crear plantilla","pages":[{"title":"Elegir el modelo","href":"/es/templates/models/overview"},{"title":"Mensaje personalizado","href":"/es/templates/models/custom"},{"title":"Código de acceso","href":"/es/templates/models/authentication"},{"title":"Catálogo","href":"/es/templates/models/catalog"},{"title":"Producto único","href":"/es/templates/models/spm"},{"title":"Multiproducto","href":"/es/templates/models/mpm"},{"title":"Botón de pago","href":"/es/templates/models/checkout-button"},{"title":"Detalles del pedido","href":"/es/templates/models/order-details"},{"title":"Cupón","href":"/es/templates/models/coupon-code"},{"title":"Oferta por tiempo limitado","href":"/es/templates/models/limited-time-offer"},{"title":"Carrusel de multimedia","href":"/es/templates/models/media-card-carousel"},{"title":"Carrusel de productos","href":"/es/templates/models/product-card-carousel"},{"title":"Template Library","description":"Modelo ya hecho de la biblioteca de Meta, que nace aprobado","href":"/es/templates/models/library"},{"title":"Permiso de llamada","href":"/es/templates/models/call-permission-request"},{"title":"Referencia de la API","description":"La llamada que crea la plantilla: ruta, autenticación, respuestas y errores","openapi":"es/templates/openapi.json POST /whatsapp/businesses/{wabaId}/templates","href":"/es/templates/create-template"}]},{"group":"Otros endpoints","pages":[{"title":"Enviar plantilla","openapi":"es/messages/openapi-template.json POST /v1/channels/{channelId}/messages","href":"/es/messages/send-template"},{"title":"Listar plantillas","openapi":"es/templates/openapi.json GET /whatsapp/businesses/{wabaId}/templates","href":"/es/templates/list-templates"},{"title":"Actualizar plantilla","openapi":"es/templates/openapi.json PUT /whatsapp/businesses/{wabaId}/templates/{templateId}","href":"/es/templates/update-template"},{"title":"Eliminar plantilla","openapi":"es/templates/openapi.json DELETE /whatsapp/businesses/{wabaId}/templates/{templateId}","href":"/es/templates/delete-template"},{"title":"Sincronizar plantillas","openapi":"es/templates/openapi.json POST /whatsapp/businesses/{wabaId}/templates/sync","href":"/es/templates/sync-templates"},{"title":"Listar WABAs","openapi":"es/templates/openapi.json GET /whatsapp/businesses","href":"/es/templates/list-businesses"},{"title":"Subir multimedia","openapi":"es/templates/openapi.json POST /whatsapp/businesses/{wabaId}/templates/media","href":"/es/templates/upload-media"},{"title":"Biblioteca de plantillas","openapi":"es/templates/openapi.json GET /whatsapp/businesses/{wabaId}/template-library","href":"/es/templates/template-library"}]}]},{"group":"Flows (WhatsApp)","icon":"diagram-project","tag":"Nuevo","pages":[{"title":"Introducción","href":"/es/flows/introduction"},{"title":"Componentes y reglas","href":"/es/flows/components"},{"title":"Listar flows","openapi":"es/flows/openapi.json GET /whatsapp/businesses/{wabaId}/flows","href":"/es/flows/list-flows"},{"title":"Crear flow","openapi":"es/flows/openapi.json POST /whatsapp/businesses/{wabaId}/flows","href":"/es/flows/create-flow"},{"title":"Consultar flow","openapi":"es/flows/openapi.json GET /whatsapp/businesses/{wabaId}/flows/{flowId}","href":"/es/flows/get-flow"},{"title":"Actualizar flow","openapi":"es/flows/openapi.json PUT /whatsapp/businesses/{wabaId}/flows/{flowId}","href":"/es/flows/update-flow"},{"title":"Publicar flow","openapi":"es/flows/openapi.json POST /whatsapp/businesses/{wabaId}/flows/{flowId}/publish","href":"/es/flows/publish-flow"},{"title":"Descontinuar flow","openapi":"es/flows/openapi.json POST /whatsapp/businesses/{wabaId}/flows/{flowId}/deprecate","href":"/es/flows/deprecate-flow"},{"title":"Eliminar flow","openapi":"es/flows/openapi.json DELETE /whatsapp/businesses/{wabaId}/flows/{flowId}","href":"/es/flows/delete-flow"},{"title":"Sincronizar flows","openapi":"es/flows/openapi.json POST /whatsapp/businesses/{wabaId}/flows/sync","href":"/es/flows/sync-flows"}]},{"group":"Webhooks","icon":"webhook","pages":[{"title":"Introducción","href":"/es/webhooks/introduction"},{"title":"Firma HMAC","href":"/es/webhooks/signature"},{"title":"Entrega y reintentos","href":"/es/webhooks/delivery"},{"group":"Canales","pages":[{"title":"Webhooks de canal","href":"/es/webhooks/channel-webhooks"},{"title":"Estructura de los payloads","href":"/es/webhooks/payloads"},{"title":"Crear webhook","openapi":"es/webhooks/openapi.json POST /v1/channels/{channelId}/webhooks","href":"/es/webhooks/create-webhook"},{"title":"Listar webhooks","openapi":"es/webhooks/openapi.json GET /v1/channels/{channelId}/webhooks","href":"/es/webhooks/list-webhooks"},{"title":"Consultar webhook","openapi":"es/webhooks/openapi.json GET /v1/channels/{channelId}/webhooks/{webhookId}","href":"/es/webhooks/get-webhook"},{"title":"Actualizar webhook","openapi":"es/webhooks/openapi.json PATCH /v1/channels/{channelId}/webhooks/{webhookId}","href":"/es/webhooks/update-webhook"},{"title":"Eliminar webhook","openapi":"es/webhooks/openapi.json DELETE /v1/channels/{channelId}/webhooks/{webhookId}","href":"/es/webhooks/delete-webhook"}]},{"group":"Plantillas","pages":[{"title":"Webhooks de plantilla","href":"/es/webhooks/template-webhooks"},{"title":"Estructura de los payloads","href":"/es/webhooks/template-payloads"},{"title":"Aviso de desconexión de canal","href":"/es/webhooks/channel-disconnected"},{"title":"Eventos de facturación y de restricción de la cuenta","href":"/es/webhooks/account-events"},{"title":"Crear webhook de plantilla","openapi":"es/webhooks/openapi-template.json POST /v1/webhooks","href":"/es/webhooks/create-template-webhook"},{"title":"Listar webhooks de plantilla","openapi":"es/webhooks/openapi-template.json GET /v1/webhooks","href":"/es/webhooks/list-template-webhooks"},{"title":"Consultar webhook de plantilla","openapi":"es/webhooks/openapi-template.json GET /v1/webhooks/{webhookId}","href":"/es/webhooks/get-template-webhook"},{"title":"Actualizar webhook de plantilla","openapi":"es/webhooks/openapi-template.json PATCH /v1/webhooks/{webhookId}","href":"/es/webhooks/update-template-webhook"},{"title":"Eliminar webhook de plantilla","openapi":"es/webhooks/openapi-template.json DELETE /v1/webhooks/{webhookId}","href":"/es/webhooks/delete-template-webhook"}]},{"group":"Webhook predeterminado","pages":[{"title":"Webhook predeterminado del workspace","href":"/es/webhooks/default-webhooks"},{"title":"Crear webhook predeterminado","openapi":"es/webhooks/openapi-default.json POST /v1/default-instance-webhooks","href":"/es/webhooks/create-default-webhook"},{"title":"Listar webhooks predeterminados","openapi":"es/webhooks/openapi-default.json GET /v1/default-instance-webhooks","href":"/es/webhooks/list-default-webhooks"},{"title":"Consultar webhook predeterminado","openapi":"es/webhooks/openapi-default.json GET /v1/default-instance-webhooks/{webhookId}","href":"/es/webhooks/get-default-webhook"},{"title":"Actualizar webhook predeterminado","openapi":"es/webhooks/openapi-default.json PATCH /v1/default-instance-webhooks/{webhookId}","href":"/es/webhooks/update-default-webhook"},{"title":"Eliminar webhook predeterminado","openapi":"es/webhooks/openapi-default.json DELETE /v1/default-instance-webhooks/{webhookId}","href":"/es/webhooks/delete-default-webhook"}]}]}]},{"tab":"Compatibilidad con Z-API","icon":"arrow-right-arrow-left","pages":[{"title":"Compatibilidad con Z-API","href":"/es/z-api/introduction"}]}]}]},"basePath":"","title":"Permiso de llamada - Omni Z-API","buildId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","deploymentId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","dynamics":[],"chunks":[]}