Phone Number Identify
Here is an example API documentation for the endpoint used for Phone Number Identify.
REQUEST
Endpoint
Method
Parameters
apikey
(string, required): The API key provided to the user.number
(string, required): The number to be identified. Example:+11231231234 +6562502222 +6281212341234
Example Request
Example Response
Success Response
If the HTTP response is 200 (success response), it will generate the following response:
Description on successful response
number
: This field represents the input phone number that was requested for identification.isValid
: This field indicates whether the provided phone number is valid (1) or not valid (0).info
: This object contains additional information about the phone numbe.phonenumber
: This field represents the formatted version of the phone number.type
: This field indicates the type of the phone number. The "type" field can have different values to represent various types of phone numbers. Here are some commonly used types:FIXED_LINE
: Indicates that the phone number is a fixed line number. It is usually used for home or office telephone numbers that are physically connected.MOBILE
: Indicates that the phone number is a mobile number. It is typically used for phone numbers associated with mobile devices or cell phones.TOLL_FREE
: Indicates that the phone number is a toll-free number. It is commonly used for phone numbers that do not incur charges for the calling party.PREMIUM_RATE
: Indicates that the phone number is a premium rate number. It is often used for phone numbers that provide specialized services with additional charges.SHARED_COST
: Indicates that the call cost for the phone number is shared between the caller and the recipient. This type may be used for phone numbers that have shared costs between the parties involved.VOIP
: Indicates that the phone number is used for voice services over the internet protocol (Voice over IP / VoIP). It is typically used for phone numbers connected through internet networks.PERSONAL_NUMBER
: Indicates that the phone number is a personal number. This type may be used for phone numbers issued to individuals as an alternative to fixed line or mobile numbers.PAGER
: Indicates that the phone number is a pager number. It is commonly used for phone numbers used to send short messages or notifications.UAN
: Indicates that the phone number is a universal access number. This type may be used for phone numbers that provide access to special services or general access numbers.EMERGENCY
: Indicates that the phone number is an emergency number.VOICEMAIL
: Indicates that the phone number is a voicemail number.SHORT_CODE
: Indicates that the phone number is a short code number.STANDARD_RATE
: Indicates that the phone number is a standard rate number.UNKNOWN
: Indicates that the phone number type cannot be determined. This can occur if the library is unable to classify the phone number correctly or if the phone number is invalid.
carrier
: This field specifies the mobile carrier associated with the phone number.location
: This field indicates the country where the phone number is registered.countryCode
: This field represents the country code of the phone number.
status
: Indicates the success or failure of the request.timeResponse
: Date and time when the response was sent.
Failed Response
If the HTTP response is 400 or 401 (failed response), it will generate the following response:
Description on failed response:
status
: Response Status: The value is "failed" if the request fails.timeResponse
: Date and time when the response was sent.
Last updated