PubNub Integration

ClickSend SMS: Mobile and Web SMS

In-app chat

In-app chat

Alerts & Notifications

Alerts & Notifications

Last Updated:

2016/09/23

Author:

PubNub

Get your Clicksend API KeysClicksend

Send and receive SMS to mobile phone numbers

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.

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>"
}

Feedback & Support

Need help? Contact PubNub Support.


Talk to an expert

Contact Sales