Header, body, footer, buttons or authentication settings; name, language and category stay. Sent to Meta for a new review (Meta limits the edits of an approved template); refused by Meta, the template stays as it was. A published authentication template cannot be edited.
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Shortext","description":"Shortext runs AI agents on WhatsApp, mailboxes and your own apps. Guides for the dashboard and reference for the public API.","colors":{"primary":"#0D9373","light":"#07C983","dark":"#0D9373"},"logo":{"light":"https://mintcdn.com/n-ycorp/BNyO30yvo2XGv-Dr/logo/light.svg?fit=max\u0026auto=format\u0026n=BNyO30yvo2XGv-Dr\u0026q=85\u0026s=321a01994cf59d9ab14c6c2d24145600","dark":"https://mintcdn.com/n-ycorp/BNyO30yvo2XGv-Dr/logo/dark.svg?fit=max\u0026auto=format\u0026n=BNyO30yvo2XGv-Dr\u0026q=85\u0026s=843f5c81fdc5017f4e38c4f911ceafab"},"favicon":"https://mintcdn.com/n-ycorp/_ZaOYbkIIjdke_qI/favicon.svg?fit=max\u0026auto=format\u0026n=_ZaOYbkIIjdke_qI\u0026q=85\u0026s=d2cab565aeda8ce75e889830398d7127","api":{"openapi":"api-reference/v2.0/openapi.json","playground":{"display":"interactive"},"examples":{"languages":["curl","php","javascript","python"]}},"background":{"decoration":"windows"},"navbar":{"links":[{"href":"mailto:hello@ny-corp.io","label":"Mail us"},{"href":"https://shortext.ny-corp.io/237657482849","label":"WhatsApp us"}],"primary":{"type":"button","label":"Dashboard","href":"https://shortext.ny-corp.io/dash"}},"footer":{"socials":{"website":"https://shortext.ny-corp.io","github":"https://github.com/yann-yvan/shortext-sdk-php","linkedin":"https://www.linkedin.com/showcase/shortext","facebook":"https://facebook.com/shortext"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Community","icon":"users","href":"https://shortext.ny-corp.io/community"},{"anchor":"Blog","icon":"newspaper","href":"https://shortext.ny-corp.io/blogs"}]},"languages":[{"language":"en","default":true,"href":"introduction/what-is-shortext"},{"language":"fr","href":"fr/introduction/what-is-shortext"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"n-ycorp","hasAudioNarration":false,"actualSubdomain":"n-ycorp","customDomains":["docs.shortext.ny-corp.io"],"gitSource":{"type":"github","owner":"yann-yvan","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ade2b8d6f6ff535866414e2","collectionId":"1ea7db92-17b4-49b3-b97b-eea6239a9963","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ade2b8d6f6ff535866414e2"},"entitlements":{},"buildId":"6ade3072ab7ad0ef398aa9b5","clientVersion":"0.0.3965","searchFilterCounts":[{"language":"en","tag":"API Reference","count":116},{"language":"fr","tag":"Référence API","count":116},{"language":"en","tag":"Endpoints","count":94},{"language":"fr","tag":"Endpoints","count":94},{"language":"en","tag":"Guides","count":27},{"language":"fr","tag":"Guides","count":27},{"language":"en","tag":"Tickets","count":20},{"language":"fr","tag":"Tickets","count":20},{"language":"en","tag":"Channels","count":14},{"language":"en","tag":"Knowledge","count":12},{"language":"en","tag":"Dynamic links","count":12},{"language":"fr","tag":"Knowledge","count":12},{"language":"fr","tag":"Dynamic links","count":12},{"language":"en","tag":"Webhooks","count":10},{"language":"fr","tag":"Webhooks","count":10},{"language":"en","tag":"Agents","count":9},{"language":"en","tag":"Conversations","count":9},{"language":"fr","tag":"Agents","count":9},{"language":"fr","tag":"Conversations","count":9},{"language":"fr","tag":"Channels","count":8}]},"assistantConfig":{},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/v2.0/endpoints/templates/edit-a-whatsapp-template","slug":"/api-reference/v2.0/endpoints/templates/edit-a-whatsapp-template","pageMetadata":{"title":"Edit a WhatsApp template","description":"Header, body, footer, buttons or authentication settings; name, language and category stay. Sent to Meta for a new review (Meta limits the edits of an approved template); refused by Meta, the template stays as it was. A published authentication template cannot be edited.","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json patch /templates/{id}","href":"/api-reference/v2.0/endpoints/templates/edit-a-whatsapp-template","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Header, body, footer, buttons or authentication settings; name, language and category stay. Sent to Meta for a new review (Meta limits the edits of an approved template); refused by Meta, the template stays as it was. A published authentication template cannot be edited.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Edit a WhatsApp template","description":"Header, body, footer, buttons or authentication settings; name, language and category stay. Sent to Meta for a new review (Meta limits the edits of an approved template); refused by Meta, the template stays as it was. A published authentication template cannot be edited.","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json patch /templates/{id}","href":"/api-reference/v2.0/endpoints/templates/edit-a-whatsapp-template","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Templates"],"summary":"Edit a WhatsApp template","description":"Header, body, footer, buttons or authentication settings; name, language and category stay. Sent to Meta for a new review (Meta limits the edits of an approved template); refused by Meta, the template stays as it was. A published authentication template cannot be edited.","operationId":"updateTemplate","parameters":["f3cadea1-cf73-415f-a09c-52805ec5a0c3"],"requestBody":"70ceecc2-f7b7-42de-94e7-75f4f94b5a19","responses":{"200":"7c5d217f-ede2-43cb-a2e1-00137ef8d902"},"security":["a2a8ea55-3f77-40d1-b0dd-679e10822373"],"method":"patch","type":"path","servers":["3f2ed4f5-1bfb-4908-acef-dbca4db83c21"],"path":"/templates/{id}","baseUrlOptions":["https://shortext.ny-corp.io/api/v2.0"],"title":"Edit a WhatsApp template","codeSamples":[],"requestExampleLanguages":["bash","php","javascript","python"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"f3cadea1-cf73-415f-a09c-52805ec5a0c3":{"name":"id","in":"path","required":true,"schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"channel_id":{"description":"Creation: a WhatsApp number of the company; the template belongs to its WhatsApp Business Account and every number of that account can send it","type":"string","uniqueKey":"channel_id","typeLabel":"string"},"name":{"description":"Creation: normalized for Meta (`Order update` becomes `order_update`)","type":"string","uniqueKey":"name","typeLabel":"string"},"language":{"description":"Creation","type":"string","example":"fr","uniqueKey":"language","typeLabel":"string"},"category":{"description":"Creation. A utility body has at least one variable; an authentication template only takes `authentication`","type":"string","enum":["MARKETING","UTILITY","AUTHENTICATION"],"uniqueKey":"category","typeLabel":"enum\u003cstring>"},"header":{"properties":{"type":{"type":"string","enum":["NONE","TEXT","IMAGE","VIDEO","DOCUMENT"],"uniqueKey":"header.type","typeLabel":"enum\u003cstring>"},"text":{"description":"TEXT: 60 characters, one variable at most","type":"string","uniqueKey":"header.text","typeLabel":"string"},"examples":{"description":"`{ variable: example }`","type":"object","uniqueKey":"header.examples","typeLabel":"object"},"media_url":{"description":"IMAGE, VIDEO, DOCUMENT: a public link to the file","type":"string","uniqueKey":"header.media_url","typeLabel":"string"}},"type":"object","uniqueKey":"header","typeLabel":"object"},"body":{"properties":{"text":{"description":"Variables like `{{order_number}}`, not at the very start or end","type":"string","example":"Hello {{name}}, your order {{order_number}} is ready.","uniqueKey":"body.text","typeLabel":"string"},"examples":{"description":"One example per variable: Meta reviews the template with them","type":"object","example":{"name":"Awa","order_number":"A-42"},"uniqueKey":"body.examples","typeLabel":"object"}},"type":"object","uniqueKey":"body","typeLabel":"object"},"footer":{"oneOf":[{"description":"60 characters, no variable","type":"string","uniqueKey":"footer.oneOf.0","typeLabel":"string"},{"description":"60 characters, no variable","type":"null","uniqueKey":"footer.oneOf.1","typeLabel":"null"}],"uniqueKey":"footer","typeLabel":"string | null"},"buttons":{"description":"Up to 10: quick replies grouped together, 2 links, 1 call, 1 copy code (marketing). A link with `{{1}}` at the end of the URL needs an `example`","type":"array","items":{"properties":{"type":{"type":"string","enum":["QUICK_REPLY","URL","PHONE_NUMBER","COPY_CODE"],"uniqueKey":"buttons.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","maxLength":25,"uniqueKey":"buttons.items.[INDEX].text","typeLabel":"string"},"url":{"type":"string","example":"https://shop.example/orders/{{1}}","uniqueKey":"buttons.items.[INDEX].url","typeLabel":"string"},"example":{"description":"URL: the full example link; COPY_CODE: an example code","type":"string","uniqueKey":"buttons.items.[INDEX].example","typeLabel":"string"},"phone_number":{"type":"string","example":"+237690000000","uniqueKey":"buttons.items.[INDEX].phone_number","typeLabel":"string"}},"type":"object","uniqueKey":"buttons.items.[INDEX]","typeLabel":"object"},"uniqueKey":"buttons","typeLabel":"object[]"},"authentication":{"properties":{"add_security_recommendation":{"type":"boolean","default":true,"uniqueKey":"authentication.add_security_recommendation","typeLabel":"boolean"},"code_expiration_minutes":{"oneOf":[{"type":"integer","maximum":90,"minimum":1,"uniqueKey":"authentication.code_expiration_minutes.oneOf.0","typeLabel":"integer"},{"type":"null","maximum":90,"minimum":1,"uniqueKey":"authentication.code_expiration_minutes.oneOf.1","typeLabel":"null"}],"uniqueKey":"authentication.code_expiration_minutes","typeLabel":"integer | null"},"otp_type":{"type":"string","default":"COPY_CODE","enum":["COPY_CODE","ONE_TAP"],"uniqueKey":"authentication.otp_type","typeLabel":"enum\u003cstring>"},"package_name":{"description":"ONE_TAP: the Android app","type":"string","uniqueKey":"authentication.package_name","typeLabel":"string"},"signature_hash":{"description":"ONE_TAP: 11 characters","type":"string","uniqueKey":"authentication.signature_hash","typeLabel":"string"}},"type":"object","uniqueKey":"authentication","typeLabel":"object"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"channel_id":"\u003cstring>","name":"\u003cstring>","language":"fr","header":{"text":"\u003cstring>","examples":{},"media_url":"\u003cstring>"},"body":{"text":"Hello {{name}}, your order {{order_number}} is ready.","examples":{"name":"Awa","order_number":"A-42"}},"footer":"\u003cstring>","buttons":[{"text":"\u003cstring>","url":"https://shop.example/orders/{{1}}","example":"\u003cstring>","phone_number":"+237690000000"}],"authentication":{"add_security_recommendation":true,"code_expiration_minutes":45,"otp_type":"COPY_CODE","package_name":"\u003cstring>","signature_hash":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"7c5d217f-ede2-43cb-a2e1-00137ef8d902":{"description":"Always HTTP 200: the outcome is in `success` and `code` (absolute value of the response code).","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true,"uniqueKey":"success","typeLabel":"boolean"},"code":{"type":"integer","example":1000,"uniqueKey":"code","typeLabel":"integer"},"message":{"type":"string","example":"Request success.","uniqueKey":"message","typeLabel":"string"},"body":{"type":"object","description":"Endpoint payload, null when there is none","properties":{"id":{"description":"Public representation of a WhatsApp template (API v2.0). A template belongs to a WhatsApp Business\nAccount: every number of that account can send it (`channels`).","type":"string","uniqueKey":"body.id","typeLabel":"string"},"name":{"description":"message.content.template_name","type":"string","example":"order_update","uniqueKey":"body.name","typeLabel":"string"},"language":{"description":"message.content.language","type":"string","example":"fr","uniqueKey":"body.language","typeLabel":"string"},"status":{"description":"Only APPROVED templates can be sent","type":"string","enum":["APPROVED","PENDING","REJECTED"],"uniqueKey":"body.status","typeLabel":"enum\u003cstring>"},"rejection_reason":{"oneOf":[{"type":"string","uniqueKey":"body.rejection_reason.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"body.rejection_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"body.rejection_reason","typeLabel":"string | null"},"quality":{"oneOf":[{"type":"string","example":"GREEN","uniqueKey":"body.quality.oneOf.0","typeLabel":"string"},{"type":"null","example":"GREEN","uniqueKey":"body.quality.oneOf.1","typeLabel":"null"}],"uniqueKey":"body.quality","typeLabel":"string | null"},"category":{"oneOf":[{"type":"string","example":"UTILITY","uniqueKey":"body.category.oneOf.0","typeLabel":"string"},{"type":"null","example":"UTILITY","uniqueKey":"body.category.oneOf.1","typeLabel":"null"}],"uniqueKey":"body.category","typeLabel":"string | null"},"channels":{"description":"WhatsApp channel ids (channel_id) of the company that can send it","type":"array","items":{"type":"string","uniqueKey":"body.channels.items.[INDEX]","typeLabel":"string"},"uniqueKey":"body.channels","typeLabel":"string[]"},"header":{"properties":{"type":{"type":"string","enum":["NONE","TEXT","IMAGE","VIDEO","DOCUMENT"],"uniqueKey":"body.header.type","typeLabel":"enum\u003cstring>"},"text":{"oneOf":[{"type":"string","uniqueKey":"body.header.text.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"body.header.text.oneOf.1","typeLabel":"null"}],"uniqueKey":"body.header.text","typeLabel":"string | null"},"variables":{"description":"TEXT header: `message.content.header` = `{ name: value }`","type":"array","items":{"type":"string","uniqueKey":"body.header.variables.items.[INDEX]","typeLabel":"string"},"uniqueKey":"body.header.variables","typeLabel":"string[]"},"media_url":{"oneOf":[{"description":"Media header: sent when message.content.header.url is not given","type":"string","uniqueKey":"body.header.media_url.oneOf.0","typeLabel":"string"},{"description":"Media header: sent when message.content.header.url is not given","type":"null","uniqueKey":"body.header.media_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"body.header.media_url","typeLabel":"string | null"}},"type":"object","uniqueKey":"body.header","typeLabel":"object"},"body":{"properties":{"text":{"type":"string","example":"Hello {{name}}, your order {{order}} is ready.","uniqueKey":"body.body.text","typeLabel":"string"},"variables":{"description":"`message.content.body` = `{ name: value }`","type":"array","items":{"type":"string","uniqueKey":"body.body.variables.items.[INDEX]","typeLabel":"string"},"example":["name","order"],"uniqueKey":"body.body.variables","typeLabel":"string[]"}},"type":"object","uniqueKey":"body.body","typeLabel":"object"},"footer":{"oneOf":[{"type":"string","uniqueKey":"body.footer.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"body.footer.oneOf.1","typeLabel":"null"}],"uniqueKey":"body.footer","typeLabel":"string | null"},"buttons":{"description":"In order: `message.content.buttons` = `{ index: value }` for the buttons that need a value","type":"array","items":{"properties":{"index":{"type":"integer","example":0,"uniqueKey":"body.buttons.items.[INDEX].index","typeLabel":"integer"},"type":{"type":"string","enum":["QUICK_REPLY","URL","PHONE_NUMBER","COPY_CODE","OTP"],"example":"URL","uniqueKey":"body.buttons.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"oneOf":[{"type":"string","uniqueKey":"body.buttons.items.[INDEX].text.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"body.buttons.items.[INDEX].text.oneOf.1","typeLabel":"null"}],"uniqueKey":"body.buttons.items.[INDEX].text","typeLabel":"string | null"},"needs_value":{"description":"A dynamic link (its end), a copy code button (the coupon) or the code of an authentication template (or send `message.content.code`)","type":"boolean","uniqueKey":"body.buttons.items.[INDEX].needs_value","typeLabel":"boolean"}},"type":"object","uniqueKey":"body.buttons.items.[INDEX]","typeLabel":"object"},"uniqueKey":"body.buttons","typeLabel":"object[]"},"updated_at":{"type":"string","format":"date-time","uniqueKey":"body.updated_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"body","typeLabel":"object"},"token":{"oneOf":[{"description":"Present only on authentication routes","type":"string","uniqueKey":"token.oneOf.0","typeLabel":"string"},{"description":"Present only on authentication routes","type":"null","uniqueKey":"token.oneOf.1","typeLabel":"null"}],"uniqueKey":"token","typeLabel":"string | null"},"trace_id":{"oneOf":[{"description":"Present only when success is false","type":"string","uniqueKey":"trace_id.oneOf.0","typeLabel":"string"},{"description":"Present only when success is false","type":"null","uniqueKey":"trace_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"trace_id","typeLabel":"string | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true,"code":1000,"message":"Request success.","body":{"id":"\u003cstring>","name":"order_update","language":"fr","status":"APPROVED","rejection_reason":"\u003cstring>","quality":"GREEN","category":"UTILITY","channels":["\u003cstring>"],"header":{"type":"NONE","text":"\u003cstring>","variables":["\u003cstring>"],"media_url":"\u003cstring>"},"body":{"text":"Hello {{name}}, your order {{order}} is ready.","variables":["name","order"]},"footer":"\u003cstring>","buttons":[{"index":0,"type":"URL","text":"\u003cstring>","needs_value":true}],"updated_at":"2023-11-07T05:31:56Z"},"token":"\u003cstring>","trace_id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"a2a8ea55-3f77-40d1-b0dd-679e10822373":{"bearerAuth":{"type":"http","description":"Company API key, sent as `Authorization: Bearer \u003ckey>`. Create it in the dashboard (Developer > API Keys) with the permissions the integration needs.","scheme":"bearer","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"3f2ed4f5-1bfb-4908-acef-dbca4db83c21":{"url":"https://shortext.ny-corp.io/api/v2.0"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","description":"Company API key, sent as `Authorization: Bearer \u003ckey>`. Create it in the dashboard (Developer > API Keys) with the permissions the integration needs.","scheme":"bearer","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Company API key, sent as `Authorization: Bearer \u003ckey>`. Create it in the dashboard (Developer > API Keys) with the permissions the integration needs.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/v2.0/openapi.json"},"subdomain":"n-ycorp","siteName":"Shortext","title":"Edit a WhatsApp template - Shortext","navMaps":{"firstHrefInVersion":{"v2.0":{"href":"/api-reference/v2.0/endpoints/templates/edit-a-whatsapp-template","matchLevel":0},"v1.0":{"href":"/api-reference/v1.0/endpoints/agents/search-agents","matchLevel":2}},"firstHrefInLanguage":{"en":{"href":"/api-reference/v2.0/endpoints/templates/edit-a-whatsapp-template","matchLevel":0},"fr":{"href":"/fr/api-reference/v2.0/endpoints/templates/edit-a-whatsapp-template","matchLevel":1}}},"lastModified":"2026-10-25T16:38:17.222Z","originalFileLocation":"api-reference/v2.0/endpoints/templates/edit-a-whatsapp-template.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=\"Header, body, footer, buttons or authentication settings; name, language and category stay. Sent to Meta for a new review (Meta limits the edits of an approved template); refused by Meta, the template stays as it was. A published authentication template cannot be edited.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Shortext\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/n-ycorp/2itQyKG70o8hfUXJ/_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/n-ycorp/2itQyKG70o8hfUXJ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/n-ycorp/2itQyKG70o8hfUXJ/_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/n-ycorp/2itQyKG70o8hfUXJ/_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/n-ycorp/2itQyKG70o8hfUXJ/_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/n-ycorp/2itQyKG70o8hfUXJ/_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/n-ycorp/2itQyKG70o8hfUXJ/_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/n-ycorp/2itQyKG70o8hfUXJ/_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/n-ycorp/2itQyKG70o8hfUXJ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Edit a WhatsApp template - Shortext\">\u003cmeta data-mint-head property=\"og:description\" content=\"Header, body, footer, buttons or authentication settings; name, language and category stay. Sent to Meta for a new review (Meta limits the edits of an approved template); refused by Meta, the template stays as it was. A published authentication template cannot be edited.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Shortext\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.shortext.ny-corp.io/api-reference/v2.0/endpoints/templates/edit-a-whatsapp-template\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://n-ycorp.mintlify.app/_mintlify/api/og/v2?division=Templates\u0026amp;title=Edit+a+WhatsApp+template\u0026amp;description=Header%2C+body%2C+footer%2C+buttons+or+authentication+settings%3B+name%2C+language+and+category+stay.+Sent+to+Meta+for+a+new+review+%28Meta+limits+the+edits+of+an+approved+\u0026amp;theme=1ec5c1666cef603e7fd647bc\u0026amp;signature=cb405bfb222a552e94698a3eb2622e2b051f041e02c6d8d0d41b5b4df55dda45\">\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=\"Edit a WhatsApp template - Shortext\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Header, body, footer, buttons or authentication settings; name, language and category stay. Sent to Meta for a new review (Meta limits the edits of an approved template); refused by Meta, the template stays as it was. A published authentication template cannot be edited.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://n-ycorp.mintlify.app/_mintlify/api/og/v2?division=Templates\u0026amp;title=Edit+a+WhatsApp+template\u0026amp;description=Header%2C+body%2C+footer%2C+buttons+or+authentication+settings%3B+name%2C+language+and+category+stay.+Sent+to+Meta+for+a+new+review+%28Meta+limits+the+edits+of+an+approved+\u0026amp;theme=1ec5c1666cef603e7fd647bc\u0026amp;signature=cb405bfb222a552e94698a3eb2622e2b051f041e02c6d8d0d41b5b4df55dda45\">\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/n-ycorp/2itQyKG70o8hfUXJ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Shortext\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D9373\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.shortext.ny-corp.io/api-reference/v2.0/endpoints/templates/edit-a-whatsapp-template\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/v2.0/endpoints/templates/edit-a-whatsapp-template.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.shortext.ny-corp.io/api-reference/v2.0/endpoints/templates/edit-a-whatsapp-template\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://docs.shortext.ny-corp.io/fr/api-reference/v2.0/endpoints/templates/edit-a-whatsapp-template\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.shortext.ny-corp.io/api-reference/v2.0/endpoints/templates/edit-a-whatsapp-template\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.shortext.ny-corp.io/#organization\",\"name\":\"Shortext\",\"url\":\"https://docs.shortext.ny-corp.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/n-ycorp/BNyO30yvo2XGv-Dr/logo/light.svg?fit=max\u0026auto=format\u0026n=BNyO30yvo2XGv-Dr\u0026q=85\u0026s=321a01994cf59d9ab14c6c2d24145600\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.shortext.ny-corp.io#website\",\"name\":\"Shortext\",\"url\":\"https://docs.shortext.ny-corp.io\",\"publisher\":{\"@id\":\"https://docs.shortext.ny-corp.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.shortext.ny-corp.io/api-reference/v2.0/endpoints/templates/edit-a-whatsapp-template#webpage\",\"url\":\"https://docs.shortext.ny-corp.io/api-reference/v2.0/endpoints/templates/edit-a-whatsapp-template\",\"name\":\"Edit a WhatsApp template\",\"description\":\"Header, body, footer, buttons or authentication settings; name, language and category stay. Sent to Meta for a new review (Meta limits the edits of an approved template); refused by Meta, the template stays as it was. A published authentication template cannot be edited.\",\"dateModified\":\"2026-10-25T16:38:17.222Z\",\"isPartOf\":{\"@id\":\"https://docs.shortext.ny-corp.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.shortext.ny-corp.io/api-reference/v2.0/endpoints/templates/edit-a-whatsapp-template#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.shortext.ny-corp.io/api-reference/v2.0/endpoints/templates/edit-a-whatsapp-template#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.shortext.ny-corp.io/api-reference/v2.0/endpoints/agents/list-agents\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Templates\",\"item\":\"https://docs.shortext.ny-corp.io/api-reference/v2.0/endpoints/templates/list-whatsapp-templates\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Edit a WhatsApp template\",\"item\":\"https://docs.shortext.ny-corp.io/api-reference/v2.0/endpoints/templates/edit-a-whatsapp-template\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.shortext.ny-corp.io/api-reference/v2.0/endpoints/templates/edit-a-whatsapp-template#apireference\",\"headline\":\"Edit a WhatsApp template\",\"name\":\"Edit a WhatsApp template\",\"description\":\"Header, body, footer, buttons or authentication settings; name, language and category stay. Sent to Meta for a new review (Meta limits the edits of an approved template); refused by Meta, the template stays as it was. A published authentication template cannot be edited.\",\"url\":\"https://docs.shortext.ny-corp.io/api-reference/v2.0/endpoints/templates/edit-a-whatsapp-template\",\"mainEntityOfPage\":{\"@id\":\"https://docs.shortext.ny-corp.io/api-reference/v2.0/endpoints/templates/edit-a-whatsapp-template#webpage\"},\"dateModified\":\"2026-10-25T16:38:17.222Z\",\"publisher\":{\"@id\":\"https://docs.shortext.ny-corp.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.shortext.ny-corp.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Shortext\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Shortext","nav":{"global":{"anchors":[{"anchor":"Community","icon":"users","href":"https://shortext.ny-corp.io/community"},{"anchor":"Blog","icon":"newspaper","href":"https://shortext.ny-corp.io/blogs"}]},"languages":[{"language":"en","default":true,"tabs":[{"tab":"Guides","icon":"book-open","pages":[{"title":"Guides","href":"/introduction/what-is-shortext"}]},{"tab":"API Reference","icon":"square-terminal","versions":[{"version":"v2.0","default":true,"tag":"Latest","groups":[{"group":"Get started","pages":[{"title":"API introduction","href":"/api-reference/introduction"},{"title":"Authentication","href":"/api-reference/authentication"},{"title":"Versioning","href":"/api-reference/versioning"},{"title":"Errors","href":"/api-reference/errors"}]},{"group":"Formats","pages":[{"title":"Message format","href":"/api-reference/message-format"},{"title":"WhatsApp message types","href":"/api-reference/whatsapp-messages"},{"title":"Contact format","href":"/api-reference/contact-format"}]},{"group":"Integrations","pages":[{"title":"Webhooks","href":"/api-reference/webhooks"},{"title":"Hosted sessions","href":"/api-reference/hosted-sessions"},{"title":"Shortext endpoint integration","href":"/api-reference/shortext-endpoint"}]},{"group":"Guides","pages":[{"title":"Start a conversation and reply","href":"/api-reference/guides/start-a-conversation"},{"title":"Create WhatsApp templates","href":"/api-reference/guides/create-templates"},{"title":"Send a WhatsApp template","href":"/api-reference/guides/send-a-template"},{"title":"Handover and release","href":"/api-reference/guides/handover"},{"title":"Connect a client's WhatsApp","href":"/api-reference/guides/connect-whatsapp"},{"title":"Manage tickets","href":"/api-reference/guides/manage-tickets"},{"title":"Agent knowledge","href":"/api-reference/guides/agent-knowledge"},{"title":"Dynamic links","href":"/api-reference/guides/dynamic-links"},{"title":"Balance and wallet movements","href":"/api-reference/guides/balance"},{"title":"Migrate from v1.0 to v2.0","href":"/api-reference/guides/migrate-to-v2"}]},{"group":"Endpoints","pages":[{"group":"Agents","pages":[{"title":"List agents","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json get /agents","href":"/api-reference/v2.0/endpoints/agents/list-agents"},{"title":"Create an agent","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json post /agents","href":"/api-reference/v2.0/endpoints/agents/create-an-agent"},{"title":"Get an agent","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json get /agents/{id}","href":"/api-reference/v2.0/endpoints/agents/get-an-agent"},{"title":"Delete an agent","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json delete /agents/{id}","href":"/api-reference/v2.0/endpoints/agents/delete-an-agent"},{"title":"Update an agent","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json patch /agents/{id}","href":"/api-reference/v2.0/endpoints/agents/update-an-agent"},{"title":"Restore a deleted agent","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json patch /agents/{id}/restore","href":"/api-reference/v2.0/endpoints/agents/restore-a-deleted-agent"}]},{"group":"Knowledge","pages":[{"title":"List knowledge documents","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json get /agents/{agent}/knowledge","href":"/api-reference/v2.0/endpoints/knowledge/list-knowledge-documents"},{"title":"Add a knowledge document","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json post /agents/{agent}/knowledge","href":"/api-reference/v2.0/endpoints/knowledge/add-a-knowledge-document"},{"title":"Get a knowledge document","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json get /agents/{agent}/knowledge/{id}","href":"/api-reference/v2.0/endpoints/knowledge/get-a-knowledge-document"},{"title":"Delete a knowledge document","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json delete /agents/{agent}/knowledge/{id}","href":"/api-reference/v2.0/endpoints/knowledge/delete-a-knowledge-document"},{"title":"Update a knowledge document","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json patch /agents/{agent}/knowledge/{id}","href":"/api-reference/v2.0/endpoints/knowledge/update-a-knowledge-document"},{"title":"Knowledge base usage","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json get /agents/{agent}/knowledge/usage","href":"/api-reference/v2.0/endpoints/knowledge/knowledge-base-usage"},{"title":"List contact knowledge","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json get /agents/{agent}/contact-knowledge","href":"/api-reference/v2.0/endpoints/knowledge/list-contact-knowledge"},{"title":"Add contact knowledge","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json post /agents/{agent}/contact-knowledge","href":"/api-reference/v2.0/endpoints/knowledge/add-contact-knowledge"},{"title":"Get a contact knowledge entry","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json get /agents/{agent}/contact-knowledge/{id}","href":"/api-reference/v2.0/endpoints/knowledge/get-a-contact-knowledge-entry"},{"title":"Delete contact knowledge","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json delete /agents/{agent}/contact-knowledge/{id}","href":"/api-reference/v2.0/endpoints/knowledge/delete-contact-knowledge"},{"title":"Update contact knowledge","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json patch /agents/{agent}/contact-knowledge/{id}","href":"/api-reference/v2.0/endpoints/knowledge/update-contact-knowledge"}]},{"group":"Dynamic links","pages":[{"title":"List apps","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json get /deep-links/platforms","href":"/api-reference/v2.0/endpoints/dynamic-links/list-apps"},{"title":"Add an app","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json post /deep-links/platforms","href":"/api-reference/v2.0/endpoints/dynamic-links/add-an-app"},{"title":"Get an app","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json get /deep-links/platforms/{id}","href":"/api-reference/v2.0/endpoints/dynamic-links/get-an-app"},{"title":"Delete an app","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json delete /deep-links/platforms/{id}","href":"/api-reference/v2.0/endpoints/dynamic-links/delete-an-app"},{"title":"Update an app","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json patch /deep-links/platforms/{id}","href":"/api-reference/v2.0/endpoints/dynamic-links/update-an-app"},{"title":"Domain verification file","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json get /deep-links/platforms/{id}/verification-file","href":"/api-reference/v2.0/endpoints/dynamic-links/domain-verification-file"},{"title":"List dynamic links","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json get /deep-links","href":"/api-reference/v2.0/endpoints/dynamic-links/list-dynamic-links"},{"title":"Create a dynamic link","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json post /deep-links","href":"/api-reference/v2.0/endpoints/dynamic-links/create-a-dynamic-link"},{"title":"Get a dynamic link","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json get /deep-links/{id}","href":"/api-reference/v2.0/endpoints/dynamic-links/get-a-dynamic-link"},{"title":"Delete a dynamic link","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json delete /deep-links/{id}","href":"/api-reference/v2.0/endpoints/dynamic-links/delete-a-dynamic-link"},{"title":"Update a dynamic link","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json patch /deep-links/{id}","href":"/api-reference/v2.0/endpoints/dynamic-links/update-a-dynamic-link"},{"title":"Clicks of a dynamic link","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json get /deep-links/{id}/clicks","href":"/api-reference/v2.0/endpoints/dynamic-links/clicks-of-a-dynamic-link"}]},{"group":"Billing","pages":[{"title":"Company balance","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json get /balance","href":"/api-reference/v2.0/endpoints/billing/company-balance"},{"title":"Wallet movements","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json get /balance/transactions","href":"/api-reference/v2.0/endpoints/billing/wallet-movements"}]},{"group":"Channels","pages":[{"title":"List channels","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json get /channels","href":"/api-reference/v2.0/endpoints/channels/list-channels"},{"title":"Get a channel","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json get /channels/{type}/{id}","href":"/api-reference/v2.0/endpoints/channels/get-a-channel"},{"title":"Attach or move a channel","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json put /channels/{type}/{id}/agent","href":"/api-reference/v2.0/endpoints/channels/attach-or-move-a-channel"},{"title":"Detach a channel from its agent","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json delete /channels/{type}/{id}/agent","href":"/api-reference/v2.0/endpoints/channels/detach-a-channel-from-its-agent"},{"title":"Create a Shortext endpoint","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json post /channels/shortext","href":"/api-reference/v2.0/endpoints/channels/create-a-shortext-endpoint"},{"title":"Delete a Shortext endpoint","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json delete /channels/shortext/{id}","href":"/api-reference/v2.0/endpoints/channels/delete-a-shortext-endpoint"},{"title":"Update a Shortext endpoint","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json patch /channels/shortext/{id}","href":"/api-reference/v2.0/endpoints/channels/update-a-shortext-endpoint"},{"title":"Rotate the webhook signing secret","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json post /channels/shortext/{id}/rotate-secret","href":"/api-reference/v2.0/endpoints/channels/rotate-the-webhook-signing-secret"}]},{"group":"Conversations","pages":[{"title":"List conversations","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json get /conversations","href":"/api-reference/v2.0/endpoints/conversations/list-conversations"},{"title":"Start a conversation","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json post /conversations","href":"/api-reference/v2.0/endpoints/conversations/start-a-conversation"},{"title":"Get a conversation","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json get /conversations/{id}","href":"/api-reference/v2.0/endpoints/conversations/get-a-conversation"},{"title":"List the messages of a conversation","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json get /conversations/{id}/messages","href":"/api-reference/v2.0/endpoints/conversations/list-the-messages-of-a-conversation"},{"title":"Reply to a conversation","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json post /conversations/{id}/messages","href":"/api-reference/v2.0/endpoints/conversations/reply-to-a-conversation"},{"title":"Take a conversation over","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json put /conversations/{id}/handover","href":"/api-reference/v2.0/endpoints/conversations/take-a-conversation-over"},{"title":"Hand a conversation back to the agent","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json delete /conversations/{id}/handover","href":"/api-reference/v2.0/endpoints/conversations/hand-a-conversation-back-to-the-agent"},{"title":"Assign a conversation","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json put /conversations/{id}/assignee","href":"/api-reference/v2.0/endpoints/conversations/assign-a-conversation"},{"title":"List assignees","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json get /conversations/assignees","href":"/api-reference/v2.0/endpoints/conversations/list-assignees"}]},{"group":"Account","pages":[{"title":"Current API key","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json get /me","href":"/api-reference/v2.0/endpoints/account/current-api-key"}]},{"group":"Tickets","pages":[{"title":"List SLA policies","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json get /agents/{agent}/sla-policies","href":"/api-reference/v2.0/endpoints/tickets/list-sla-policies"},{"title":"Create an SLA policy","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json post /agents/{agent}/sla-policies","href":"/api-reference/v2.0/endpoints/tickets/create-an-sla-policy"},{"title":"Get an SLA policy","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json get /agents/{agent}/sla-policies/{priority}","href":"/api-reference/v2.0/endpoints/tickets/get-an-sla-policy"},{"title":"Delete an SLA policy","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json delete /agents/{agent}/sla-policies/{priority}","href":"/api-reference/v2.0/endpoints/tickets/delete-an-sla-policy"},{"title":"Update an SLA policy","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json patch /agents/{agent}/sla-policies/{priority}","href":"/api-reference/v2.0/endpoints/tickets/update-an-sla-policy"},{"title":"List tickets","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json get /tickets","href":"/api-reference/v2.0/endpoints/tickets/list-tickets"},{"title":"Open a ticket","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json post /tickets","href":"/api-reference/v2.0/endpoints/tickets/open-a-ticket"},{"title":"Get a ticket","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json get /tickets/{id}","href":"/api-reference/v2.0/endpoints/tickets/get-a-ticket"},{"title":"Update a ticket","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json patch /tickets/{id}","href":"/api-reference/v2.0/endpoints/tickets/update-a-ticket"},{"title":"Ticket activity","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json get /tickets/{id}/activities","href":"/api-reference/v2.0/endpoints/tickets/ticket-activity"},{"title":"Add a note","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json post /tickets/{id}/comments","href":"/api-reference/v2.0/endpoints/tickets/add-a-note"},{"title":"Answer the contact","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json post /tickets/{id}/responses","href":"/api-reference/v2.0/endpoints/tickets/answer-the-contact"},{"title":"List ticket statuses","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json get /agents/{agent}/ticket-statuses","href":"/api-reference/v2.0/endpoints/tickets/list-ticket-statuses"},{"title":"Create a ticket status","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json post /agents/{agent}/ticket-statuses","href":"/api-reference/v2.0/endpoints/tickets/create-a-ticket-status"},{"title":"Get a ticket status","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json get /agents/{agent}/ticket-statuses/{code}","href":"/api-reference/v2.0/endpoints/tickets/get-a-ticket-status"},{"title":"Delete a ticket status","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json delete /agents/{agent}/ticket-statuses/{code}","href":"/api-reference/v2.0/endpoints/tickets/delete-a-ticket-status"},{"title":"Update a ticket status","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json patch /agents/{agent}/ticket-statuses/{code}","href":"/api-reference/v2.0/endpoints/tickets/update-a-ticket-status"}]},{"group":"Templates","pages":[{"title":"List WhatsApp templates","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json get /templates","href":"/api-reference/v2.0/endpoints/templates/list-whatsapp-templates"},{"title":"Create a WhatsApp template","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json post /templates","href":"/api-reference/v2.0/endpoints/templates/create-a-whatsapp-template"},{"title":"Get a WhatsApp template","description":null,"deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json get /templates/{id}","href":"/api-reference/v2.0/endpoints/templates/get-a-whatsapp-template"},{"title":"Edit a WhatsApp template","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json patch /templates/{id}","href":"/api-reference/v2.0/endpoints/templates/edit-a-whatsapp-template"}]},{"group":"Hosted sessions","pages":[{"title":"Purposes of the hosted sessions","description":null,"deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json get /hosted-sessions/purposes","href":"/api-reference/v2.0/endpoints/hosted-sessions/purposes-of-the-hosted-sessions"},{"title":"List hosted sessions","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json get /hosted-sessions","href":"/api-reference/v2.0/endpoints/hosted-sessions/list-hosted-sessions"},{"title":"Create a hosted session","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json post /hosted-sessions","href":"/api-reference/v2.0/endpoints/hosted-sessions/create-a-hosted-session"},{"title":"Get a hosted session","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json get /hosted-sessions/{id}","href":"/api-reference/v2.0/endpoints/hosted-sessions/get-a-hosted-session"},{"title":"Cancel a hosted session","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json delete /hosted-sessions/{id}","href":"/api-reference/v2.0/endpoints/hosted-sessions/cancel-a-hosted-session"}]},{"group":"Webhooks","pages":[{"title":"Webhook event catalog","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json get /webhooks/events","href":"/api-reference/v2.0/endpoints/webhooks/webhook-event-catalog"},{"title":"List webhook endpoints","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json get /webhooks","href":"/api-reference/v2.0/endpoints/webhooks/list-webhook-endpoints"},{"title":"Create a webhook endpoint","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json post /webhooks","href":"/api-reference/v2.0/endpoints/webhooks/create-a-webhook-endpoint"},{"title":"Get a webhook endpoint","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json get /webhooks/{id}","href":"/api-reference/v2.0/endpoints/webhooks/get-a-webhook-endpoint"},{"title":"Update a webhook endpoint","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json put /webhooks/{id}","href":"/api-reference/v2.0/endpoints/webhooks/update-a-webhook-endpoint"},{"title":"Delete a webhook endpoint","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json delete /webhooks/{id}","href":"/api-reference/v2.0/endpoints/webhooks/delete-a-webhook-endpoint"},{"title":"Rotate the signing secret","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json post /webhooks/{id}/rotate-secret","href":"/api-reference/v2.0/endpoints/webhooks/rotate-the-signing-secret"},{"title":"Send a test event","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json post /webhooks/{id}/test","href":"/api-reference/v2.0/endpoints/webhooks/send-a-test-event"},{"title":"Delivery history","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json get /webhooks/{id}/deliveries","href":"/api-reference/v2.0/endpoints/webhooks/delivery-history"},{"title":"Redeliver an event","deprecated":null,"version":null,"openapi":"/api-reference/v2.0/openapi.json post /webhooks/{id}/deliveries/{delivery}/retry","href":"/api-reference/v2.0/endpoints/webhooks/redeliver-an-event"}]}]}]},{"version":"v1.0","tag":"Legacy","pages":[{"title":"v1.0","href":"/api-reference/v1.0/endpoints/agents/search-agents"}]}]}]},{"language":"fr","pages":[{"title":"fr","href":"/fr/api-reference/v2.0/endpoints/templates/edit-a-whatsapp-template"}]}]},"title":"Edit a WhatsApp template - Shortext","buildId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","deploymentId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-Bbp7I60D.js","utils-C3RIvJha.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DqD-vLt8.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B31Loprg.js","snippetPresets-DKpk-b8t.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","Page-n7I5XbKb.js","ApiExamples-Cj65AhOR.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BXtn5gcC.js","shallow-RY2b03Cp.js","getApiPlaygroundDisplay-B0jeiPk3.js","CodeSnippet-CYgBjjwn.js","CodeSnippets-DOngDrYB.js","getPastedJson-DRQbJx-T.js","icon-CQiQCicY.js","MethodPill-BKTLdNtu.js","DuplicateIcon-B9jpAdat.js","createIcon-DCddRrXv.js","DynamicMarkdown-a8hUKrw6.js","SectionHeading-eECVV2eH.js","axios-vUo_bRtp.js","Markdown--GF7ZIpf.js","clsx-DZLdJUrt.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-2LoAhjKH.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Zwc0ZncM.js"]}