Use this method to get detailed information about several phone numbers with a single request. Under most circumstances, it takes about 30 seconds to validate a batch of 1,000 phone numbers. We recommend using async:true
if you plan to validate more than 1,000 numbers.
Maximum of 100,000 phone numbers per request is allowed.
When you execute the request asynchronously, Wavix immediately starts to validate the phone numbers and returns a token that needs to be used to poll the results.
{
"request_uuid": "12542c5c-1a17-4d12-a163-5b68543e75f6"
}
This endpoint requires authentication.
POST /validation
HTTP Status Code | Error Description | Exception Class |
---|---|---|
403 | Request failed. The feature is disabled for the account. |
|
curl -X POST \
--url 'https://api.wavix.com/v1/validation?appid=appid' \
-H 'Accept: application/json'\
-H 'Content-Type: application/json' \
--data-raw '{
"async": false,
"type": "analysis",
"phone_numbers": [
"971501390098",
"971504359195"
]
}'