{"id":18170,"date":"2026-11-18T23:50:11","date_gmt":"2026-11-18T18:20:11","guid":{"rendered":"https:\/\/www.fast2sms.com\/help\/smart-otp-resend-otp-api\/"},"modified":"2026-11-18T23:50:11","modified_gmt":"2026-11-18T18:20:11","slug":"smart-otp-resend-otp-api","status":"publish","type":"post","link":"https:\/\/www.fast2sms.com\/help\/smart-otp-resend-otp-api\/","title":{"rendered":"Fast2SMS Resend OTP API: same OTP, 10-minute window, 5 sends"},"content":{"rendered":"<p>The Fast2SMS Resend OTP API sends the <strong>same<\/strong> OTP again to a number, for the &#8220;Didn&#8217;t get the code? Resend&#8221; button on your login or signup screen. You pass only the mobile number. Fast2SMS repeats the last OTP with the same OTP ID, so the user can type the code from either message. This page covers the limits (10 minutes, 5 sends), the wait time, charges, code in seven languages and every error.<\/p>\n<aside class=\"f2s-cta\" aria-label=\"Get started with Fast2SMS\"><div class=\"f2s-cta__copy\"><strong class=\"f2s-cta__title\">Add a resend button that works<\/strong><p>Smart OTP resends the same code, so users never type an old OTP by mistake.<\/p><\/div><div class=\"f2s-cta__actions\"><a class=\"f2s-cta__btn f2s-cta__btn--primary\" href=\"https:\/\/www.fast2sms.com\/\"><span>Sign up free<\/span> <span class=\"f2sh-btn__arrow\" aria-hidden=\"true\">&rarr;<\/span><\/a><a class=\"f2s-cta__btn f2s-cta__btn--ghost\" href=\"https:\/\/www.fast2sms.com\/meet\/\" target=\"_blank\" rel=\"noopener\">Book a free meeting<\/a><\/div><\/aside>\n<h2>Resend vs sending a new OTP<\/h2>\n<div class=\"f2s-facts\">\n<table>\n<thead>\n<tr>\n<th><\/th>\n<th>Resend OTP (<code>\/dev\/otp\/resend<\/code>)<\/th>\n<th>Send OTP again (<code>\/dev\/otp\/send<\/code>)<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Code<\/td>\n<td>Same code as the last send<\/td>\n<td>A new code<\/td>\n<\/tr>\n<tr>\n<td>Old messages<\/td>\n<td>Still show the right code<\/td>\n<td>Older codes are cancelled<\/td>\n<\/tr>\n<tr>\n<td>What you pass<\/td>\n<td><code>mobile<\/code> only<\/td>\n<td><code>mobile<\/code>, <code>otp_id<\/code> and options<\/td>\n<\/tr>\n<tr>\n<td>Limits<\/td>\n<td>Within 10 minutes of the last send, 5 sends in total<\/td>\n<td>Only the resend wait in OTP Settings<\/td>\n<\/tr>\n<tr>\n<td>Charged<\/td>\n<td>Yes, like a new message<\/td>\n<td>Yes<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>Use Resend for the resend button. Use Send when the user starts again, changes the number, or after a code expired or was locked.<\/p>\n<h2>How Resend OTP works<\/h2>\n<ul>\n<li>Fast2SMS finds the last OTP sent to that mobile from your account and sends the same value again, with the same OTP ID and the same expiry minutes.<\/li>\n<li>The expiry starts again from the resend. If you sent with <code>otp_expiry<\/code> 5, the code is valid for 5 minutes after the latest resend.<\/li>\n<li>Your template variables from the last send are used again. You can pass <code>variables_values<\/code> to change them.<\/li>\n<li>You get a new <code>request_id<\/code> for each resend, so each one has its own delivery status.<\/li>\n<\/ul>\n<h2>Limits you must design for<\/h2>\n<div class=\"f2s-facts\">\n<table>\n<thead>\n<tr>\n<th>Limit<\/th>\n<th>Value<\/th>\n<th>Can you change it?<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Resend window<\/td>\n<td>10 minutes from the last send to that number<\/td>\n<td>No, fixed<\/td>\n<\/tr>\n<tr>\n<td>Sends per OTP ID per number<\/td>\n<td>5 in 10 minutes, counting the first send. So 4 resends.<\/td>\n<td>No, fixed<\/td>\n<\/tr>\n<tr>\n<td>Wait between sends<\/td>\n<td>10 seconds if you never saved OTP Settings<\/td>\n<td>Yes, <strong>SMS Resend \/ Time Limit (Seconds)<\/strong> in <strong>OTP Settings<\/strong>, 0 to 3600<\/td>\n<\/tr>\n<tr>\n<td>Already verified<\/td>\n<td>No resend after a successful verify<\/td>\n<td>No<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h2>Endpoint and parameters<\/h2>\n<div class=\"f2s-facts\">\n<table>\n<tbody>\n<tr>\n<td>URL<\/td>\n<td><code>https:\/\/www.fast2sms.com\/dev\/otp\/resend<\/code><\/td>\n<\/tr>\n<tr>\n<td>Method<\/td>\n<td>POST with a JSON body (GET also works)<\/td>\n<\/tr>\n<tr>\n<td>Header<\/td>\n<td><code>authorization: YOUR_API_KEY<\/code>, without &#8220;Bearer&#8221;<\/td>\n<\/tr>\n<tr>\n<td><code>mobile<\/code><\/td>\n<td>Required. The same 10-digit number you sent the OTP to.<\/td>\n<\/tr>\n<tr>\n<td><code>variables_values<\/code><\/td>\n<td>Optional. New values for the other template variables. Leave it out to reuse the last ones.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h2>Code examples<\/h2>\n<h3>cURL<\/h3>\n<pre><code class=\"language-bash\">curl -X POST \"https:\/\/www.fast2sms.com\/dev\/otp\/resend\" \\\n  -H \"authorization: YOUR_API_KEY\" \\\n  -H \"Content-Type: application\/json\" \\\n  -d '{\"mobile\":\"9999999999\"}'<\/code><\/pre>\n<h3>PHP<\/h3>\n<pre><code class=\"language-php\">&lt;?php\nfunction resendOtp(string $mobile): array\n{\n    $ch = curl_init('https:\/\/www.fast2sms.com\/dev\/otp\/resend');\n    curl_setopt_array($ch, [\n        CURLOPT_POST           =&gt; true,\n        CURLOPT_RETURNTRANSFER =&gt; true,\n        CURLOPT_TIMEOUT        =&gt; 15,\n        CURLOPT_HTTPHEADER     =&gt; [\n            'authorization: YOUR_API_KEY',\n            'Content-Type: application\/json',\n        ],\n        CURLOPT_POSTFIELDS     =&gt; json_encode(['mobile' =&gt; $mobile]),\n    ]);\n    $body = curl_exec($ch);\n    $http = curl_getinfo($ch, CURLINFO_HTTP_CODE);\n    curl_close($ch);\n\n    $res = json_decode((string) $body, true) ?: [];\n    return [\n        'ok'      =&gt; $http === 200 &amp;&amp; ($res['return'] ?? false) === true,\n        'message' =&gt; $res['message'] ?? 'No response',\n    ];\n}\n\nprint_r(resendOtp('9999999999'));<\/code><\/pre>\n<h3>Python<\/h3>\n<pre><code class=\"language-python\">import requests\n\ndef resend_otp(mobile):\n    r = requests.post(\n        \"https:\/\/www.fast2sms.com\/dev\/otp\/resend\",\n        headers={\"authorization\": \"YOUR_API_KEY\"},\n        json={\"mobile\": mobile},\n        timeout=15,\n    )\n    data = r.json()\n    return r.status_code == 200 and data.get(\"return\") is True, data.get(\"message\")\n\nprint(resend_otp(\"9999999999\"))<\/code><\/pre>\n<h3>Node.js<\/h3>\n<pre><code class=\"language-javascript\">async function resendOtp(mobile) {\n  const res = await fetch(\"https:\/\/www.fast2sms.com\/dev\/otp\/resend\", {\n    method: \"POST\",\n    headers: { authorization: \"YOUR_API_KEY\", \"Content-Type\": \"application\/json\" },\n    body: JSON.stringify({ mobile }),\n  });\n  const data = await res.json();\n  return { ok: res.status === 200 &amp;&amp; data.return === true, message: data.message };\n}\n\nresendOtp(\"9999999999\").then(console.log);<\/code><\/pre>\n<h3>Java<\/h3>\n<pre><code class=\"language-java\">import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\npublic class ResendOtp {\n    public static void main(String[] args) throws Exception {\n        HttpRequest request = HttpRequest.newBuilder()\n                .uri(URI.create(\"https:\/\/www.fast2sms.com\/dev\/otp\/resend\"))\n                .header(\"authorization\", \"YOUR_API_KEY\")\n                .header(\"Content-Type\", \"application\/json\")\n                .POST(HttpRequest.BodyPublishers.ofString(\"{\\\"mobile\\\":\\\"9999999999\\\"}\"))\n                .build();\n\n        HttpResponse&lt;String&gt; response = HttpClient.newHttpClient()\n                .send(request, HttpResponse.BodyHandlers.ofString());\n\n        System.out.println(response.statusCode() + \" \" + response.body());\n    }\n}<\/code><\/pre>\n<h3>C# (.NET)<\/h3>\n<pre><code class=\"language-csharp\">using System;\nusing System.Net.Http;\nusing System.Text;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage(HttpMethod.Post, \"https:\/\/www.fast2sms.com\/dev\/otp\/resend\");\nrequest.Headers.TryAddWithoutValidation(\"authorization\", \"YOUR_API_KEY\");\nrequest.Content = new StringContent(\"{\\\"mobile\\\":\\\"9999999999\\\"}\", Encoding.UTF8, \"application\/json\");\n\nvar response = await client.SendAsync(request);\nConsole.WriteLine($\"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}\");<\/code><\/pre>\n<h3>Go<\/h3>\n<pre><code class=\"language-go\">package main\n\nimport (\n\t\"fmt\"\n\t\"io\"\n\t\"net\/http\"\n\t\"strings\"\n\t\"time\"\n)\n\nfunc main() {\n\treq, _ := http.NewRequest(\"POST\", \"https:\/\/www.fast2sms.com\/dev\/otp\/resend\",\n\t\tstrings.NewReader(`{\"mobile\":\"9999999999\"}`))\n\treq.Header.Set(\"authorization\", \"YOUR_API_KEY\")\n\treq.Header.Set(\"Content-Type\", \"application\/json\")\n\n\tclient := &amp;http.Client{Timeout: 15 * time.Second}\n\tresp, err := client.Do(req)\n\tif err &#33;= nil {\n\t\tpanic(err)\n\t}\n\tdefer resp.Body.Close()\n\n\tbody, _ := io.ReadAll(resp.Body)\n\tfmt.Println(resp.StatusCode, string(body))\n}<\/code><\/pre>\n<h2>Responses<\/h2>\n<p>Success looks the same as Send OTP, with a new request ID:<\/p>\n<pre><code class=\"language-json\">{\"return\":true,\"status_code\":200,\"request_id\":\"Oa1B2c3D4e5F6g7\",\"message\":\"OTP sent successfully\"}<\/code><\/pre>\n<div class=\"f2s-facts\">\n<table>\n<thead>\n<tr>\n<th>HTTP<\/th>\n<th>message<\/th>\n<th>What to do<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>400<\/td>\n<td>Mobile Number is required<\/td>\n<td>The number is missing or not a valid 10-digit number. Resend uses this one text for every number problem.<\/td>\n<\/tr>\n<tr>\n<td>404<\/td>\n<td>No previous OTP request found for this mobile<\/td>\n<td>Nothing was sent to this number from your account. Call Send OTP first.<\/td>\n<\/tr>\n<tr>\n<td>400<\/td>\n<td>OTP already verified. Please request a new OTP.<\/td>\n<td>The user already verified. If you need a new code, call Send OTP.<\/td>\n<\/tr>\n<tr>\n<td>400<\/td>\n<td>OTP resend window (10 minutes) has expired. Please request a new OTP.<\/td>\n<td>More than 10 minutes since the last send. Call Send OTP for a new code.<\/td>\n<\/tr>\n<tr>\n<td>400<\/td>\n<td>Maximum resend limit (5 times) reached. Please try again later.<\/td>\n<td>5 sends in 10 minutes. Ask the user to wait, or check the number is right.<\/td>\n<\/tr>\n<tr>\n<td>400<\/td>\n<td>Please wait N seconds before requesting a new OTP<\/td>\n<td>The wait from OTP Settings is still running. Show a countdown with N seconds.<\/td>\n<\/tr>\n<tr>\n<td>400<\/td>\n<td>Insufficient wallet balance. You need at least \u20b9&#8230;<\/td>\n<td>Add money to your wallet.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>Resend runs the same checks as Send OTP after its own checks, so every Send OTP error can also come back from Resend.<\/p>\n<aside class=\"f2s-cta\" aria-label=\"Get started with Fast2SMS\"><div class=\"f2s-cta__copy\"><strong class=\"f2s-cta__title\">Build OTP login with Smart OTP<\/strong><p>Send, resend and verify OTPs on SMS and WhatsApp with three simple API calls.<\/p><\/div><div class=\"f2s-cta__actions\"><a class=\"f2s-cta__btn f2s-cta__btn--primary\" href=\"https:\/\/www.fast2sms.com\/\"><span>Sign up free<\/span> <span class=\"f2sh-btn__arrow\" aria-hidden=\"true\">&rarr;<\/span><\/a><a class=\"f2s-cta__btn f2s-cta__btn--ghost\" href=\"https:\/\/www.fast2sms.com\/meet\/\" target=\"_blank\" rel=\"noopener\">Book a free meeting<\/a><\/div><\/aside>\n<h2>Build a resend button users understand<\/h2>\n<ol class=\"f2s-steps\">\n<li>\n<h3>Start with a countdown<\/h3>\n<p>After Send OTP, show &#8220;Resend in 30s&#8221; and keep the button off until the timer ends. Use the same number of seconds as <strong>SMS Resend \/ Time Limit (Seconds)<\/strong> in <strong>OTP Settings<\/strong>. Then the API never answers &#8220;Please wait&#8221;.<\/p>\n<figure class=\"f2s-shot\"><img src=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/smart-otp-settings-hd-7-scaled.webp\" width=\"1440\" height=\"900\" loading=\"lazy\" decoding=\"async\" alt=\"OTP Settings page showing SMS Resend Time Limit set to 30 seconds and Max Verify OTP Limit set to 5\"><figcaption>Match your button timer to this wait.<\/figcaption><\/figure>\n<\/li>\n<li>\n<h3>Call Resend OTP on click<\/h3>\n<p>Send only the mobile number. On success, restart the countdown and show &#8220;Code sent again&#8221;. The user can type the code from any of the messages, because it is the same code.<\/p>\n<\/li>\n<li>\n<h3>Count the resends<\/h3>\n<p>Allow 4 resends at most. After that, hide the button and show a message such as &#8220;Too many tries. Please check your number or try again later.&#8221;<\/p>\n<\/li>\n<li>\n<h3>Switch to a new code after 10 minutes<\/h3>\n<p>If the resend window error comes back, or the code expired, call Send OTP instead. That gives a fresh code and a fresh limit.<\/p>\n<\/li>\n<li>\n<h3>Watch your costs<\/h3>\n<p>Each resend is a new message and a new debit. You can see every send and resend as its own line in Smart OTP&#8217;s <strong>Transaction History<\/strong>.<\/p>\n<figure class=\"f2s-shot\"><img src=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/otp-transaction-history-hd-scaled.webp\" width=\"1440\" height=\"900\" loading=\"lazy\" decoding=\"async\" alt=\"Transaction History OTP page with Smart OTP SMS and WhatsApp debit lines, each with price and time\"><figcaption>Every OTP message, including resends, is a separate debit.<\/figcaption><\/figure>\n<\/li>\n<\/ol>\n<section class=\"f2s-faq\">\n<h2>Frequently asked questions<\/h2>\n<h3>Does Resend OTP send a new code?<\/h3>\n<p>No. It sends the same code as the last send to that number. To get a new code, call Send OTP.<\/p>\n<h3>Is resend charged?<\/h3>\n<p>Yes. Each resend is a new SMS or WhatsApp message and is charged like a normal OTP.<\/p>\n<h3>How many times can I resend an OTP?<\/h3>\n<p>4 times. The limit is 5 sends of the same OTP ID to one number in 10 minutes, and the first send counts as one.<\/p>\n<h3>Can I resend on WhatsApp if the SMS did not arrive?<\/h3>\n<p>Resend uses the same OTP ID, so it goes on the same channel as the first send. For the other channel, add a fallback to the OTP template. A failed message is then sent once on the other channel automatically.<\/p>\n<h3>Does resend reset the expiry time?<\/h3>\n<p>Yes. The code is valid for the same number of minutes, counted from the latest resend.<\/p>\n<h3>Can I change the 10-minute window or the 5-send limit?<\/h3>\n<p>No. Both are fixed. You can only change the wait between sends, in <strong>OTP Settings<\/strong>.<\/p>\n<\/section>\n<aside class=\"f2s-cta\" aria-label=\"Get started with Fast2SMS\"><div class=\"f2s-cta__copy\"><strong class=\"f2s-cta__title\">Start sending Smart OTP<\/strong><p>Create an OTP template and get SMS and WhatsApp OTP with resend and verify built in.<\/p><\/div><div class=\"f2s-cta__actions\"><a class=\"f2s-cta__btn f2s-cta__btn--primary\" href=\"https:\/\/www.fast2sms.com\/\"><span>Sign up free<\/span> <span class=\"f2sh-btn__arrow\" aria-hidden=\"true\">&rarr;<\/span><\/a><a class=\"f2s-cta__btn f2s-cta__btn--ghost\" href=\"https:\/\/www.fast2sms.com\/meet\/\" target=\"_blank\" rel=\"noopener\">Book a free meeting<\/a><\/div><\/aside>\n<h2>Related guides<\/h2>\n<ul>\n<li><a href=\"\/help\/smart-otp-setup-guide-fast2sms\/\">Smart OTP in Fast2SMS: set up OTP on SMS and WhatsApp with fallback<\/a><\/li>\n<li><a href=\"\/help\/fast2sms-transaction-history-explained\/\">Fast2SMS transaction history explained<\/a><\/li>\n<li><a href=\"https:\/\/www.fast2sms.com\/help\/otp-sms-smart-otp\/\">OTP SMS for websites: Smart OTP with WhatsApp fallback explained<\/a><\/li>\n<li><a href=\"https:\/\/www.fast2sms.com\/help\/otp-sms-whatsapp-faq\/\">OTP via SMS and WhatsApp: the complete FAQ<\/a><\/li>\n<li><a href=\"https:\/\/www.fast2sms.com\/otp-sms\">Fast2SMS OTP SMS<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The Fast2SMS Resend OTP API sends the same OTP again to a number, for the &#8220;Didn&#8217;t get the code? Resend&#8221; button on your login or signup screen. You pass only the mobile number. Fast2SMS repeats the last OTP with the same OTP ID, so the user can type the code from either message. This page [&hellip;]<\/p>\n","protected":false},"featured_media":18168,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,5],"tags":[],"class_list":["post-18170","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-api","category-otp"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Resend OTP API: Limits, Code and Errors | Fast2SMS<\/title>\n<meta name=\"description\" content=\"Add a resend code button with the Fast2SMS Resend OTP API. Same OTP, 10-minute window, 5 sends, wait time, charges, code in 7 languages and all errors.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.fast2sms.com\/help\/smart-otp-resend-otp-api\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Resend OTP API: Limits, Code and Errors | Fast2SMS\" \/>\n<meta property=\"og:description\" content=\"Add a resend code button with the Fast2SMS Resend OTP API. Same OTP, 10-minute window, 5 sends, wait time, charges, code in 7 languages and all errors.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.fast2sms.com\/help\/smart-otp-resend-otp-api\/\" \/>\n<meta property=\"og:site_name\" content=\"Fast2SMS\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Fast2SMS\/\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-18T18:20:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/smart-otp-settings-hd-7-scaled.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"1600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@fast2sms\" \/>\n<meta name=\"twitter:site\" content=\"@fast2sms\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/smart-otp-resend-otp-api\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/smart-otp-resend-otp-api\\\/\"},\"author\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#organization\"},\"headline\":\"Fast2SMS Resend OTP API: same OTP, 10-minute window, 5 sends\",\"datePublished\":\"2026-11-18T18:20:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/smart-otp-resend-otp-api\\\/\"},\"wordCount\":1054,\"publisher\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/smart-otp-resend-otp-api\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/smart-otp-settings-hd-7-scaled.webp\",\"articleSection\":[\"API\",\"OTP\"],\"inLanguage\":\"en-IN\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/smart-otp-resend-otp-api\\\/\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/smart-otp-resend-otp-api\\\/\",\"name\":\"Resend OTP API: Limits, Code and Errors | Fast2SMS\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/smart-otp-resend-otp-api\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/smart-otp-resend-otp-api\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/smart-otp-settings-hd-7-scaled.webp\",\"datePublished\":\"2026-11-18T18:20:11+00:00\",\"description\":\"Add a resend code button with the Fast2SMS Resend OTP API. Same OTP, 10-minute window, 5 sends, wait time, charges, code in 7 languages and all errors.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/smart-otp-resend-otp-api\\\/#breadcrumb\"},\"inLanguage\":\"en-IN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/smart-otp-resend-otp-api\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-IN\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/smart-otp-resend-otp-api\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/smart-otp-settings-hd-7-scaled.webp\",\"contentUrl\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/smart-otp-settings-hd-7-scaled.webp\",\"width\":2560,\"height\":1600,\"caption\":\"OTP Settings page showing SMS Resend Time Limit set to 30 seconds and Max Verify OTP Limit set to 5\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/smart-otp-resend-otp-api\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API\",\"item\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/api\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Fast2SMS Resend OTP API: same OTP, 10-minute window, 5 sends\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/#website\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/\",\"name\":\"Fast2SMS\",\"description\":\"Help\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#organization\"},\"inLanguage\":\"en-IN\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#organization\",\"name\":\"Fast2SMS\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#logo\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/Fast2SMS.png\",\"contentUrl\":\"https:\\\/\\\/www.fast2sms.com\\\/Fast2SMS.png\",\"caption\":\"Fast2SMS\"},\"image\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#logo\"},\"email\":\"support@fast2sms.com\",\"telephone\":\"+91-6262778822\",\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/Fast2SMS\",\"https:\\\/\\\/www.instagram.com\\\/fast2sms\",\"https:\\\/\\\/x.com\\\/fast2sms\",\"https:\\\/\\\/www.youtube.com\\\/Fast2SMSofficial\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/fast2sms\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Resend OTP API: Limits, Code and Errors | Fast2SMS","description":"Add a resend code button with the Fast2SMS Resend OTP API. Same OTP, 10-minute window, 5 sends, wait time, charges, code in 7 languages and all errors.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.fast2sms.com\/help\/smart-otp-resend-otp-api\/","og_locale":"en_US","og_type":"article","og_title":"Resend OTP API: Limits, Code and Errors | Fast2SMS","og_description":"Add a resend code button with the Fast2SMS Resend OTP API. Same OTP, 10-minute window, 5 sends, wait time, charges, code in 7 languages and all errors.","og_url":"https:\/\/www.fast2sms.com\/help\/smart-otp-resend-otp-api\/","og_site_name":"Fast2SMS","article_publisher":"https:\/\/www.facebook.com\/Fast2SMS\/","article_published_time":"2026-11-18T18:20:11+00:00","og_image":[{"width":2560,"height":1600,"url":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/smart-otp-settings-hd-7-scaled.webp","type":"image\/webp"}],"twitter_card":"summary_large_image","twitter_creator":"@fast2sms","twitter_site":"@fast2sms","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.fast2sms.com\/help\/smart-otp-resend-otp-api\/#article","isPartOf":{"@id":"https:\/\/www.fast2sms.com\/help\/smart-otp-resend-otp-api\/"},"author":{"@id":"https:\/\/www.fast2sms.com\/#organization"},"headline":"Fast2SMS Resend OTP API: same OTP, 10-minute window, 5 sends","datePublished":"2026-11-18T18:20:11+00:00","mainEntityOfPage":{"@id":"https:\/\/www.fast2sms.com\/help\/smart-otp-resend-otp-api\/"},"wordCount":1054,"publisher":{"@id":"https:\/\/www.fast2sms.com\/#organization"},"image":{"@id":"https:\/\/www.fast2sms.com\/help\/smart-otp-resend-otp-api\/#primaryimage"},"thumbnailUrl":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/smart-otp-settings-hd-7-scaled.webp","articleSection":["API","OTP"],"inLanguage":"en-IN"},{"@type":"WebPage","@id":"https:\/\/www.fast2sms.com\/help\/smart-otp-resend-otp-api\/","url":"https:\/\/www.fast2sms.com\/help\/smart-otp-resend-otp-api\/","name":"Resend OTP API: Limits, Code and Errors | Fast2SMS","isPartOf":{"@id":"https:\/\/www.fast2sms.com\/help\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.fast2sms.com\/help\/smart-otp-resend-otp-api\/#primaryimage"},"image":{"@id":"https:\/\/www.fast2sms.com\/help\/smart-otp-resend-otp-api\/#primaryimage"},"thumbnailUrl":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/smart-otp-settings-hd-7-scaled.webp","datePublished":"2026-11-18T18:20:11+00:00","description":"Add a resend code button with the Fast2SMS Resend OTP API. Same OTP, 10-minute window, 5 sends, wait time, charges, code in 7 languages and all errors.","breadcrumb":{"@id":"https:\/\/www.fast2sms.com\/help\/smart-otp-resend-otp-api\/#breadcrumb"},"inLanguage":"en-IN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.fast2sms.com\/help\/smart-otp-resend-otp-api\/"]}]},{"@type":"ImageObject","inLanguage":"en-IN","@id":"https:\/\/www.fast2sms.com\/help\/smart-otp-resend-otp-api\/#primaryimage","url":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/smart-otp-settings-hd-7-scaled.webp","contentUrl":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/smart-otp-settings-hd-7-scaled.webp","width":2560,"height":1600,"caption":"OTP Settings page showing SMS Resend Time Limit set to 30 seconds and Max Verify OTP Limit set to 5"},{"@type":"BreadcrumbList","@id":"https:\/\/www.fast2sms.com\/help\/smart-otp-resend-otp-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.fast2sms.com\/help\/"},{"@type":"ListItem","position":2,"name":"API","item":"https:\/\/www.fast2sms.com\/help\/api\/"},{"@type":"ListItem","position":3,"name":"Fast2SMS Resend OTP API: same OTP, 10-minute window, 5 sends"}]},{"@type":"WebSite","@id":"https:\/\/www.fast2sms.com\/help\/#website","url":"https:\/\/www.fast2sms.com\/help\/","name":"Fast2SMS","description":"Help","publisher":{"@id":"https:\/\/www.fast2sms.com\/#organization"},"inLanguage":"en-IN"},{"@type":"Organization","@id":"https:\/\/www.fast2sms.com\/#organization","name":"Fast2SMS","url":"https:\/\/www.fast2sms.com\/","logo":{"@type":"ImageObject","@id":"https:\/\/www.fast2sms.com\/#logo","url":"https:\/\/www.fast2sms.com\/Fast2SMS.png","contentUrl":"https:\/\/www.fast2sms.com\/Fast2SMS.png","caption":"Fast2SMS"},"image":{"@id":"https:\/\/www.fast2sms.com\/#logo"},"email":"support@fast2sms.com","telephone":"+91-6262778822","sameAs":["https:\/\/www.facebook.com\/Fast2SMS","https:\/\/www.instagram.com\/fast2sms","https:\/\/x.com\/fast2sms","https:\/\/www.youtube.com\/Fast2SMSofficial","https:\/\/www.linkedin.com\/company\/fast2sms"]}]}},"_links":{"self":[{"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/posts\/18170","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/comments?post=18170"}],"version-history":[{"count":0,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/posts\/18170\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/media\/18168"}],"wp:attachment":[{"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/media?parent=18170"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/categories?post=18170"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/tags?post=18170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}