sinchsms - a module to send sms using the Sinch REST apis
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial commit Nov 28, 2014 Added PyPi support files. Dec 2, 2014
README.rst fixed errors May 13, 2016
setup.cfg Added PyPi support files. Dec 2, 2014 Fix incorrect key casing in documentation. Aug 10, 2016


Python module for sending sms with Sinch


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>