SIGN UP

Info

Phone number information

Properties

error

error: String

Optional error string. Possible values are

  • INVALID_COUNTRY_CODE
  • NOT_A_NUMBER
  • TOO_SHORT_AFTER_IDD
  • TOO_SHORT_NSN
  • TOO_LONG_NSN

isPossibleNumber

isPossibleNumber: Boolean

Is number possible in specified country (just by analyzing length infomation)

isValidNumber

isValidNumber: Boolean

Is number valid in specified country

isValidNumberForRegion

isValidNumberForRegion: Boolean

Is number valid in detected region

number

number: String

Number in international E.164 format, starting with +

numberType

numberType: String

Number type, one of: FIXED_LINE, MOBILE, FIXED_LINE_OR_MOBILE, TOLL_FREE, PREMIUM_RATE, SHARED_COST, VOIP, PERSONAL_NUMBER, PAGER, UAN, VOICEMAIL, UNKNOWN

region

region: String

2-digit country code of specified phone number (ISO 3166-1)