Twilio·
How to Retrieve a Phone Number's SMS Pumping Score in Rust
TL;DR
SMS pumping fraud drives up messaging costs by tricking apps into sending texts to numbers that generate revenue for attackers. This tutorial builds a Rust app that calls Twilio’s Lookup v2 API to retrieve a phone number’s 0–100 risk score, carrier risk, and blocking history. These results help developers decide whether to send a message, require extra checks, or reject a high-risk request before incurring costs.