Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

this is my first project

You must be logged in to vote

Replies: 2 comments

Comment options

from twilio.rest import Client

Your Twilio account details

account_sid = "YOUR_ACCOUNT_SID"
auth_token = "YOUR_AUTH_TOKEN"

client = Client(account_sid, auth_token)

message = client.messages.create(
body="Hello! This message was sent using Python code.",
from_="0787889240", # Twilio phone number
to="+250793683432" # Receiver phone number
)

print("Message sent! ID:", message.sid)

You must be logged in to vote
0 replies
Comment options

TPL-202510-GitHubDataProtectionAgreement (1).pdf

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.