When using the Twilio Phone Validation App for Eloqua or the Real Time Phone Validation javascripts, please refer to the following results guide to understand the fields returned from the API.
- Phone Number Result: Returns the number submitted in a standard E.164 phone number format.
Example:"phone_number": "+15108675310"
- National Format: Returns the number submitted in a regional phone number format based on geography/country.
Example:"national_format": "(510) 867-5310"
- Country Code Result: Returns the country code of the phone number based on the validation results
Example:"country_code": "US"
- Lookup Status: TRUE/FALSE. The results of the validation of valid or not.
- Lookup Status Message: Details about the reason for valid or invalid status. May not return a value.
- Carrier Name (advanced): The telecom company that provides the phone number.
Example:
"name": "verizon"
- Phone Type (advanced): Returns what typr of phone line the number belongs to.
Example:"type": "mobile"
Type Description landline The phone number is a landline number; generally not capable of receiving SMS messages. mobile The phone number is a mobile number; generally capable of receiving SMS messages. voip An internet based phone number that may or may not be capable of receiving SMS messages. For example, Google Voice. Returned for U.S. numbers only. null The phone number is valid but no information was returned from our data providers (see limitation for Canada numbers). - Sample of Javascript returned data
({
"Status": "true",
"StatusMessage": "Success",
"StatusCode": null,
"VerboseStatus": null,
"VerboseStatusDescription": null,
"CallerNameInfo": null,
"CarrierInfo": null,
"Success": true,
"isValid": true
})