AddIncomingPhoneNumber

HTTP Method Used: POST

Adds a new phone number to your account. If a phone number is found for your request, Twilio will add it to your account View Twilio Docs

format  
PhoneNumber The phone number you want to purchase. The number should be formated starting with a '+' followed by the country code and the number in E.164 format
FriendlyName A human readable description of the new incoming phone number. Maximum 64 characters. Defaults to a formatted version of the number.
VoiceUrl The URL that Twilio should request when somebody dials the new phone number.
VoiceMethod The HTTP method that should be used to request the VoiceUrl. Must be either GET or POST. Defaults to POST.
VoiceFallbackUrl A URL that Twilio will request if an error occurs requesting or executing the TwiML at Url.
VoiceFallbackMethod The HTTP method that should be used to request the VoiceFallbackUrl. Either GET or POST. Defaults to POST.
StatusCallback The URL that Twilio will request to pass status parameters (such as call ended) to your application.
StatusCallbackMethod The HTTP method Twilio will use to make requests to the StatusCallback URL. Either GET or POST. Defaults to POST.
SmsUrl The URL that Twilio should request when somebody sends an SMS to the phone number.
SmsMethod The HTTP method that should be used to request the SmsUrl. Must be either GET or POST. Defaults to POST.
SmsFallbackUrl A URL that Twilio will request if an error occurs requesting or executing the TwiML defined by SmsUrl.
SmsFallbackMethod The HTTP method that should be used to request the SmsFallbackUrl. Must be either GET or POST. Defaults to POST.
VoiceCallerIdLookup Do a lookup of a caller's name from the CNAM database and post it to your app. Either true or false. Defaults to false.