Validate multiple numbers
Validates a batch of phone numbers. When async is true, returns a request_id to poll for results instead of the validation details.
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
Changed in 5 of the 50 revisions of this API.20310
- ●
removed the optional property
error_codefrom the response with the403statusresponse-optional-property-removed
- ○
added
subschema #2: Async Requestto the response bodyanyOflist for the response status200response-body-any-of-added
- ○
removed
subschema #2from the response bodyanyOflist for the response status200response-body-any-of-removed
This revision also has 42 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
the endpoint scheme security
bearerAuthwas added to the APIapi-security-added
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
the response property
anyOf[subschema #1: PhoneValidationBatchResponse]/items/items/carrier_namebecame nullable for the status200response-property-became-nullable
- ▲
the response property
anyOf[subschema #1: PhoneValidationBatchResponse]/items/items/country_codebecame nullable for the status200response-property-became-nullable
- ▲
the response property
anyOf[subschema #1: PhoneValidationBatchResponse]/items/items/mccbecame nullable for the status200response-property-became-nullable
- ▲
the response property
anyOf[subschema #1: PhoneValidationBatchResponse]/items/items/mncbecame nullable for the status200response-property-became-nullable
- ▲
the response property
anyOf[subschema #1: PhoneValidationBatchResponse]/items/items/number_typebecame nullable for the status200response-property-became-nullable
- ▲
the response property
anyOf[subschema #1: PhoneValidationBatchResponse]/items/items/portedbecame nullable for the status200response-property-became-nullable
- ▲
the response property
anyOf[subschema #1: PhoneValidationBatchResponse]/items/items/risky_destinationbecame nullable for the status200response-property-became-nullable
- ▲
the response property
anyOf[subschema #1: PhoneValidationBatchResponse]/items/items/timezonebecame nullable for the status200response-property-became-nullable
- ▲
the response property
anyOf[subschema #1: PhoneValidationBatchResponse]/items/items/unallocated_rangebecame nullable for the status200response-property-became-nullable
- ▲
the response property
anyOf[subschema #1: PhoneValidationBatchResponse]/items/items/carrier_namebecame optional for the status200response-property-became-optional
- ▲
the response property
anyOf[subschema #1: PhoneValidationBatchResponse]/items/items/mccbecame optional for the status200response-property-became-optional
- ▲
the response property
anyOf[subschema #1: PhoneValidationBatchResponse]/items/items/mncbecame optional for the status200response-property-became-optional
- ▲
the response property
anyOf[subschema #1: PhoneValidationBatchResponse]/items/items/number_typebecame optional for the status200response-property-became-optional
- ▲
the response property
anyOf[subschema #1: PhoneValidationBatchResponse]/items/items/portedbecame optional for the status200response-property-became-optional
- ▲
the response property
anyOf[subschema #1: PhoneValidationBatchResponse]/items/items/reachablebecame optional for the status200response-property-became-optional
- ▲
the response property
anyOf[subschema #1: PhoneValidationBatchResponse]/items/items/risky_destinationbecame optional for the status200response-property-became-optional
- ▲
the response property
anyOf[subschema #1: PhoneValidationBatchResponse]/items/items/roamingbecame optional for the status200response-property-became-optional
- ▲
the response property
anyOf[subschema #1: PhoneValidationBatchResponse]/items/items/timezonebecame optional for the status200response-property-became-optional
- ▲
the response property
anyOf[subschema #1: PhoneValidationBatchResponse]/items/items/unallocated_rangebecame optional for the status200response-property-became-optional
- ▲
- ▲
added
PhoneValidationRequestto the request bodyallOflistrequest-body-all-of-added
- ●
removed
ValidationRequestsubschema #2from the request bodyallOflistrequest-body-all-of-removed
- ●
removed the optional property
anyOf[subschema #2]/request_uuidfrom the response with the200statusresponse-optional-property-removed
- ○
api operation id
Validatemultiplephonenumbersremoved and replaced withnumber_validator_create_bulkapi-operation-id-removed
- ○
api tag
Number validatoraddedapi-tag-added
- ○
api tag
Number Validatorremovedapi-tag-removed
- ○
added
PhoneValidationBatchResponseto the response bodyanyOflist for the response status200response-body-any-of-added
- ○
removed
Validatemultiplenumbersresponsefrom the response bodyanyOflist for the response status200response-body-any-of-removed
- ○
added the optional property
anyOf[subschema #2]/request_idto the response with the200statusresponse-optional-property-added
This revision also has 163 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
endpoint added
endpoint-added
- ○