# importing the client from the twilio from twilio.rest import Client # Your Account Sid and Auth Token from twilio account account_sid = [ACCOUNT_SID] auth_token = [AUTH_TOKEN] # instantiating the Client client = Client(account_sid, auth_token) # sending message message = client.messages.create(body='Hi there! How are you?', from_=[FROM_NUM , to==[VERIFIED_NUMBER] # printing the sid after success print(message.sid)