Validate and classify a number
GET
/api/v1/lookups/{phoneNumber}Free. Returns validity, country, formats, line type and whether it can receive SMS. With opt_outs.read, also whether it has opted out.
Bearer key, test or live
Parameters
phoneNumberstring · e164pathrequiredResponses
200The lookup result.curl -X GET 'https://staging.useline.io/api/v1/lookups/+447700900456' \ -H "Authorization: Bearer $LINE_API_KEY"