OTP Firewall: stop SMS pumping and fake OTP traffic
Bots can request thousands of fake verification codes and drain your balance overnight. Our OTP Firewall checks every request by phone number, IP address, speed and behaviour, then slows down or blocks abuse before a single message is sent.
- 12:04:01+964 750 ••• 4821WhatsApp code sentPASS
- 12:04:01+964 770 ••• 1093SMS fallback sentPASS
- 12:04:02+964 781 ••• 55303rd code in 30 sSLOW
- 12:04:02185.•••.•••.1790 requests / minuteBLOCK
- 12:04:03+964 790 ••• 0001–0050Sequential numbersFLAG
- 12:04:03Your teamAlert sent on WhatsAppALERT
What is SMS pumping?
SMS pumping (also called artificially inflated traffic, or OTP fraud) is when bots use your sign-up, login or “resend code” button to send thousands of verification codes to numbers they control. Every code is billed to you. The attackers earn a share of the SMS fees, and you get nothing but a bigger bill.
- 1A bot finds your formSign-up, login, password reset or “resend code”.
- 2It requests codes in bulkThousands of numbers, often in sequences or unusual ranges.
- 3You pay for every messageThe attacker profits from SMS fees; no real user ever signs up.
Six layers check every OTP request
Each request passes through every layer in milliseconds. Real users never notice; bots hit a wall.
Per phone number
At most 2 codes to the same number in 30 seconds, plus hourly and daily caps per number. Stops resend spam and number cycling.
Per IP address
Requests are rate-limited per IP. Addresses that show abuse are blacklisted automatically.
Per minute, hour and day
Speed limits on your API key and daily and monthly quotas on your account cap the damage of any attack.
Behaviour monitoring
We watch for sudden spikes, sequential numbers, unusual prefixes and many codes that are never verified.
Number and country checks
Invalid numbers and countries you have not enabled are rejected before anything is sent.
Code security
Every code is single-use, expires after 30 minutes and locks after 5 wrong attempts.
Watch, slow down, block, alert
- WatchEvery request is scored against normal behaviour for your app.
- Slow downToo many requests? The API answers 429 “slow down” and the bot loses speed.
- BlockClear abuse gets 403. Nothing is sent, nothing is charged.
- AlertOur team notifies you on WhatsApp or email when we see an attack on your account.
- You decideWhitelist test numbers or adjust limits with our team in minutes.
What the firewall checks
Hourly and daily caps are set with you, based on your traffic. Need to test with the same number many times? Ask us to whitelist it.
See all error codes →| Scope | Rule | API error |
|---|---|---|
| Same phone number | 2 codes per 30 seconds | 1907 |
| Same phone number | Hourly cap | 1906 |
| Same phone number | Daily cap | 1905 |
| Your API key | Requests per minute | 1008 · 1300 |
| Your account | Daily and monthly quota | 1301 · 1302 |
| IP address | Rate limit and blacklist | 1903 |
| Destination | Valid number, allowed country | 1216 · 1904 |
| Behaviour | Suspicious activity, API abuse | 1900 · 1902 |
| The code itself | 30-minute expiry, 5 attempts, single use | 1507 · 1508 |
Make your form even harder to abuse
OTP Firewall questions
Still have questions?
Our team in Erbil answers on WhatsApp and by phone.
Saturday – Thursday9 AM – 9 PM
or email info@bulksmsiraq.com
4.9from 219 Google reviewsWhat is SMS pumping?
SMS pumping, or artificially inflated traffic (AIT), is fraud where bots trigger large numbers of OTP messages to numbers the attackers control, so they can earn a share of the SMS fees. The business that sends the codes pays the bill.
Is the OTP Firewall included in my plan?
Yes. It is built into every Bulk SMS Iraq account, on both the Startup and Standard plans, at no extra cost.
Do I pay for blocked requests?
No. A blocked request is never sent, so it is never charged.
Will real users be blocked?
The limits sit well above normal use: a real person rarely needs more than one or two codes. If someone hits a limit, they can try again a little later. We can whitelist your test numbers and tune limits for your app.
What does my app receive when the firewall triggers?
A JSON error with a clear code: HTTP 429 when you should slow down (for example 1300) and HTTP 403 when a request is blocked (for example 1907 or 1903). All codes are listed in the API documentation.
How will I know about an attack?
When we detect unusual traffic on your account, our team contacts you on WhatsApp or email, and you can review the numbers and IP addresses involved with us.
Protect your OTP flow today
Every new account gets the OTP Firewall from the first request. Questions? Our team in Erbil can review your current setup.