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/messages/send-an-otp","slug":"/api-reference/messages/send-an-otp","pageMetadata":{"title":"Send an OTP","description":"Sends a one-time code with your approved authentication template (at most 15 characters, no spaces). Leave out the template when you have exactly one.\n\nPermission: A Full or Send only key.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/messages/otp","href":"/api-reference/messages/send-an-otp","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: \"Sends a one-time code with your approved authentication template (at most 15 characters, no spaces). Leave out the template when you have exactly one.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"Permission: A Full or Send only 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":"Send an OTP","description":"Sends a one-time code with your approved authentication template (at most 15 characters, no spaces). Leave out the template when you have exactly one.\n\nPermission: A Full or Send only key.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/messages/otp","href":"/api-reference/messages/send-an-otp","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Messages"],"summary":"Send an OTP","description":"Sends a one-time code with your approved authentication template (at most 15 characters, no spaces). Leave out the template when you have exactly one.\n\nPermission: A Full or Send only key.","parameters":["fe14eba5-7b62-4816-a1c2-2d03e65d1580"],"requestBody":"3b9c6f6e-e6fe-461e-8593-dcca3dc2dded","responses":{"201":"efcfcc60-dcaa-4897-96b3-6cdd146b58b6","400":"1612ca4f-42f8-4f84-ba2d-54c558cdc97f","401":"136b60e6-10ee-4e39-8ebf-4196321fb711","402":"ce13a0af-6a2e-4bcf-be6d-551df97bd509","403":"8dc281a2-5e69-4558-a547-6756da1c397f","404":"b027a1ad-5c27-4d2c-b0b3-aba64be78fa7","409":"4ab584ec-4ee6-4f2a-b648-017901171009","422":"0192ace8-c3cd-4e26-8abb-5fafe7d006ad","429":"5e6acb35-1f9a-4817-8b72-4201b4a6b652","500":"365be26f-f43e-453b-92a2-03c921cdcc46"},"method":"post","type":"path","servers":["772ac54b-10a6-44bf-ba1a-b0b583a54fce"],"security":["4cc84b6f-eb87-49b9-b5ae-3d8a351c8af0"],"path":"/v1/messages/otp","baseUrlOptions":["https://api.getreply.in"],"title":"Send an OTP","codeSamples":[],"requestExampleLanguages":["bash","javascript","php","python"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"fe14eba5-7b62-4816-a1c2-2d03e65d1580":{"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":"otp-login-7781"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["to","code"],"properties":{"to":{"type":"string","description":"The person's WhatsApp number with its country code, e.g. +9198250*****.","isRequired":true,"uniqueKey":"to","typeLabel":"string"},"code":{"type":"string","description":"The one-time code.","maxLength":15,"isRequired":true,"uniqueKey":"code","typeLabel":"string"},"reference":{"type":"string","description":"Your own reference for this message (at most 512 characters). It comes back on the message and its webhooks.","maxLength":512,"uniqueKey":"reference","typeLabel":"string"},"template":{"type":"object","properties":{"name":{"type":"string","uniqueKey":"template.name","typeLabel":"string"},"language":{"type":"string","uniqueKey":"template.language","typeLabel":"string"}},"uniqueKey":"template","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"to":"+9198250*****","code":"482913"},"examples":{"Example":{"title":"Example","value":{"to":"+9198250*****","code":"482913"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"efcfcc60-dcaa-4897-96b3-6cdd146b58b6":{"description":"Accepted for sending.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","uniqueKey":"id","typeLabel":"string"},"status":{"type":"string","uniqueKey":"status","typeLabel":"string"},"to":{"type":"string","uniqueKey":"to","typeLabel":"string"},"country":{"type":"string","uniqueKey":"country","typeLabel":"string"},"category":{"oneOf":[{"type":"string","uniqueKey":"category.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"category.oneOf.1","typeLabel":"null"}],"uniqueKey":"category","typeLabel":"string | null"},"price":{"oneOf":[{"type":"string","uniqueKey":"price.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"price.oneOf.1","typeLabel":"null"}],"uniqueKey":"price","typeLabel":"string | null"},"reference":{"oneOf":[{"type":"string","uniqueKey":"reference.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"reference.oneOf.1","typeLabel":"null"}],"uniqueKey":"reference","typeLabel":"string | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","status":"\u003cstring>","to":"\u003cstring>","country":"\u003cstring>","category":"\u003cstring>","price":"\u003cstring>","reference":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"1612ca4f-42f8-4f84-ba2d-54c558cdc97f":{"description":"validation_error: Some fields are missing or wrong. · invalid_number: Not a valid number.","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."}}},"invalid_number":{"title":"invalid_number","value":{"error":{"code":"invalid_number","message":"Not a valid number."}}}},"exampleType":"examples"}},"exampleType":"examples"},"136b60e6-10ee-4e39-8ebf-4196321fb711":{"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"},"ce13a0af-6a2e-4bcf-be6d-551df97bd509":{"description":"insufficient_balance: Not enough money in your wallet.","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":{"insufficient_balance":{"title":"insufficient_balance","value":{"error":{"code":"insufficient_balance","message":"Not enough money in your wallet."}}}},"exampleType":"examples"}},"exampleType":"examples"},"8dc281a2-5e69-4558-a547-6756da1c397f":{"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"},"b027a1ad-5c27-4d2c-b0b3-aba64be78fa7":{"description":"template_not_found: Template not found.","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":{"template_not_found":{"title":"template_not_found","value":{"error":{"code":"template_not_found","message":"Template not found."}}}},"exampleType":"examples"}},"exampleType":"examples"},"4ab584ec-4ee6-4f2a-b648-017901171009":{"description":"request_id_reused: This request ID was already used for a different request. · number_not_ready: Your WhatsApp number can't send messages right now.","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."}}},"number_not_ready":{"title":"number_not_ready","value":{"error":{"code":"number_not_ready","message":"Your WhatsApp number can't send messages right now."}}}},"exampleType":"examples"}},"exampleType":"examples"},"0192ace8-c3cd-4e26-8abb-5fafe7d006ad":{"description":"daily_limit_reached: Your daily messaging limit is reached. · country_unavailable: WhatsApp isn't available in this country. · no_price: Sending to this country isn't available yet. · otp_template_missing: No approved OTP template found. · template_not_approved: This template isn't approved yet.","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":{"daily_limit_reached":{"title":"daily_limit_reached","value":{"error":{"code":"daily_limit_reached","message":"Your daily messaging limit is reached."}}},"country_unavailable":{"title":"country_unavailable","value":{"error":{"code":"country_unavailable","message":"WhatsApp isn't available in this country."}}},"no_price":{"title":"no_price","value":{"error":{"code":"no_price","message":"Sending to this country isn't available yet."}}},"otp_template_missing":{"title":"otp_template_missing","value":{"error":{"code":"otp_template_missing","message":"No approved OTP template found."}}},"template_not_approved":{"title":"template_not_approved","value":{"error":{"code":"template_not_approved","message":"This template isn't approved yet."}}}},"exampleType":"examples"}},"exampleType":"examples"},"5e6acb35-1f9a-4817-8b72-4201b4a6b652":{"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"},"365be26f-f43e-453b-92a2-03c921cdcc46":{"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":"Send an OTP - GetReply","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-25T11:16:56.933Z","originalFileLocation":"api-reference/messages/send-an-otp.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=\"Sends a one-time code with your approved authentication template (at most 15 characters, no spaces). Leave out the template when you have exactly one. Permission: A Full or Send only 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=\"Send an OTP - GetReply\">\u003cmeta data-mint-head property=\"og:description\" content=\"Sends a one-time code with your approved authentication template (at most 15 characters, no spaces). Leave out the template when you have exactly one. Permission: A Full or Send only 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/messages/send-an-otp\">\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=Messages\u0026amp;title=Send+an+OTP\u0026amp;description=Sends+a+one-time+code+with+your+approved+authentication+template+%28at+most+15+characters%2C+no+spaces%29.+Leave+out+the+template+when+you+have+exactly+one.%0A%0APermissi\u0026amp;theme=360804b58abbfc9aee2cea79\u0026amp;signature=b4e9aec29e440a0771e347688d7d7ab4845a09bcfdf5b1c0083e2aa9f132556c\">\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=\"Send an OTP - GetReply\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Sends a one-time code with your approved authentication template (at most 15 characters, no spaces). Leave out the template when you have exactly one. Permission: A Full or Send only key.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://get-reply.mintlify.app/_mintlify/api/og/v2?division=Messages\u0026amp;title=Send+an+OTP\u0026amp;description=Sends+a+one-time+code+with+your+approved+authentication+template+%28at+most+15+characters%2C+no+spaces%29.+Leave+out+the+template+when+you+have+exactly+one.%0A%0APermissi\u0026amp;theme=360804b58abbfc9aee2cea79\u0026amp;signature=b4e9aec29e440a0771e347688d7d7ab4845a09bcfdf5b1c0083e2aa9f132556c\">\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/messages/send-an-otp\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/messages/send-an-otp.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/messages/send-an-otp#webpage\",\"url\":\"https://docs.getreply.in/api-reference/messages/send-an-otp\",\"name\":\"Send an OTP\",\"description\":\"Sends a one-time code with your approved authentication template (at most 15 characters, no spaces). Leave out the template when you have exactly one. Permission: A Full or Send only key.\",\"dateModified\":\"2026-10-25T11:16:56.933Z\",\"isPartOf\":{\"@id\":\"https://docs.getreply.in#website\"},\"breadcrumb\":{\"@id\":\"https://docs.getreply.in/api-reference/messages/send-an-otp#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.getreply.in/api-reference/messages/send-an-otp#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Messages\",\"item\":\"https://docs.getreply.in/api-reference/messages/a-received-file\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Send an OTP\",\"item\":\"https://docs.getreply.in/api-reference/messages/send-an-otp\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.getreply.in/api-reference/messages/send-an-otp#apireference\",\"headline\":\"Send an OTP\",\"name\":\"Send an OTP\",\"description\":\"Sends a one-time code with your approved authentication template (at most 15 characters, no spaces). Leave out the template when you have exactly one. Permission: A Full or Send only key.\",\"url\":\"https://docs.getreply.in/api-reference/messages/send-an-otp\",\"mainEntityOfPage\":{\"@id\":\"https://docs.getreply.in/api-reference/messages/send-an-otp#webpage\"},\"dateModified\":\"2026-10-25T11:16:56.933Z\",\"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","description":"Sends an image, video, audio or document by https link, inside the 24-hour window. Largest files: image 5 MB, video 16 MB, audio 16 MB, document 100 MB. A caption is at most 1024 characters (not for audio).\n\nPermission: A Full or Send only key.","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","description":"Sends an approved template to one person: its header (text or a file by link), one value per variable, and the values its buttons need.\n\nPermission: A Full or Send only key.","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","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","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":"Send an OTP - 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"]}