Skip to main content
POST
/
validation
Validate multiple phone numbers
curl --request POST \
  --url https://api.wavix.com/v1/validation \
  --header 'Content-Type: application/json' \
  --data '{
  "phone_numbers": [
    "971501390098",
    "971504359195"
  ],
  "type": "format",
  "async": true,
  "force": true
}'
{
  "status": "success",
  "pending": 0,
  "count": 1000,
  "items": [
    {
      "phone_number": "971569483322",
      "valid": true,
      "country_code": "AE",
      "e164_format": "+971569483322",
      "national_format": "056 948 3322",
      "ported": false,
      "mcc": "424",
      "mnc": "004",
      "number_type": "mobile",
      "carrier_name": "Etisalat",
      "risky_destination": false,
      "unallocated_range": false,
      "reachable": true,
      "roaming": false,
      "timezone": "UTC+04:00",
      "charge": "0.015",
      "error_code": "000"
    }
  ]
}

Authorizations

appid
string
query
required

An API key to authorize your request

Body

application/json

Async validation request

phone_numbers
string[]
required

An array of phone numbers to get detailed information about

Example:
["971501390098", "971504359195"]
type
enum<string>
required

Phone number validation type

Available options:
format,
analysis,
validation
async
boolean
required

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

Example:

true

force
boolean
required

Force

Example:

true

Response

  • Validatemultiplenumbersresponse
  • Option 2
status
string
required

status

Example:

"success"

pending
integer
required
Example:

0

count
integer
required

The quantity of phone numbers passed in the request.

Example:

1000

items
NumberValidatorResponse · object[]
required

An array of JSON objects containing detailed information about each phone number. The list of parameters returned is determined by the type parameter passed in the request.

I