number format response

API Docs by APIMATIC

Number Format Response

Fields

NameDescription
phone_number Required
String

The phone number sent in the request

valid Required
Boolean

Indicates if the phone number is valid or not

country_code Required
String

2-letter ISO code of the country of the phone number. null if the phone number is invalid.

e164_format Required
String

The phone number in the international E.164 format.

national_format Required
String

The phone number in the national format of the identified country.

charge Required
String

Price of the validation.

error_code Required
String

Contains an error code if any. “000” indicates success. Other possible error_code values: 013 - Internal service error 021 - Invalid phone number length or format 041 - Request timeout 042 - Request failed 091 - Insufficient funds

{
  "phone_number": "971569483322",
  "valid": true,
  "country_code": "AE",
  "e164_format": "+971569483322",
  "national_format": "056 948 3322",
  "charge": "0.0000",
  "error_code": "000"
}