SMS Gateway - DirectSMS

The directSMS SMS Gateway delivers SMS messages internationally.

Incoming Messages/Replies

You can get incoming messages/replies to your directSMS number into the fmSMS file in several ways:

You can get incoming messages/replies to your directSMS number into the fmSMS file via the use of Webhooks to have directSMS push these automatically to fmSMS. 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 directSMS as they are received.

directSMS Webhooks Setup

To receive incoming SMS messages to your directSMS 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 directSMS account settings as follows:

  1. login to your directSMS account via their website
  2. click on Configuration in the left hand menu then select Webhooks
  3. Click on the New Webhook button
  4. in the Event menu select SMS and set the HTTP method to GET
  5. enter the URL in the URL field
  6. in the Content section add parameters for all the MO options. Use the directSMS dedicatedNumberReply.php file as a guide to how to name the parameter keys. For example the Destination Address ($destinationAddress) parameter should have the key name set as "inbound_number"
  7. click Add to save your Webhook

You can get further details on setting up the parameters on the directSMS website here.

directSMS Claris Connect Webhooks Setup

Please visit the Webhooks using Claris Connect guide for instructions on setting up Claris Connect Webhooks for your directSMS number.

directSMS Otto Webhooks Setup

Please visit the Webhooks using Otto guide for instructions on setting up Otto Webhooks for your directSMS number.

Still need help? Contact Us Contact Us