Sends a text message to a phone number through the Twilio messaging API.

Options

namedescriptionrequiredchoices
account_sid user's Twilio account token found on the account page true
auth_token user's Twilio authentication token true
msg the body of the text message true
to_number one or more phone numbers to send the text message to, format +15551112222 true
from_number the Twilio number to send the text message from, format +15551112222 true
media_url 1. URL with a picture, video or sound clip to send with an MMS (multimedia message) instead of a plain SMS

Author

Matt Makai (@makaimc)