The Phone Validation API provided by ProWebLook allows users to validate phone numbers for various purposes such as ensuring accuracy before utilizing them in applications or verifying user-provided contact information. This document provides guidance on utilizing the API effectively.
Endpoint
The endpoint for accessing the Phone Validation API is:
phone_number: The phone number to be validated. It should be provided in E.164 format, including the country code, if you dont pass countrycode in phone_number then you have to use country_code parameter.
country_code: (Optional) The ISO 3166-1 alpha-2 country code. This parameter helps improve the accuracy of validation by specifying the country of the provided phone number.
api_key: The API key provided by ProWebLook for authentication and authorization purposes.
Usage
When making requests to the Phone Validation API, ensure the following:
Include the phone_number parameter with the phone number in E.164 format.
If known, include the country_code parameter to specify the country of the phone number.
Provide the api_key parameter for authentication.
Example
Response
The API response provides information about the validity of the provided phone number along with additional details such as the carrier information, location, and whether it is a mobile or landline number.
Note
It is recommended to always include the country_code parameter to ensure accurate validation results, especially when dealing with international phone numbers.
If you still need help . please raise a ticket in proweblook.com or email us : info@proweblook.com