A wrapper around the SMSPortal API for sending text messages.
library(smsportal)
CLIENT_ID = "___"
SECRET_KEY = "___"
smsportal_gentoken(CLIENT_ID, SECRET_KEY)
TOKEN = "___"
smsportal_token(TOKEN)
send_sms(to = "27833823965", message = paste0("Test message at ", Sys.time(), "."))
Details of the API can be found here:
https://docs.smsportal.com/docs/rest
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.