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
Login or Register to Admin Portal
Select Functions
Select your desired App and Keyset
Select "Explore Templates" and proceed with selected integration.
Create an account with ClickSend
Grab the
API username
andAPI key
- you will need these details to complete configuration of this integrationSelect this template by using 'Use Template' button
Assign the module and keyset under which the integration should run
Configure
API username
andAPI key
Confirm the configuration
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