The PhoneNumber object
Attributes
numberstring | Phone number that can be purchased. |
prefixstring | The prefix of the number. This is the area code. |
citystring | The city of the number. This can be |
countrystring | The country of the number. |
regionstring | The region (city and country) of the number. |
rate_centerstring | Rate center is available only for US and Canada numbers. |
latastring | The local access and transport area of the phone number. This attribute is |
typestring | The type of the phone number can be |
sub_typestring | The subtype of the phone number can be
|
setup_ratestring | The one-time setup fee for the number, in USD. |
monthly_rental_ratestring | The monthly recurring rental fee for the number, in USD. The monthly fee is billed at the start of each month. If the number is purchased in the middle of a month, the rental fee is prorated and billed at that time. |
sms_enabledboolean | Indicates whether the phone number can receive SMS messages. |
sms_ratestring | The cost (per message) of receiving an SMS message on the number, in USD. |
mms_enabledboolean | Indicates whether the phone number can receive MMS messages. |
mms_ratestring | The cost (per message) of receiving an MMS message on the number, in USD. |
voice_enabledboolean | Indicates whether the phone number can receive calls. |
voice_ratestring | The cost (per minute) of receiving a call on the number, in USD. |
restrictionstring | Indicates the type of verification document required to activate the phone number after its purchase. Verification requirements differ for phone numbers from different countries. Possible values are:
|
restriction_textstring | A description of the verification documents required to activate the phone number. |
resource_uristring | URI to the phone number resource. |