ClickSend SMS: Mobile and Web SMS

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.

Setup

  1. Login or Register to Admin Portal

  2. Select Functions

  3. Select your desired App and Keyset

  4. Select "Explore Templates" and proceed with selected integration.

  5. Create an account with ClickSend

  6. Grab the API username and API key - you will need these details to complete configuration of this integration

  7. Select this template by using 'Use Template' button

  8. Assign the module and keyset under which the integration should run

  9. Configure API username and API key

  10. Confirm the configuration

  11. Review the code and if it looks ok - start the function

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://clicksend.com/signup.

Input

Publish message containing SMS body and destination phone to input channel. Input Channel: clicksend-text

1

Talk to an expert