TwilioAmanda Lange, Dhruv Patel, Kelley RobinsonTutorial
How to Approve Real Users and Block Fake Accounts at Sign Up with Lookup and Verify in C#
Summary
Fake accounts and fraudulent sign-ups motivate a C# onboarding flow that screens phone numbers before sending an OTP. It combines Twilio Lookup line type intelligence, optional line status checks, and Identity Match with Twilio Verify phone verification. The pipeline rejects landline, nonfixed VoIP, toll-free, and pager types, requires first- and last-name results of exact_match or high_partial_match, and can reject lookup failures or mismatches. The post supplies a .NET 9 project setup, environment variables, MVC files, and service code for starting and checking verification. It reports example logs for a mobile number with active status and exact name matches, demonstrates blocked toll-free or VoIP testing, and notes that Lookup and Verify pricing varies by package and country.
Context
The signup flow is intended to block bots, fake accounts, and signup fraud while providing real users with a seamless path and higher pass rates.
Approach / What changed
The implementation orchestrates Twilio Lookup and Verify in progressively stronger checks: line type intelligence, optional line status, name-to-number Identity Match, and an OTP-based phone verification flow. It uses a .NET 9 MVC project, C# service code, environment variables, and a Verify Service SID.
Takeaways
Line Type Intelligence blocks landline, nonfixed VoIP, toll-free, and pager numbers before later verification steps.
Identity Match accepts exact_match or high_partial_match for both first and last names; no_match, partial_match, or null results are rejected.
The flow orders cheaper Lookup checks before more expensive Identity Match and Verify calls, with pricing varying by package and country.
Source and freshness
- Source
- twilio.com
- Published
- Added to Yomu
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.