View source: R/tw.incoming_phone_numbers.R
tw.incoming_phone_numbers.list | R Documentation |
Twilio Spoke API: List Owned Phones
tw.incoming_phone_numbers.list(
sid = Sys.getenv('TWILIO_ACCOUNT_SID'),
key = Sys.getenv('TWILIO_KEY'),
secret = Sys.getenv('TWILIO_SECRET'),
n = 20,
phone_number = NA,
friendly_name = NA,
verbose = FALSE
)
sid |
twilio credentials: Account SID. |
key |
twilio credentials: Account user key. |
secret |
twilio credentials: User secret. Don't store this in scripts!!! |
n |
number of records to return, for API calls that return more than one record. |
phone_number |
The phone numbers of the IncomingPhoneNumber resources to read. You can specify partial numbers and use '*' as a wildcard for any digit. |
friendly_name |
Provide full (not partial :P) friendly name to match only a subset of phones. |
verbose |
Print detailed progress. |
A data.table
. NOTE: twilio API allows max 1000 to be returned.
tw.incoming_phone_numbers.list()
gets a list of owned phone numbers.
tw.incoming_phone_numbers.fetch()
gets the details of a specific owned phone number.
tw.incoming_phone_numbers.delete()
deletes a specific owned phone number from your twilio account. This removes it from your bill.
tw.messages.list()
gets the most recent n
messages. You can specify variables to narrow the query.
## Not run:
source("C:/Users/lwolberg/Desktop/.ssh/twilio_auth.R")
tw.incoming_phone_numbers.list(sid, key, secret, n=20)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.