View source: R/tw.messaging_services.R
tw.messaging_services.phone.add | R Documentation |
Twilio Spoke API: Add Phone to Messaging Service
tw.messaging_services.phone.add(
sid = Sys.getenv('TWILIO_ACCOUNT_SID'),
key = Sys.getenv('TWILIO_KEY'),
secret = Sys.getenv('TWILIO_SECRET'),
service_sid = NA,
phone_sid = 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!!! |
service_sid |
twilio SID of messaging service to add to |
phone_sid |
twilio SID of phone to add |
verbose |
Print detailed progress. |
?
?
## Not run:
source("C:/Users/lwolberg/Desktop/.ssh/twilio_auth.R")
m <- tw.messaging_services.create(sid, token, friendly_name = 'quite friendly!')
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.