I set up a test account for twilio and my method in C# is sending sms correctly. But the status in response object (SMSMessage) is queued. I understand that if I pass a call back url, then twilio will update the status when it does get updated. My question is, how do I test it? I searched the internet and found that if I have thread.sleep(1000) and then hold on to the sid returned in response and make a call to the url https://api.twilio.com/2010-04-01/Accounts/AC123/SMS/Messages/08jdsxxxxxx.json where 08jdsxxxxxx is the sid returned then I could peek into the response. But this is giving me 401 error.
How to debug the message status changes? From a developer perspective, how to set up a local environment for callbackurl?
I searched the internet but couldn't find my info, their documentation does provide more info either.
Many thanks.