SMS Gateway - TM4B

The TM4B SMS Gateway delivers SMS messages internationally.

Incoming Messages/Replies

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

TM4B Webhooks Setup

To receive incoming SMS messages to your TM4B number, including replies to previously sent messages, you will need to use the supplied apiClient.php webhook file to act as the webhook receiver. See our Webhooks guide for what you need to do host the apiClient.php file on your chosen web server. Once you have the publicly accessible URL for this file you can enter this into your TM4B account settings as follows:

  1. login to your TM4B account via their website
  2. from the left navigation menu click REST API > Settings
  3. click the + button next to Webhook Endpoints
  4.  enter the URL in the URL field
  5. click Add

It should look similar to this screenshot:

Still need help? Contact Us Contact Us