SMS Gateway - ClickSend
The ClickSend SMS Gateway delivers SMS messages internationally.
Incoming Messages/Replies
You can get incoming messages/replies to your ClickSend number into the fmSMS file in a number ways:
- Manually Download Incoming Messages
- Use Webhooks to have ClickSend push these automatically to fmSMS
- Use Claris Connect Webhooks
- Use Otto Webhooks
Using Webhooks is the preferred method as it saves you from having to poll/check for any new messages - with Webhooks new messages are forward to fmSMS automatically by ClickSend as they are received.
Manual Download Incoming Messages
You can download incoming messages manually via the Account Details screen. To check and download any new messages click the Get Incoming Messages button:
Any incoming messages to your ClickSend number that have not been previously downloaded will then be downloaded. You could also setup a FileMaker Server script schedule to have this run on a scheduled basis (e.g.every hour) to save you from having to manually download/check for new messages.
ClickSend Webhooks Setup
To receive incoming SMS messages to your ClickSend number, including replies to previously sent messages, you will need to use the supplied dedicatedNumberReply.php webhook file to act as the webhook receiver. See our Webhooks guide for what you need to do host the dedicatedNumberReply.php file on your chosen web server. Once you have the publicly accessible URL for this file you can enter this into your ClickSend account settings as follows:
- login to your ClickSend account via their website
- click on your profile name in the top right hand corner and select Messaging Settings from the drop down menu
- make sure you area on the SMS & MMS tab and click the ADD NEW RULE button
- enter a name for the Rule, select your dedicated number (or choose Any) and in the Action field select URL and enter the URL in the URL field field that appears to the right
- click ADD
It should look similar to this screenshot:
You can test out the Webhook by clicking the Add Test Reply button when you click the Rule in the Edit Inbound Rule dialog box that appears.
ClickSend Claris Connect Webhooks Setup
Please visit the Webhooks using Claris Connect guide for instructions on setting up Claris Connect Webhooks for your ClickSend number.
ClickSend Otto Webhooks Setup
Please visit the Webhooks using Otto guide for instructions on setting up Otto Webhooks for your ClickSend number.