Clockwork SMS API
Documentation
Everything you need to know

Python Wrapper

Send SMS in Python using our Python package.

Install through pip using:

pip install Clockwork

Here’s an example:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from clockwork import clockwork

api = clockwork.API('API_KEY_GOES_HERE')

message = clockwork.SMS(
    to = '447000000000',
    message = 'Hello World')

response = api.send(message)

if response.success:
    print (response.id)
else:
    print (response.error_code)
    print (response.error_message)

Full documentation can be found in the readme file. If you have any questions get in touch.

Code Wrappers

  • C# wrapper
  • Java wrapper
  • Node.js Wrapper
  • PHP Wrapper
  • Python Wrapper
  • Ruby gem
  • VB.NET wrapper

Email Interface

  • Send SMS via email

HTTP Interface

  • Check your credit via HTTP
  • SMS Delivery Receipts via HTTP
  • Receive SMS via HTTP
  • Send SMS via HTTP

XML Interface

  • Check your credit using XML
  • SMS Delivery Receipts in XML
  • Receive SMS in XML
  • Send SMS using XML

Reference

  • API Error Codes
  • Delivery States
  • GSM Character set