SMS Gateway - Bandwidth
The Bandwidth SMS Gateway delivers SMS messages internationally.
Incoming Messages/Replies
You can get incoming messages/replies to your Bandwidth number into the fmSMS file via the use of Webhooks to have Bandwidth 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 Bandwidth as they are received.
Bandwidth Webhooks Setup
To receive incoming SMS messages to your Bandwidth number, including replies to previously sent messages, you will need to use the supplied WebhooksCallbacks.php webhook file to act as the webhook receiver. See our Webhooks guide for what you need to do host the WebhooksCallbacks.php file on your chosen web server. Once you have the publicly accessible URL for this file you can enter this into your Bandwidth account settings as follows:
- login to your Bandwidth account via their website
- from the top navigation menu click Applications
- click on the Application you wish to enter the Callback URL for
- enter the URL in the Callback URL field
- click Save