Posted By

mountainash on 06/13/08


text message bookmarklet api sms favlet favelett boomark clickatell

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Favlet: Clickatell SMS sender

 / Published in: JavaScript


I made this simple JavaScript to save me time. I was sick of having to thumb-bash on a tiny keypad or login to the slow Clickatell site and use their clunky interface (nothing it simpler than 2 text boxes and an OK button).

You will need an HTTP API POST account with Clickatell's Bulk SMS Gateway. I choose them as they are reliable and they are under half the price of most local providers (and they have simple, well documented APIs)

This script is on 1 line intentionally. In your favourite browser create a new bookmark with this as the URL/address. Change the 'username', 'password' and 'api_id' values to your own. Then test it out. Easy.

NOTE: It's not that pretty but you get sent to the API output on submission. If you get a session ID it all went OK, if not you will get an error with a simple explanation of what went wrong.

  1. javascript:var username = 'CLICKATELL-USERNAME'; var password = 'CLICKATELL-PASSWORD'; var api_id = 'CLICKATELL-APIID '; var recipient = prompt('To: (international mobile number)', '61412888999'); if (recipient) var message = prompt('Message: (over 160 characters will send multiple SMS)', '61412888999'); if (recipient && message) window.location.href = '' + username + '&password=' + password + '&api_id=' + api_id + '&to=' + recipient + '&text=' + message

Report this snippet  


RSS Icon Subscribe to comments
Posted By: on September 16, 2018

15 best root apps for android without pc howtoandroitroot

Posted By: Jacky888 on October 18, 2018

the 8 best portable speaker with wireless microphone topportablespeaker

You need to login to post a comment.