View source: R/tw.messaging_services.R
tw.messaging_services.list | R Documentation |
Twilio Spoke API: List Messaging Services
tw.messaging_services.list(
sid = Sys.getenv('TWILIO_ACCOUNT_SID'),
key = Sys.getenv('TWILIO_KEY'),
secret = Sys.getenv('TWILIO_SECRET'),
n = 20,
alldata = FALSE,
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. |
alldata |
return allll the fields or just the marginally useful ones? |
verbose |
Print detailed progress. |
?
## Not run:
source("C:/Users/lwolberg/Desktop/.ssh/twilio_auth.R")
# create a service
m <- tw.messaging_services.create(sid, token, friendly_name = 'quite friendly!')
# list all services
x <- tw.messaging_services.list(sid, token, n=20)
# delete a service
tw.messaging_services.delete(sid, token, m$sid)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.