SMS Gateway - Sinch
The Sinch SMS Gateway delivers SMS messages internationally.
Incoming Messages/Replies
You can get incoming messages/replies to your Sinch number into the fmSMS file via the use of Webhooks to have Sinch 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 Sinch as they are received.
Sinch Webhooks Setup
To receive incoming SMS messages to your Sinch 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 Sinch account settings as follows:
- login to your Sinch account via their website
- from the left navigation menu click SMS > Service APIs > Settings
- under Callback URL enter the URL in the URL field
- click Save