Python Text APP using Twilio API

less than 1 minute read

Twilio:

Twilio allows software developers to programmatically make and receive phone calls and send and receive text messages(SMS) using its web service APIs. Twilio’s services are accessed over HTTP and are billed based on usage.

Target:

Our Target is to make a python program to use Twilio API and send a SMS to a phone.

Following are the Steps:

  1. Create an account on Twilio.
  2. Verify a Phone number on Twilio from here. That you would like to SMS.
  3. Get Twilio Credentials from here :
    • Get Account SID
    • Get Auth Token
  4. Get Phone Number:
    • Your Twilio Phone number is here
    • Verified Cell Phone Number You Want To Text by clicking here
  5. Put your twilio credentials and twilio phone numbers in ‘credentials.py’.
  6. Clone the code from my GitHub Repository.

  7. Open the terminal and install twilio python package:
  8. Create ‘send_sms.py’ & Run.

You just sent your first text through your Python Text App that uses the Twilio API.

For any problem or issue please comment down. Please review about my post.

Leave a comment