If you log in to sms.to and then go to https://sms.to/app#/settings/optout-management you can fill in your callback URL here:
(Sorry, the title is a bit misleading and we will change this in an upcoming version)
You will automatically receive a callback on the provided URL whenever you receive an incoming SMS message.