Live Number Validation
This endpoint will check if the mobile phone number is of the correct format and then do a HLR request to see if the phone number is live/active.
Endpoint
[POST] https://usenotifier.com/api/validate/liveExample Request
$response = Http::withToken('YOUR_API_KEY')
->post('https://usenotifier.com/api/validate/live', [
"phoneNumber" => "07700900389",
"countryCode" => "GB",
]);$client = new Client();
$headers = [
'Accept' => 'application/json',
'Authorization' => 'Bearer YOUR_API_KEY',
'Content-Type' => 'application/x-www-form-urlencoded'
];
$options = [
'form_params' => [
'phoneNumber' => '07700900389',
'countryCode' => 'GB'
]];
$request = new Request('POST', 'https://usenotifier.com/api/validate/live', $headers);
$res = $client->sendAsync($request, $options)->wait();
echo $res->getBody();Example Response
Last updated