To configure Clickatell as the SMS sender perform the following steps:
Select Generic in Sender service.
Specify a Service URL value.
For example, https://platform.clickatell.com/messages/http/send?apiKey=szkSkap_SqumXVb4vUfU0Q==&to=359884194544&content=Test message text\
Specify HTTP Basic Authentication Username and HTTP Basic Authentication Password obtained from Clickatell.
Select POST from HTTP request method.
Select the required content type in HTTP request content type to send the HTTP request to the service provider. The supported options are:
URL encoded
JSON
If you want to send the HTTP request in the URL encoded type, perform the following steps:
Select URL Encoded in the HTTP request content type.
Click Add and create the following parameters in HTTP request body.
Parameter name: user
Parameter value: name of your account
Parameter name: to
Parameter value: {phone}
Parameter name: text
Parameter value: {message}
Parameter name: apiKey, this is a parameter that is issued after addition of an HTTP sub-product to your Clickatell account. A single account may have multiple API IDs associated with it.
Parameter name: from
Parameter value: sender’s phone number
Click Add secure and create the following parameter in HTTP request body.
Name: Specify a term to identify the parameter. For example, password
Value: current password that is set on the Clickatell account
For more information about the additional parameters for Clickatell, see the Clickatell documentation.
NOTE:The parameters may differ for different SMS service providers. But the {phone} and {message} variables are mandatory.
If you want to send the HTTP request in the JSON type, perform the following steps:
Select URL Encoded in the HTTP request content type.
Enter the HTTP request in the JSON template.
For example, {"to":"{{phone}}"'"message":"{{message}}"}
where,
{{phone}}: Recipients phone number
{{message}}: Message body
NOTE:The parameters may differ for different SMS service providers. But the {phone} and {message} variables are mandatory.
For more information about the additional parameters for Clickatell, see the Clickatell documentation.