validate multiple phone numbers

API Docs by APIMATIC

Validate Multiple Phone Numbers

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
  • EXPLORER
  • PARAMETERS
Endpoint Arguments*
Parameters*
body (ValidateMultiplePhoneNumbersRequest)*

JSON object containing a list of phone numbers to get detailed information about and type of the request.

Indicates whether the request should be executed asynchronously. The default value is `false`.

phone_numbers*

An array of phone numbers to get detailed information about

Response Type

Errors

HTTP Status CodeError DescriptionException 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"
  ]
}'