We have been able to successfully create, delete webhook subscriptions using PHP and REST API. Everything was working perfectly fine until we had our app published for production and we have noticed a strange behavior or unexpected behavior which is not present in Sandbox mode.
In Sandbox: We sent a sms which works fine and once someone replies we get that replies from Webhook and process it as required.
In Production: Once we sent an sms our webhook automatically gets called for the sent SMS and is responding back with the data of sent SMS not received. That behavior is not present in Sandbox mode and our webbook is only being called once we have a reply from someone.
Can you please help me understand why is that and where is something wrong? Why we have different behavior from the same app and account.
Shouldn't this be the same as Sandbox. Webhook should only be called once we have replies against registered events of instant sms?