SMS Gateway - sms77
The sms77 SMS Gateway delivers SMS messages internationally.
Incoming Messages/Replies
You can get incoming messages/replies to your sms77 number into the fmSMS file in 2 ways:
- Manually Download Incoming Messages
- Use Webhooks to have sms77 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 sms77 as they are received.
Manual Download Incoming Messages
You can download incoming messages manually via the Account Details screen. Simply enter the date range you wish to download messages between and click the Get Incoming Messages button:
Any incoming messages to your sms77 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 - your script would just need to handle the incrementing of the timestamps.
sms77 Webhooks Setup
To receive incoming SMS messages to your sms77 number, including replies to previously sent messages, you will need to use the supplied inboundSMS.php webhook file to act as the webhook receiver. See our Webhooks guide for what you need to do host the inboundSMS.php file on your chosen web server. Once you have the publicly accessible URL for this file you can enter this into your sms77 account settings as follows:
- login to your sms77 account via their website
- click on Developer in the side navigation
- under Webhooks click the + button to add a new Webhook
- enter the URL in the URL field
- set the HTTP method to GET
- set the Event to SMS_MO
- click Save
It should look similar to this screenshot: