Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

A module to send sms using the Sinch REST apis,

Project description


pip install sinchsms

Usage example

import time
from sinchsms import SinchSMS

number = '+46000000001'
message = 'Hello from Sinch!'

client = SinchSMS(your_app_key, your_app_secret)

print("Sending '%s' to %s" % (message, number))
response = client.send_message(number, message)
message_id = response['messageId']

response = client.check_status(message_id)
while response['status'] != 'Successful':
    response = client.check_status(message_id)


You will need a Sinch account for getting your application key and secret. Visit to get started.

Using as command line script

usage: <application key> <application secret> send <number> <message> <from_number> <application key> <application secret> status <message_id>

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for sinchsms, version 1.0.4
Filename, size File type Python version Upload date Hashes
Filename, size sinchsms-1.0.4.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page