Clockwork SMS API
Documentation
Everything you need to know

Send SMS via email

The email interface lets you send an email to Clockwork and it’ll be converted into SMS and sent to a mobile phone.

Send an email to:

mobilenumber@YOURAPIKEY.clockworksms.com

The mobile number you are sending to should start with an international country code without any leading zeros or plus symbols.

For example, our UK office would be 441625588620.

You can send from any email address you wish, the subject of the message is ignored (so leave it blank).

The email to SMS gateway will take the content of the email message and forward it on as an SMS.

If your email program automatically adds a signature or disclaimer you can put #STARTSMS# and #ENDSMS# around your message and we’ll ignore everything else.

Example

This example sends the message “Hello World” to phone number 441234567980.

1
2
3
4
5
6
7
8
9
To: 441234567980@YOURAPIKEY.clockworksms.com
From: a.user@example.com
Subject:

#STARTSMS#
Hello World
#ENDSMS#

This could be a disclaimer at the bottom of your email.

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