Skip to contentSkip to navigationSkip to topbar
On this page

Line Status


(warning)

Public Beta

Line Type Intelligence is in Public Beta. To access request, submit the request form(link takes you to an external page).

The information in this document might change as we add or update features before the product becomes Generally Available. Public Beta products don't have a Service Level Agreement (SLA).

To validate a phone number's status on the carrier network, use Line Status. It detects whether a number is active, inactive, reachable, unreachable, or unknown. This information can help you improve your contact data quality and campaign efficiency.


Coverage

coverage page anchor

Line Status supports phone numbers worldwide.

Note: Line Status might not return data for some networks. Make sure that you test the coverage for your desired country and network.


Make a GET /v2/PhoneNumbers/{PhoneNumber} request with the Fields=line_status query parameter.

1
curl -X GET "https://lookups.twilio.com/v2/PhoneNumbers/{PhoneNumber}?Fields=line_status" \ -u
2
$TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN

A Line Status request returns the following properties.

PropertyDescription
StatusThe status of the requested mobile phone number.
ErrorCodeThe error code, if any, associated with your request.

Status property values

status-property-values page anchor

The following are the possible values for the Status property.

ValueDescription
ActiveThe number is valid and active (but not necessarily reachable) on the mobile network.
ReachableThe number is valid and the target handset is connected to the mobile network and reachable.
UnreachableThe number is valid and active on the mobile network, but the target handset is switched off or out of network reach.
InactiveThe number isn't assigned to any subscriber on the mobile network or is invalid.
UnknownThe status is unknown. This might occur due to a lack of connectivity with the target network operator or other exceptions and errors.