Description Usage Arguments Details Value Examples
View source: R/twilio_lookup.R
Validate the phone number and return country codes and valid phone format.
1 2 | twilio_lookup(phone = NA, api_sid = Sys.getenv("TWILIO_SID"),
api_token = Sys.getenv("TWILIO_TOKEN"))
|
phone |
character The phone number. Required. |
twilio_sid |
character The Twilio API SID. Looks for environment variable TWILIO_SID Required.. |
twilio_token |
character The Twilio API token. Looks for environment variable TWILIO_TOKEN Required. |
This function uses the Twilio phone lookup API. https://www.twilio.com/docs/lookup/api
a list containing the response from the API
1 | twilio_lookup(phone='6178675309')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.