Send Scheduled SMS with Python and Twilio
Twilio is a communication platform that powers messaging services, including Programmable Messaging, which allows developers to send and schedule SMS notifications with a single API call. The service requires the creation of a Messaging Service, where the sender's phone number is added, and environment variables are set for Twilio account credentials. A Python application uses the Twilio helper library to create and schedule an SMS message, specifying the time it should be sent using ISO 8601 format. After running the script, the user must wait for the scheduled time to receive the SMS, which can be viewed in the Twilio Console until delivery.
Company
Twilio
Date published
Jan. 20, 2022
Author(s)
Miguel Grinberg
Word count
1676
Language
English
Hacker News points
None found.