Limit SMS verification requests
A resend button calls an endpoint that can incur a messaging charge. Apply a limit before dispatch, and let the browser explain how long it must wait before trying again.

POST /verification/sendThe send or resend action before SMS dispatchRepeated requests for a verification code
Session evidence
If a visitor requests several texts, compare the retry times in the browser timeline with your provider’s delivery log. A delayed first message can explain subsequent requests.
Oraami AI assessment
For an eligible case, Oraami AI can choose continued observation when the matched signals have a plausible ordinary explanation. Your provider’s records establish whether delivery was delayed.
How automatic case decisions workPolicy response
If you cap the send route, an over-limit request receives HTTP 429 and Retry-After before dispatch. A separate route for entering a code can stay available.
Setup requirements
Connect the browser tracker to collect session evidence under your site’s capture settings. A workspace owner can enable automatic case decisions for the site. To apply a route policy, connect a Cloudflare Worker or Node middleware and enable the policy on the relevant route.
How to set it up
Protect the send endpoint
Identify every route your application uses to send or resend a code. Configure limits for the actual method and paths, keeping code verification available.
Honor the retry interval
When your integration returns HTTP 429, read Retry-After and display the wait time beside the resend control. The denied request should end before a message is dispatched.
Compare with delivery records
Match blocked requests with your provider’s test delivery log. Your messaging service keeps control of destination, delivery and spend limits across visitors.
Verify the result
Use a test destination and the provider’s sandbox. Exercise a normal resend, the over-limit response and a retry after the window. Confirm that entering a code still works.