install twilio
composer require twilio/sdk
twilio rest api "5.7" python sms example
from twilio.rest import TwilioRestClient
import twilio
print twilio.__version__
# Your Account SID from twilio.com/console
account_sid = "AC6791725bc93116fbd42b4cd477996f7d"
# Your Auth Token from twilio.com/console
auth_token = "30ed212f6a2bbc05d103b67426b8509a"
client = TwilioRestClient(account_sid, auth_token)
message = client.sms.messages.create(
body="Sent from your Twilio trial account - hello from python",
to="my number phone goes here",
from_="+14695356845" )
print message.sid
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us