Number validator
Validate multiple numbers
Changed onValidates a batch of phone numbers. When async is true, returns a request_id to poll for results instead of the validation details.
post/v1/validation
Request
- Base URLhttps://api.wavix.com
- URLhttps://api.wavix.com/v1/validation
- AuthHTTP bearer
Request body
Example request
{
"phone_numbers": [
"971501390098",
"971504359195"
],
"async": true,
"force": true
}Response
Returns the validation results, or a request_id when validation is asynchronous.
Example response
{
"status": "success",
"count": 1000,
"items": [
{
"phone_number": "971569483322",
"valid": true,
"country_code": "AE",
"e164_format": "+971569483322",
"national_format": "056 948 3322",
"mcc": "424",
"mnc": "004",
"number_type": "mobile",
"carrier_name": "Etisalat",
"reachable": true,
"timezone": "UTC+04:00",
"charge": "0.015",
"error_code": "000"
}
]
}Changes
- breaking
the request's body type changed from no type to
object
- breaking
- info
the request property
/became optional - info
the request property
/became optional - info
the
request property default valuefalsewas added - info
the
request property default valuefalsewas added - info
added the non-success response with the status
- info
added the non-success response with the status
- info