Phone Validation
Submits a phone number to the service to be validated and returns the result of the validation.
post/phone/validate/v2
Headers
Add-Metadataboolean
Specify whether the response should return all fields and values, in addition to the main core information.
Reference-Idstring
Optional identifier that will be returned in the response to help you track the request.
Timeout-Secondsinteger
Maximum time you are prepared to wait for a response, expressed in seconds. Acceptable values: 2-15. If a timeout occurs, an HTTP status code of 408 - Request Timeout will be returned.
Request body
Example request
{
"number": "17087694383",
"output_format": "NATIONAL",
"get_ported_date": true,
"get_disposable_number": true,
"supplementary_live_status": {
"mobile": [
"USA"
],
"landline": [
"GBR"
]
}
}Response
OK
Example response
{
"error": {
"title": "Bad Request",
"detail": "The request body was malformed."
},
"result": {
"number": "17087694383",
"validated_phone_number": "17087694383",
"formatted_phone_number": "(708) 769-4383",
"phone_type": "Mobile",
"ported_date": "2012-06-27T09:32:09Z",
"disposable_number": "Yes"
},
"metadata": {
"phone_detail": {
"original_operator_name": "T-Mobile",
"original_network_status": "Available",
"original_home_network_identity": "310200",
"original_country_prefix": "1",
"original_country_name": "United States of America",
"original_country_iso": "USA",
"operator_name": "Verizon",
"network_status": "Available",
"home_network_identity": "311480",
"country_prefix": "1",
"country_name": "United States of America",
"country_iso": "USA",
"is_ported": "Yes",
"date_cached": "2020-04-22",
"email_to_sms_address": "7087694383@vtext.com",
"email_to_mms_address": "7087694383@vzwpix.com"
}
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.