Your own unique id for this request (at most 255 characters). The same id and body within 24 hours answers the first answer again — never a second send or charge.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"GetReply","description":"Send WhatsApp messages, templates, OTPs and campaigns from your own software with the GetReply API.","colors":{"primary":"#EA580C","light":"#FBBF24","dark":"#C2410C"},"logo":{"light":"https://mintcdn.com/get-reply/rxYEJ80RdevvmQBM/logo/light.svg?fit=max\u0026auto=format\u0026n=rxYEJ80RdevvmQBM\u0026q=85\u0026s=fceec9598764769780294fed8e710807","dark":"https://mintcdn.com/get-reply/rxYEJ80RdevvmQBM/logo/dark.svg?fit=max\u0026auto=format\u0026n=rxYEJ80RdevvmQBM\u0026q=85\u0026s=087d3e0898812c7ec7fb1acee28ac85f","href":"https://docs.getreply.in"},"favicon":"https://mintcdn.com/get-reply/rxYEJ80RdevvmQBM/favicon.svg?fit=max\u0026auto=format\u0026n=rxYEJ80RdevvmQBM\u0026q=85\u0026s=f7251fe80eb99ab3ca00c66c511fab8f","api":{"openapi":"openapi.json","playground":{"display":"interactive"},"examples":{"defaults":"required","languages":["curl","javascript","php","python"]}},"navbar":{"links":[{"href":"https://app.getreply.in","label":"Portal"}],"primary":{"type":"button","label":"Get an API key","href":"https://app.getreply.in/developer/api-keys"}},"footer":{"links":[{"header":"GetReply","items":[{"label":"Portal","href":"https://app.getreply.in"},{"label":"Get an API key","href":"https://app.getreply.in/developer/api-keys"}]}]},"fonts":{"family":"Plus Jakarta Sans"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"get-reply","hasAudioNarration":false,"actualSubdomain":"get-reply","customDomains":["docs.getreply.in"],"gitSource":{"type":"github","owner":"getreply26-now","repo":"getreply-platform","deployBranch":"main","contentDirectory":"docs-site","isPrivate":true,"mountPath":"","label":"","_id":"6addc68999006ddb7c7dbd37"},"chroma":{"latestBuiltDeploymentHistoryId":"6addc77d99006ddb7c7dc756","collectionId":"2e210a10-e5a4-481d-8958-ebb8f7df54ff","liveDeploymentHistoryId":"6addc77d99006ddb7c7dc756","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6adde523ab7ad0ef398a36c5","clientVersion":"0.0.3965","searchFilterCounts":[{"language":"default","tag":"API reference","count":42},{"language":"default","tag":"Documentation","count":15},{"language":"default","tag":"Guides","count":10},{"language":"default","tag":"Contacts","count":10},{"language":"default","tag":"Messages","count":8},{"language":"default","tag":"Campaigns","count":7},{"language":"default","tag":"Webhooks","count":6},{"language":"default","tag":"Account","count":5},{"language":"default","tag":"Templates","count":5},{"language":"default","tag":"Getting started","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":true},"customCss":[],"page":{"pagePath":"api-reference/templates/create-a-template","slug":"/api-reference/templates/create-a-template","pageMetadata":{"title":"Create a template","description":"Creates a template and sends it for review — the same rules as in the app. It starts as pending.\n\nPermission: A Full key.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/templates","href":"/api-reference/templates/create-a-template","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Creates a template and sends it for review — the same rules as in the app. It starts as pending.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"Permission: A Full key.\"\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create a template","description":"Creates a template and sends it for review — the same rules as in the app. It starts as pending.\n\nPermission: A Full key.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/templates","href":"/api-reference/templates/create-a-template","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Templates"],"summary":"Create a template","description":"Creates a template and sends it for review — the same rules as in the app. It starts as pending.\n\nPermission: A Full key.","parameters":["2b8274b2-9b15-45fd-9908-f91c2f8ccc17"],"requestBody":"09f4c1af-c75f-404b-93f4-a351bc2089e5","responses":{"201":"a43e6e7a-36f0-40ce-a3d5-8aa269fff1b2","400":"5c3906b7-c005-46bd-b0b5-a0511cd54d8d","401":"e79a5bf8-c40e-4010-92c2-10c35fe08b78","403":"1d5deb2d-09fd-4c70-9dcc-85b097f01298","409":"a19b9a5a-da05-4921-8164-c739c10e27a9","422":"bcc15f57-d9d1-4822-91dd-f4abfeb3dfab","429":"926baef5-c35a-45b0-bd76-7f939297a8d9","500":"2ba08d5b-f17d-4960-aa17-cd7589449fd8"},"method":"post","type":"path","servers":["772ac54b-10a6-44bf-ba1a-b0b583a54fce"],"security":["4cc84b6f-eb87-49b9-b5ae-3d8a351c8af0"],"path":"/v1/templates","baseUrlOptions":["https://api.getreply.in"],"title":"Create a template","codeSamples":[],"requestExampleLanguages":["bash","javascript","php","python"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"2b8274b2-9b15-45fd-9908-f91c2f8ccc17":{"name":"Idempotency-Key","in":"header","required":true,"description":"Your own unique id for this request (at most 255 characters). The same id and body within 24 hours answers the first answer again — never a second send or charge.","schema":{"type":"string","maxLength":255,"isRequired":true,"description":"Your own unique id for this request (at most 255 characters). The same id and body within 24 hours answers the first answer again — never a second send or charge.","uniqueKey":"","typeLabel":"string"},"example":"template-order-ready"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","language","category"],"properties":{"name":{"type":"string","description":"Lowercase letters, numbers and underscores.","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"language":{"type":"string","description":"A language code, e.g. en.","isRequired":true,"uniqueKey":"language","typeLabel":"string"},"category":{"type":"string","enum":["marketing","utility","authentication"],"isRequired":true,"uniqueKey":"category","typeLabel":"enum\u003cstring>"},"header":{"type":"object","properties":{"type":{"type":"string","enum":["text","image","video","document"],"uniqueKey":"header.type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","uniqueKey":"header.text","typeLabel":"string"},"url":{"type":"string","uniqueKey":"header.url","typeLabel":"string"}},"uniqueKey":"header","typeLabel":"object"},"body":{"type":"string","uniqueKey":"body","typeLabel":"string"},"footer":{"type":"string","uniqueKey":"footer","typeLabel":"string"},"examples":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"examples.additionalProperties","typeLabel":"string"},"description":"A sample for each variable, e.g. {\"body:name\": \"Rohan\"}.","uniqueKey":"examples","typeLabel":"object"},"buttons":{"type":"array","items":{"type":"object","uniqueKey":"buttons.items.[INDEX]","typeLabel":"object"},"uniqueKey":"buttons","typeLabel":"object[]"},"auth":{"type":"object","description":"Authentication options.","uniqueKey":"auth","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"name":"order_ready","language":"en","category":"utility","body":"Hi {{name}}, your order is ready.","examples":{"body:name":"Rohan"}},"examples":{"Example":{"title":"Example","value":{"name":"order_ready","language":"en","category":"utility","body":"Hi {{name}}, your order is ready.","examples":{"body:name":"Rohan"}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"a43e6e7a-36f0-40ce-a3d5-8aa269fff1b2":{"description":"Created.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","uniqueKey":"name","typeLabel":"string"},"language":{"type":"string","uniqueKey":"language","typeLabel":"string"},"category":{"type":"string","uniqueKey":"category","typeLabel":"string"},"status":{"type":"string","enum":["approved","pending","rejected","paused","disabled","in_appeal"],"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"rejection_reason":{"oneOf":[{"type":"string","uniqueKey":"rejection_reason.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"rejection_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"rejection_reason","typeLabel":"string | null"},"quality":{"type":"string","uniqueKey":"quality","typeLabel":"string"},"header_type":{"type":"string","uniqueKey":"header_type","typeLabel":"string"},"header_text":{"type":"string","uniqueKey":"header_text","typeLabel":"string"},"body":{"type":"string","uniqueKey":"body","typeLabel":"string"},"footer":{"oneOf":[{"type":"string","uniqueKey":"footer.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"footer.oneOf.1","typeLabel":"null"}],"uniqueKey":"footer","typeLabel":"string | null"},"variables":{"type":"integer","uniqueKey":"variables","typeLabel":"integer"},"buttons":{"type":"array","items":{"type":"object","uniqueKey":"buttons.items.[INDEX]","typeLabel":"object"},"uniqueKey":"buttons","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","language":"\u003cstring>","category":"\u003cstring>","status":"approved","rejection_reason":"\u003cstring>","quality":"\u003cstring>","header_type":"\u003cstring>","header_text":"\u003cstring>","body":"\u003cstring>","footer":"\u003cstring>","variables":123,"buttons":[{}]}}},"exampleType":"generated"}},"exampleType":"generated"},"5c3906b7-c005-46bd-b0b5-a0511cd54d8d":{"description":"validation_error: Some fields are missing or wrong.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"field":{"type":"string","description":"The one field that is wrong, when there is one.","uniqueKey":"error.field","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"validation_error":{"title":"validation_error","value":{"error":{"code":"validation_error","message":"Some fields are missing or wrong."}}}},"exampleType":"examples"}},"exampleType":"examples"},"e79a5bf8-c40e-4010-92c2-10c35fe08b78":{"description":"unauthorized: API key is missing or not valid.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"field":{"type":"string","description":"The one field that is wrong, when there is one.","uniqueKey":"error.field","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"unauthorized":{"title":"unauthorized","value":{"error":{"code":"unauthorized","message":"API key is missing or not valid."}}}},"exampleType":"examples"}},"exampleType":"examples"},"1d5deb2d-09fd-4c70-9dcc-85b097f01298":{"description":"key_off: This API key is switched off. · forbidden_scope: This API key isn't allowed to do this. · ip_not_allowed: Requests from this IP address aren't allowed for this key. · needs_pro_plan: The API needs the Pro plan. · plan_ended: Your plan has ended. Renew it to send messages.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"field":{"type":"string","description":"The one field that is wrong, when there is one.","uniqueKey":"error.field","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"key_off":{"title":"key_off","value":{"error":{"code":"key_off","message":"This API key is switched off."}}},"forbidden_scope":{"title":"forbidden_scope","value":{"error":{"code":"forbidden_scope","message":"This API key isn't allowed to do this."}}},"ip_not_allowed":{"title":"ip_not_allowed","value":{"error":{"code":"ip_not_allowed","message":"Requests from this IP address aren't allowed for this key."}}},"needs_pro_plan":{"title":"needs_pro_plan","value":{"error":{"code":"needs_pro_plan","message":"The API needs the Pro plan."}}},"plan_ended":{"title":"plan_ended","value":{"error":{"code":"plan_ended","message":"Your plan has ended. Renew it to send messages."}}}},"exampleType":"examples"}},"exampleType":"examples"},"a19b9a5a-da05-4921-8164-c739c10e27a9":{"description":"request_id_reused: This request ID was already used for a different request. · template_name_taken: A template with this name already exists.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"field":{"type":"string","description":"The one field that is wrong, when there is one.","uniqueKey":"error.field","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"request_id_reused":{"title":"request_id_reused","value":{"error":{"code":"request_id_reused","message":"This request ID was already used for a different request."}}},"template_name_taken":{"title":"template_name_taken","value":{"error":{"code":"template_name_taken","message":"A template with this name already exists."}}}},"exampleType":"examples"}},"exampleType":"examples"},"bcc15f57-d9d1-4822-91dd-f4abfeb3dfab":{"description":"media_unreachable: The media link can't be opened. · media_too_large: The media file is too large.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"field":{"type":"string","description":"The one field that is wrong, when there is one.","uniqueKey":"error.field","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"media_unreachable":{"title":"media_unreachable","value":{"error":{"code":"media_unreachable","message":"The media link can't be opened."}}},"media_too_large":{"title":"media_too_large","value":{"error":{"code":"media_too_large","message":"The media file is too large."}}}},"exampleType":"examples"}},"exampleType":"examples"},"926baef5-c35a-45b0-bd76-7f939297a8d9":{"description":"rate_limited: Too many requests. Try again in a few seconds.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"field":{"type":"string","description":"The one field that is wrong, when there is one.","uniqueKey":"error.field","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"rate_limited":{"title":"rate_limited","value":{"error":{"code":"rate_limited","message":"Too many requests. Try again in a few seconds."}}}},"exampleType":"examples"}},"exampleType":"examples"},"2ba08d5b-f17d-4960-aa17-cd7589449fd8":{"description":"server_error: Something went wrong on our side. Try again.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"field":{"type":"string","description":"The one field that is wrong, when there is one.","uniqueKey":"error.field","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"server_error":{"title":"server_error","value":{"error":{"code":"server_error","message":"Something went wrong on our side. Try again."}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"4cc84b6f-eb87-49b9-b5ae-3d8a351c8af0":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Your API key, e.g. gr_live_…","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"772ac54b-10a6-44bf-ba1a-b0b583a54fce":{"url":"https://api.getreply.in","description":"GetReply"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Your API key, e.g. gr_live_…","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Your API key, e.g. gr_live_…","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"get-reply","siteName":"GetReply","title":"Create a template - GetReply","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-25T11:16:56.968Z","originalFileLocation":"api-reference/templates/create-a-template.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Creates a template and sends it for review — the same rules as in the app. It starts as pending. Permission: A Full key.\">\u003cmeta data-mint-head name=\"application-name\" content=\"GetReply\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/get-reply/Mt9tkzbd4HY-rGpv/_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/get-reply/Mt9tkzbd4HY-rGpv/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/get-reply/Mt9tkzbd4HY-rGpv/_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/get-reply/Mt9tkzbd4HY-rGpv/_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/get-reply/Mt9tkzbd4HY-rGpv/_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/get-reply/Mt9tkzbd4HY-rGpv/_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/get-reply/Mt9tkzbd4HY-rGpv/_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/get-reply/Mt9tkzbd4HY-rGpv/_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/get-reply/Mt9tkzbd4HY-rGpv/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a template - GetReply\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates a template and sends it for review — the same rules as in the app. It starts as pending. Permission: A Full key.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"GetReply\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.getreply.in/api-reference/templates/create-a-template\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://get-reply.mintlify.app/_mintlify/api/og/v2?division=Templates\u0026amp;title=Create+a+template\u0026amp;description=Creates+a+template+and+sends+it+for+review+%E2%80%94+the+same+rules+as+in+the+app.+It+starts+as+pending.%0A%0APermission%3A+A+Full+key.\u0026amp;theme=360804b58abbfc9aee2cea79\u0026amp;signature=6e03f556cffd02f496378232dda1c93b952d8f865228de1663aa47b15dc4a2a8\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create a template - GetReply\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates a template and sends it for review — the same rules as in the app. It starts as pending. Permission: A Full key.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://get-reply.mintlify.app/_mintlify/api/og/v2?division=Templates\u0026amp;title=Create+a+template\u0026amp;description=Creates+a+template+and+sends+it+for+review+%E2%80%94+the+same+rules+as+in+the+app.+It+starts+as+pending.%0A%0APermission%3A+A+Full+key.\u0026amp;theme=360804b58abbfc9aee2cea79\u0026amp;signature=6e03f556cffd02f496378232dda1c93b952d8f865228de1663aa47b15dc4a2a8\">\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/get-reply/Mt9tkzbd4HY-rGpv/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"GetReply\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#EA580C\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.getreply.in/api-reference/templates/create-a-template\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/templates/create-a-template.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.getreply.in/#organization\",\"name\":\"GetReply\",\"url\":\"https://docs.getreply.in\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/get-reply/rxYEJ80RdevvmQBM/logo/light.svg?fit=max\u0026auto=format\u0026n=rxYEJ80RdevvmQBM\u0026q=85\u0026s=fceec9598764769780294fed8e710807\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.getreply.in#website\",\"name\":\"GetReply\",\"url\":\"https://docs.getreply.in\",\"publisher\":{\"@id\":\"https://docs.getreply.in/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.getreply.in/api-reference/templates/create-a-template#webpage\",\"url\":\"https://docs.getreply.in/api-reference/templates/create-a-template\",\"name\":\"Create a template\",\"description\":\"Creates a template and sends it for review — the same rules as in the app. It starts as pending. Permission: A Full key.\",\"dateModified\":\"2026-10-25T11:16:56.968Z\",\"isPartOf\":{\"@id\":\"https://docs.getreply.in#website\"},\"breadcrumb\":{\"@id\":\"https://docs.getreply.in/api-reference/templates/create-a-template#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.getreply.in/api-reference/templates/create-a-template#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Templates\",\"item\":\"https://docs.getreply.in/api-reference/templates/list-templates\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a template\",\"item\":\"https://docs.getreply.in/api-reference/templates/create-a-template\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.getreply.in/api-reference/templates/create-a-template#apireference\",\"headline\":\"Create a template\",\"name\":\"Create a template\",\"description\":\"Creates a template and sends it for review — the same rules as in the app. It starts as pending. Permission: A Full key.\",\"url\":\"https://docs.getreply.in/api-reference/templates/create-a-template\",\"mainEntityOfPage\":{\"@id\":\"https://docs.getreply.in/api-reference/templates/create-a-template#webpage\"},\"dateModified\":\"2026-10-25T11:16:56.968Z\",\"publisher\":{\"@id\":\"https://docs.getreply.in/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.getreply.in#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"GetReply\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"GetReply","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"title":"API reference","href":"/api-reference/introduction"}]},{"group":"Account","pages":[{"title":"Your account","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/account","href":"/api-reference/account/your-account"},{"title":"Your WhatsApp number","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/number","href":"/api-reference/account/your-whatsapp-number"},{"title":"Check your key","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/ping","href":"/api-reference/account/check-your-key"},{"title":"Message prices","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/prices","href":"/api-reference/account/message-prices"},{"title":"Today's usage","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/usage","href":"/api-reference/account/todays-usage"}]},{"group":"Messages","pages":[{"title":"A received file","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/media/{id}","href":"/api-reference/messages/a-received-file"},{"title":"Download a received file","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/media/{id}/file","href":"/api-reference/messages/download-a-received-file"},{"title":"A message","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/messages/{id}","href":"/api-reference/messages/a-message"},{"title":"Send buttons or a list","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/messages/interactive","href":"/api-reference/messages/send-buttons-or-a-list"},{"title":"Send a file","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/messages/media","href":"/api-reference/messages/send-a-file"},{"title":"Send an OTP","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/messages/otp","href":"/api-reference/messages/send-an-otp"},{"title":"Send a template","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/messages/template","href":"/api-reference/messages/send-a-template"},{"title":"Send a text reply","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/messages/text","href":"/api-reference/messages/send-a-text-reply"}]},{"group":"Templates","pages":[{"title":"List templates","description":"Your templates, with their status and quality.\n\nPermission: Any key (Full, Send only or Read only).","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/templates","href":"/api-reference/templates/list-templates"},{"title":"Create a template","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/templates","href":"/api-reference/templates/create-a-template"},{"title":"Delete a template","description":"Deletes a template (one language with ?language=, or every language of the name).\n\nPermission: A Full key.","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/templates/{name}","href":"/api-reference/templates/delete-a-template"},{"title":"A template","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/templates/{name}","href":"/api-reference/templates/a-template"},{"title":"Edit a template","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/templates/{name}","href":"/api-reference/templates/edit-a-template"}]},{"group":"Contacts","pages":[{"title":"List saved audiences","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/audiences","href":"/api-reference/contacts/list-saved-audiences"},{"title":"List contacts","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/contacts","href":"/api-reference/contacts/list-contacts"},{"title":"Add or update a contact","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/contacts","href":"/api-reference/contacts/add-or-update-a-contact"},{"title":"Delete a contact","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/contacts/{phone}","href":"/api-reference/contacts/delete-a-contact"},{"title":"A contact","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/contacts/{phone}","href":"/api-reference/contacts/a-contact"},{"title":"Edit a contact","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/contacts/{phone}","href":"/api-reference/contacts/edit-a-contact"},{"title":"Resume marketing messages","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/contacts/{phone}/resume-marketing","href":"/api-reference/contacts/resume-marketing-messages"},{"title":"Stop marketing messages","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/contacts/{phone}/stop-marketing","href":"/api-reference/contacts/stop-marketing-messages"},{"title":"Add or remove tags","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/contacts/{phone}/tags","href":"/api-reference/contacts/add-or-remove-tags"},{"title":"List tags","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/tags","href":"/api-reference/contacts/list-tags"}]},{"group":"Campaigns","pages":[{"title":"List campaigns","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/campaigns","href":"/api-reference/campaigns/list-campaigns"},{"title":"Create a campaign","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/campaigns","href":"/api-reference/campaigns/create-a-campaign"},{"title":"A campaign","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/campaigns/{id}","href":"/api-reference/campaigns/a-campaign"},{"title":"A campaign's messages","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/campaigns/{id}/messages","href":"/api-reference/campaigns/a-campaigns-messages"},{"title":"Pause a campaign","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/campaigns/{id}/pause","href":"/api-reference/campaigns/pause-a-campaign"},{"title":"Resume a campaign","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/campaigns/{id}/resume","href":"/api-reference/campaigns/resume-a-campaign"},{"title":"Stop a campaign","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/campaigns/{id}/stop","href":"/api-reference/campaigns/stop-a-campaign"}]},{"group":"Webhooks","pages":[{"title":"List webhooks","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/webhooks","href":"/api-reference/webhooks/list-webhooks"},{"title":"Add a webhook","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/webhooks","href":"/api-reference/webhooks/add-a-webhook"},{"title":"Delete a webhook","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/webhooks/{id}","href":"/api-reference/webhooks/delete-a-webhook"},{"title":"A webhook's deliveries","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/webhooks/{id}/deliveries","href":"/api-reference/webhooks/a-webhooks-deliveries"},{"title":"New signing secret","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/webhooks/{id}/rotate-secret","href":"/api-reference/webhooks/new-signing-secret"},{"title":"Send a test event","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/webhooks/{id}/test","href":"/api-reference/webhooks/send-a-test-event"}]}]}]},"title":"Create a template - GetReply","buildId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","deploymentId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"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","ApiExamples-Cj65AhOR.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BXtn5gcC.js","shallow-RY2b03Cp.js","getApiPlaygroundDisplay-B0jeiPk3.js","CodeSnippet-CYgBjjwn.js","CodeSnippets-DOngDrYB.js","Page-n7I5XbKb.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"]}