---
title: "Twilio Lookup"
description: "5 posts about Twilio Lookup, summarised, each linking to the original."
---

# Twilio Lookup
> 5 posts about Twilio Lookup, summarised, each linking to the original.

## Articles

### [Avoid Sending SMS to Landlines in PHP with Twilio's Lookup v2 API](https://yomu.fyi/post/avoid-sending-sms-to-landlines-in-php-with-twilio-s-lookup-v2-api.md)
- Company: [Twilio](https://yomu.fyi/company/twilio.md)
- Author: Matthew Setter
- Published: Oct 7, 2026
- Type: Tutorial

SMS has a 98% open rate and works without internet, but sending to landlines wastes money on failed deliveries. This tutorial demonstrates filtering landlines in PHP using Twilio’s Lookup v2 API, which provides line type intelligence via the “line\_type\_intelligence” field. The core class extends PHP’s FilterIterator and overrides the accept() method to fetch each number’s line type, returning true only for “mobile” types and catching TwilioException on failure. The application uses Composer dependencies including monolog, twilio/sdk, and phpdotenv, loads credentials from a .env file, iterates over an ArrayIterator of phone numbers, logs each with Monolog to stdout, and sends an SMS only to mobile numbers. This approach avoids unnecessary charges and is straightforward using Twilio’s PHP helper library and SPL iterators.


### [Avoid Sending SMS to Landlines with the Lookup v2 API and Go](https://yomu.fyi/post/avoid-sending-sms-to-landlines-with-the-lookup-v2-api-and-go.md)
- Company: [Twilio](https://yomu.fyi/company/twilio.md)
- Author: Matthew Setter
- Published: Oct 7, 2026
- Type: Tutorial

Sending SMS to landlines causes failed deliveries and unnecessary charges, a problem that Twilio’s Lookup v2 API solves by identifying phone number types. The API’s line\_type\_intelligence field returns a classification such as “mobile” or “landline”, enabling applications to filter out non-mobile numbers before sending an SMS. This Go tutorial loads Twilio credentials from a .env file and uses Go 1.23’s iter package to create a custom iterator over a phone number list. Within the iterator, each number is validated by calling FetchPhoneNumber with the line\_type\_intelligence parameter, and if the type is not “mobile” or the call fails, the number is skipped. Only mobile numbers are then passed to the sendSMS function, which sends the message using the Twilio Go helper library’s CreateMessage, and the terminal finally logs each success or identifies a skipped landline.


### [How to Confirm Phone Number Ownership with Lookup Identity Match in Python](https://yomu.fyi/post/how-to-confirm-phone-number-ownership-with-lookup-identity-match-in-py.md)
- Company: [Twilio](https://yomu.fyi/company/twilio.md)
- Author: Kelley Robinson, Dylan Frankcom
- Published: Aug 28, 2026
- Type: Tutorial

The tutorial shows how to use Twilio Lookup Identity Match in Python to confirm that signup information is associated with a phone number and reduce signup fraud. It builds a Flask application that accepts an E.164-formatted number, first name, and last name, then calls the Lookup API with fields="identity\_match" and the supplied identity attributes. The response exposes statuses including exact\_match, high\_partial\_match, no\_match, and no\_data\_available; the example accepts a result only when the number is valid and both names are exact or high partial matches. The implementation covers project setup with Flask, twilio, and python-dotenv, environment-based credentials, an intl-tel-input form, and frontend handling for success and failure messages. It also notes that Identity Match can use combinations of name, address, national ID, or date of birth, and points to other Lookup packages such as Line Type Intelligence and SIM swap detection.


### [How to Approve Real Users and Block Fake Accounts at Sign Up with Lookup and Verify in Python](https://yomu.fyi/post/how-to-approve-real-users-and-block-fake-accounts-at-sign-up-with-look.md)
- Company: [Twilio](https://yomu.fyi/company/twilio.md)
- Author: Kelley Robinson, Dylan Frankcom
- Published: Aug 27, 2026
- Type: Tutorial

This Python tutorial builds a signup flow that screens phone numbers for fake accounts while aiming to keep legitimate onboarding smooth. It combines Twilio Lookup’s Line Type Intelligence, optional Line Status, and Identity Match checks before using Twilio Verify to send an OTP and confirm possession of the number. The provided Flask example collects a phone number and first and last names, rejects landlines, nonfixed VoIP, toll-free numbers, and pagers, and accepts Identity Match only when both name fields are exact\_match or high\_partial\_match. The post shows how to configure the project, run it locally, inspect outcomes such as LINE\_TYPE\_BLOCKED or identity-match failure, and consider pricing because the four API calls have different costs.


### [Top user authentication trends for 2026](https://yomu.fyi/post/top-user-authentication-trends-for-2026.md)
- Company: [Twilio](https://yomu.fyi/company/twilio.md)
- Author: Sebastian Del Aguila Fiocco, Ravleen Kaur
- Published: Aug 21, 2026
- Type: Explainer

The article outlines authentication trends expected to shape identity verification, fraud prevention, payments, and access in 2026, against a backdrop of deepfakes, synthetic identities, regulatory change, and increasingly online services. It describes identity orchestration that combines document checks, biometrics, device intelligence, and behavioral signals, while fraud systems assess behavior and may allow, challenge, delay, or block access. For AI agents, Know Your Agent links a bot to its enterprise and official communication channel, with document verification and Twilio Lookup presented as a combined onboarding approach. The recommended strategies add continuous anomaly monitoring, risk-based MFA, human-in-the-loop approvals, multichannel authorization, passkeys, digital IDs, and layered controls, while concluding that businesses and regulators should remain agile and use services such as Twilio Verify, Lookup API, and Verify Fraud Guard.
