A Flask application that uses Twilio Lookup Identity Match to verify phone number ownership by matching a name against authoritative carrier records. This is the completed version after following the Identity Match tutorial.
- Python 3.14+
- A Twilio account with Identity Match access
cp .env.example .envAdd your credentials to .env:
| Variable | Where to find |
|---|---|
TWILIO_ACCOUNT_SID |
Twilio Console homepage |
TWILIO_AUTH_TOKEN |
Twilio Console homepage |
python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
flask runOpen http://localhost:5000 to test.
app.py— Flask application with the Lookup Identity Match endpointstatic/index.html— Sign-up form with first name, last name, and intl-tel-input phone number fieldstatic/styles.css— Styles using the Twilio Paste theme