External APIs

ClickSend SMS: Mobile and Web SMS

Send and receive SMS to mobile phone numbers
Back to BLOCKS

About ClickSend SMS: Mobile and Web SMS

ClickSend SMS Gateway lets you to send and receive SMS communications from web enabled computers and mobile phones.

The ClickSend SMS block allows you to send SMS via the PubNub Programmable Network. For example, you might have a number of IoT sensors in the field streaming readings, and if one crosses a certain threshold, the ClickSend SMS block will automatically deliver a customizable SMS alert to any number of subscribers.

Try it Now
Categories:
External APIs External APIs
Chat & Social
Chat & Social
Gaming
Gaming
Triggers & Notifications
Triggers & Notifications
Last Updated:
20160923 at 14:23:06
Author:
PubNub

Walkthrough

Supply your ClickSend username and api key as apiUsername and apiKey in the event script.

Then, publish a message to the event script channel like:

{
    "to" : "phonenumber",
    "body": "hello"
}

The to parameter is the phone number you want to publish to, and the body is the text you want to appear.

To learn more about ClickSend and to get your keys, visit https://dashboard.clicksend.com/#/signup/step1.

Input

Publish message containing SMS body and destination phone to input channel. Input Channel: clicksend-text
{
    "body" : "Hi",
    "to": "<PHONE NUMBER>"
}

Try PubNub Today

Connect up to 100 devices for Free