Skip to main content

Phone metadata

The phone verification service returns the following metadata with each verified phone number.

NameTypeDescriptionExample
successBooleanIndicates if the request was successful.true
is_verifiedBooleanIndicates if the phone number is verified.true
line_typeStringThe type of phone line the number is connected to.mobile
line_statusStringThe connection status of the supplied number.connected
line_status_reasonStringInsights of the line_status result.timeout
country_codeStringThe two character ISO code of the country of the phone number.AU
calling_codeStringThe country calling code of the phone number.61
raw_nationalStringThe national phone number without any whitespace or punctuation.0285038000
formatted_nationalStringThe formatted national phone number including country-specific punctuation.(02) 8503 8000
raw_internationalStringThe international phone number in E.164 format.+61285038000
formatted_internationalStringThe formatted international phone number with country-specific formatting.+61 2 8503 8000
not_verified_codeStringA code indicating why the number did not verify.LINE_DISCONNECTED
not_verified_reasonStringA short description of the failure reason, if the number did not verify.Phone number is not connected

*The success response only indicates if the verification process ran all checks without issues regardless of if the phone number is valid or not.

Collection phone metadata using the widget events

The widget can be configured to collect metadata from the Phone Verification response and populate this into fields of your form (hidden or visible to the user). The widget returns two events that can be used for this purpose.

View this code example demonstrating the widget's ability to collect and store the returned metadata.