{"id":17799,"date":"2026-11-18T23:38:33","date_gmt":"2026-11-18T18:08:33","guid":{"rendered":"https:\/\/www.fast2sms.com\/help\/api-security-ip-whitelist\/"},"modified":"2026-11-19T00:43:41","modified_gmt":"2026-11-18T19:13:41","slug":"api-security-ip-whitelist","status":"publish","type":"post","link":"https:\/\/www.fast2sms.com\/help\/api-security-ip-whitelist\/","title":{"rendered":"How to whitelist IP addresses for the Fast2SMS API (API Security)"},"content":{"rendered":"<p>To whitelist an IP address for the Fast2SMS API, open <strong>Account Setting<\/strong>, go to <strong>API Security<\/strong>, add your server&#8217;s public IP under <strong>Whitelisted IPs<\/strong> and then switch <strong>API Security<\/strong> on. After that, only calls from those IPs are accepted, even if someone else gets your <a href=\"\/help\/api-key-find-reset\/\">API key<\/a>. This guide shows how to find the right IP, add it, and fix <a href=\"\/help\/error-414-ip-blacklisted\/\">error 414<\/a> &#8220;IP is blacklisted from Dev API section&#8221;.<\/p>\n<aside class=\"f2s-cta\" aria-label=\"Get started with Fast2SMS\"><div class=\"f2s-cta__copy\"><strong class=\"f2s-cta__title\">Lock your API to your own servers<\/strong><p>Whitelist your server IPs in Fast2SMS so a leaked API key cannot be used from anywhere else.<\/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>Why whitelist IPs for the API?<\/h2>\n<p>Your API key works from any computer by default. If the key leaks, for example in a code repository or an old plugin, anyone can send messages from your wallet. With API Security on, Fast2SMS checks the IP address of every API call and rejects calls that do not come from your list. It is one of the simplest ways to protect your balance.<\/p>\n<h2>Before you start<\/h2>\n<ul>\n<li>Log in as the account owner. Team members cannot open Account Setting.<\/li>\n<li>Know which servers call the API: your website server, app backend, CRM, and any plugin host that sends from your account.<\/li>\n<li>Keep your registered mobile handy. Switching API Security on or off needs an OTP.<\/li>\n<\/ul>\n<h2>How to whitelist an IP address<\/h2>\n<ol class=\"f2s-steps\">\n<li>\n<h3>Open API Security<\/h3>\n<p>On the dashboard, click <strong>Account Setting<\/strong>, then <strong>API Security<\/strong> under UTILITY in the left menu. At the top you see the <strong>API Security<\/strong> switch and the <strong>Low Balance Notification<\/strong> switch. Below them are two lists: <strong>Whitelisted IPs<\/strong> and <strong>Latest hits by other IP<\/strong>.<\/p>\n<figure class=\"f2s-shot\"><img src=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/api-security-hd-scaled.webp\" width=\"1440\" height=\"900\" loading=\"lazy\" decoding=\"async\" alt=\"Fast2SMS API Security page with the API Security and Low Balance Notification switches, three whitelisted IPs with Remove buttons and the Latest hits by other IP list\"><figcaption>API Security with three whitelisted IPs.<\/figcaption><\/figure>\n<\/li>\n<li>\n<h3>Find your server&#8217;s public IP<\/h3>\n<p>The easiest way: make one test API call from your server, for example a wallet balance check, while API Security is still off. Every call is recorded, so your server&#8217;s IP appears in <strong>Latest hits by other IP<\/strong> with the time of the last hit. You can also ask your hosting provider for the server&#8217;s public (outgoing) IP. Use the public address, not a local one such as 192.168.x.x.<\/p>\n<\/li>\n<li>\n<h3>Add the IP to the whitelist<\/h3>\n<p>Type the IP in the <strong>Add IP<\/strong> box and click <strong>Add IP<\/strong>. You can paste several IPs at once. Or, in <strong>Latest hits by other IP<\/strong>, click <strong>Add<\/strong> next to an IP, or tick several and click <strong>Add selected<\/strong>. You see &#8220;Successfully updated.&#8221; or a count such as &#8220;3 IPs added to whitelist.&#8221;<\/p>\n<\/li>\n<li>\n<h3>Switch API Security on<\/h3>\n<p>Only after all your servers are on the list, turn on the <strong>API Security<\/strong> switch. Confirm with the OTP sent to your registered mobile. From now on, calls from any other IP get error 414.<\/p>\n<\/li>\n<li>\n<h3>Check that calls still work<\/h3>\n<p>Send a test call from each server and open <strong>API Logs<\/strong>. Calls should show as Success. If one fails with code 414, its IP is missing from the list.<\/p>\n<\/li>\n<\/ol>\n<div class=\"f2s-note f2s-note--warn\">\n<p>Add every IP first, then switch API Security on. If you switch it on first, your live website or app will stop sending SMS and OTPs until its IP is added.<\/p>\n<\/div>\n<aside class=\"f2s-cta\" aria-label=\"Get started with Fast2SMS\"><div class=\"f2s-cta__copy\"><strong class=\"f2s-cta__title\">Keep your OTP and SMS flow safe<\/strong><p>Use API Security and API Logs together to see who calls your API and block everyone else.<\/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>Manage the lists<\/h2>\n<h3>Whitelisted IPs<\/h3>\n<p>This list shows each allowed IP with a date and a <strong>Remove<\/strong> button. The date shows the latest time that IP was seen. Use search or the filter to find an IP. To remove several, tick them and click <strong>Remove selected<\/strong>.<\/p>\n<h3>Latest hits by other IP<\/h3>\n<p>This list shows IPs that called your API but are not on the whitelist, with their <strong>Last hit<\/strong> time. It works even when API Security is off, so you can watch who uses your key before you lock it. If you see an IP you do not know, reset your API key. Click <strong>Export<\/strong> to download the list. IP records are kept for 3 months.<\/p>\n<figure class=\"f2s-shot\"><img src=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/api-security-filter-modal-hd-scaled.webp\" width=\"1440\" height=\"900\" loading=\"lazy\" decoding=\"async\" alt=\"Filter IP Hits window with Date Range, IP Type and Sort By tabs and date choices from All time to Last 3 months\"><figcaption>Filter IP hits by date, IP type or sort order.<\/figcaption><\/figure>\n<h2>How to turn API Security off<\/h2>\n<p>Turn off the <strong>API Security<\/strong> switch. A box &#8220;Disable IP security?&#8221; says API requests from any IP will be accepted. Click <strong>Confirm<\/strong> and enter the OTP. Your whitelist stays saved, so you can switch it on again later without adding the IPs again.<\/p>\n<figure class=\"f2s-shot\"><img src=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/api-security-disable-confirm-hd-scaled.webp\" width=\"1440\" height=\"900\" loading=\"lazy\" decoding=\"async\" alt=\"Disable IP security confirmation saying API requests from any IP will be accepted and an OTP will be sent\"><figcaption>Switching off API Security needs an OTP.<\/figcaption><\/figure>\n<h2>Error 414: IP is blacklisted from Dev API section<\/h2>\n<p>This is the error your code gets when API Security is on and the call comes from an IP that is not on the list. It comes back with HTTP status 401:<\/p>\n<pre><code class=\"language-json\">{\"return\":false,\"status_code\":414,\"message\":\"IP is blacklisted from Dev API section\"}<\/code><\/pre>\n<p>To fix it:<\/p>\n<ol>\n<li>Open <strong>API Security<\/strong> and look in <strong>Latest hits by other IP<\/strong>. The IP that was blocked is listed there.<\/li>\n<li>If it is your server, click <strong>Add<\/strong>.<\/li>\n<li>If you do not know the IP, leave it blocked and reset your API key from the API Key page.<\/li>\n<\/ol>\n<h2>Common problems and fixes<\/h2>\n<h3>My server&#8217;s IP keeps changing<\/h3>\n<p>Shared hosting, some cloud functions and home internet connections change their outgoing IP. Ask your host for a fixed (static) outgoing IP and whitelist that. Otherwise you will see 414 errors each time the IP changes.<\/p>\n<h3>&#8220;Please enter a valid IP address&#8221;<\/h3>\n<p>Enter a single IP such as <code>203.0.113.10<\/code>, without http:\/\/, port numbers or spaces.<\/p>\n<h3>&#8220;IP address already added in your white listed IP&#8221;<\/h3>\n<p>The IP is already on the list. Nothing more to do.<\/p>\n<h3>Plugins stopped sending after I turned on API Security<\/h3>\n<p>Plugins call the API from the server where your shop or website runs, for example your WordPress or WooCommerce host. Add that server&#8217;s IP too. Check Latest hits by other IP to see which IPs were blocked.<\/p>\n<section class=\"f2s-faq\">\n<h2>Frequently asked questions<\/h2>\n<h3>How do I know if API Security is on?<\/h3>\n<p>Look at the API Security switch at the top of the page. While it is off, the API accepts calls from any IP.<\/p>\n<h3>Can I whitelist more than one IP?<\/h3>\n<p>Yes. Add as many server IPs as you need, one by one or several at once.<\/p>\n<h3>Does API Security affect the Fast2SMS panel?<\/h3>\n<p>No. It only controls API calls. Your panel login works as usual from any network.<\/p>\n<h3>What is the Low Balance Notification switch on this page?<\/h3>\n<p>It sends you SMS and email alerts when your wallet balance is too low, so your API sends do not stop without warning.<\/p>\n<h3>What should I do if I see an unknown IP in Latest hits?<\/h3>\n<p>Someone may be using your API key. Reset the key on the API Key page, update it in your own systems, and switch API Security on.<\/p>\n<\/section>\n<aside class=\"f2s-cta\" aria-label=\"Get started with Fast2SMS\"><div class=\"f2s-cta__copy\"><strong class=\"f2s-cta__title\">Send securely with Fast2SMS<\/strong><p>Create your account, whitelist your servers and send DLT SMS, Smart OTP and WhatsApp through a locked-down API.<\/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-webhooks-setup-delivery-reports\/\">Webhooks in Fast2SMS: get delivery reports on your own URL<\/a><\/li>\n<li><a href=\"https:\/\/www.fast2sms.com\/help\/bulk-sms-api-india\/\">Bulk SMS API for India<\/a><\/li>\n<li><a href=\"https:\/\/www.fast2sms.com\/help\/low-balance-notification-in-fast2sms\/\">Low balance notification in Fast2SMS<\/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>To whitelist an IP address for the Fast2SMS API, open Account Setting, go to API Security, add your server&#8217;s public IP under Whitelisted IPs and then switch API Security on. After that, only calls from those IPs are accepted, even if someone else gets your API key. This guide shows how to find the right [&hellip;]<\/p>\n","protected":false},"featured_media":17796,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19,4],"tags":[],"class_list":["post-17799","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-account-setting","category-api"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Whitelist IP Addresses for the API | Fast2SMS<\/title>\n<meta name=\"description\" content=\"Restrict the Fast2SMS API to your own server IPs with API Security: find your public IP, add it to the whitelist, switch security on and fix error 414.\" \/>\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\/api-security-ip-whitelist\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Whitelist IP Addresses for the API | Fast2SMS\" \/>\n<meta property=\"og:description\" content=\"Restrict the Fast2SMS API to your own server IPs with API Security: find your public IP, add it to the whitelist, switch security on and fix error 414.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.fast2sms.com\/help\/api-security-ip-whitelist\/\" \/>\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:08:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-18T19:13:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/api-security-hd-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\\\/api-security-ip-whitelist\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/api-security-ip-whitelist\\\/\"},\"author\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#organization\"},\"headline\":\"How to whitelist IP addresses for the Fast2SMS API (API Security)\",\"datePublished\":\"2026-11-18T18:08:33+00:00\",\"dateModified\":\"2026-11-18T19:13:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/api-security-ip-whitelist\\\/\"},\"wordCount\":1180,\"publisher\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/api-security-ip-whitelist\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/api-security-hd-scaled.webp\",\"articleSection\":[\"Account Setting\",\"API\"],\"inLanguage\":\"en-IN\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/api-security-ip-whitelist\\\/\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/api-security-ip-whitelist\\\/\",\"name\":\"Whitelist IP Addresses for the API | Fast2SMS\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/api-security-ip-whitelist\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/api-security-ip-whitelist\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/api-security-hd-scaled.webp\",\"datePublished\":\"2026-11-18T18:08:33+00:00\",\"dateModified\":\"2026-11-18T19:13:41+00:00\",\"description\":\"Restrict the Fast2SMS API to your own server IPs with API Security: find your public IP, add it to the whitelist, switch security on and fix error 414.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/api-security-ip-whitelist\\\/#breadcrumb\"},\"inLanguage\":\"en-IN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/api-security-ip-whitelist\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-IN\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/api-security-ip-whitelist\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/api-security-hd-scaled.webp\",\"contentUrl\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/api-security-hd-scaled.webp\",\"width\":2560,\"height\":1600,\"caption\":\"Fast2SMS API Security page with the API Security and Low Balance Notification switches, three whitelisted IPs with Remove buttons and the Latest hits by other IP list\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/api-security-ip-whitelist\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Account Setting\",\"item\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/account-setting\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to whitelist IP addresses for the Fast2SMS API (API Security)\"}]},{\"@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":"Whitelist IP Addresses for the API | Fast2SMS","description":"Restrict the Fast2SMS API to your own server IPs with API Security: find your public IP, add it to the whitelist, switch security on and fix error 414.","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\/api-security-ip-whitelist\/","og_locale":"en_US","og_type":"article","og_title":"Whitelist IP Addresses for the API | Fast2SMS","og_description":"Restrict the Fast2SMS API to your own server IPs with API Security: find your public IP, add it to the whitelist, switch security on and fix error 414.","og_url":"https:\/\/www.fast2sms.com\/help\/api-security-ip-whitelist\/","og_site_name":"Fast2SMS","article_publisher":"https:\/\/www.facebook.com\/Fast2SMS\/","article_published_time":"2026-11-18T18:08:33+00:00","article_modified_time":"2026-11-18T19:13:41+00:00","og_image":[{"width":2560,"height":1600,"url":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/api-security-hd-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\/api-security-ip-whitelist\/#article","isPartOf":{"@id":"https:\/\/www.fast2sms.com\/help\/api-security-ip-whitelist\/"},"author":{"@id":"https:\/\/www.fast2sms.com\/#organization"},"headline":"How to whitelist IP addresses for the Fast2SMS API (API Security)","datePublished":"2026-11-18T18:08:33+00:00","dateModified":"2026-11-18T19:13:41+00:00","mainEntityOfPage":{"@id":"https:\/\/www.fast2sms.com\/help\/api-security-ip-whitelist\/"},"wordCount":1180,"publisher":{"@id":"https:\/\/www.fast2sms.com\/#organization"},"image":{"@id":"https:\/\/www.fast2sms.com\/help\/api-security-ip-whitelist\/#primaryimage"},"thumbnailUrl":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/api-security-hd-scaled.webp","articleSection":["Account Setting","API"],"inLanguage":"en-IN"},{"@type":"WebPage","@id":"https:\/\/www.fast2sms.com\/help\/api-security-ip-whitelist\/","url":"https:\/\/www.fast2sms.com\/help\/api-security-ip-whitelist\/","name":"Whitelist IP Addresses for the API | Fast2SMS","isPartOf":{"@id":"https:\/\/www.fast2sms.com\/help\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.fast2sms.com\/help\/api-security-ip-whitelist\/#primaryimage"},"image":{"@id":"https:\/\/www.fast2sms.com\/help\/api-security-ip-whitelist\/#primaryimage"},"thumbnailUrl":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/api-security-hd-scaled.webp","datePublished":"2026-11-18T18:08:33+00:00","dateModified":"2026-11-18T19:13:41+00:00","description":"Restrict the Fast2SMS API to your own server IPs with API Security: find your public IP, add it to the whitelist, switch security on and fix error 414.","breadcrumb":{"@id":"https:\/\/www.fast2sms.com\/help\/api-security-ip-whitelist\/#breadcrumb"},"inLanguage":"en-IN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.fast2sms.com\/help\/api-security-ip-whitelist\/"]}]},{"@type":"ImageObject","inLanguage":"en-IN","@id":"https:\/\/www.fast2sms.com\/help\/api-security-ip-whitelist\/#primaryimage","url":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/api-security-hd-scaled.webp","contentUrl":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/api-security-hd-scaled.webp","width":2560,"height":1600,"caption":"Fast2SMS API Security page with the API Security and Low Balance Notification switches, three whitelisted IPs with Remove buttons and the Latest hits by other IP list"},{"@type":"BreadcrumbList","@id":"https:\/\/www.fast2sms.com\/help\/api-security-ip-whitelist\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.fast2sms.com\/help\/"},{"@type":"ListItem","position":2,"name":"Account Setting","item":"https:\/\/www.fast2sms.com\/help\/account-setting\/"},{"@type":"ListItem","position":3,"name":"How to whitelist IP addresses for the Fast2SMS API (API Security)"}]},{"@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\/17799","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=17799"}],"version-history":[{"count":1,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/posts\/17799\/revisions"}],"predecessor-version":[{"id":19222,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/posts\/17799\/revisions\/19222"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/media\/17796"}],"wp:attachment":[{"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/media?parent=17799"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/categories?post=17799"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/tags?post=17799"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}