We have setup the Subscription and set a URL for the notifyURL. However this URL is never called when we send in the SMS..
With the notifyURL empty we can see the messages in the Retreieve SMS Repsonses (https://dev.telstra.com/messaging-api/apis/get/messages/sms). Although this seems to be a once off, as soon as we receive the response the list is blanked.
Any way we can see what is going on with the notifyURL callback?
You are here
Subscription (Mobile Number) notifyURL- not called
Fri, 27-10-2017 - 11:29
#1

Subscription (Mobile Number) notifyURL- not called
Fri, 27-10-2017 - 14:30
#2

The same notifyURL when
The same notifyURL when attached to the Send SMS API (https://dev.telstra.com/messaging-api/apis/post/messages/sms) does call the callback we created. However it seems to post nothing (blank data).
I was expecting something like the messageID, timestamp and status for that endpoint..
Fri, 27-10-2017 - 14:49
#3

The default value for the
The default value for the callbackData in the CreateSubscription was object. After changing to match the Getting Started:
"callbackData":
{
"anything":"some data"
}
Now the callback is calling our end. However, as with the SMS, there doesnt seem to be any data coming in..
Fri, 27-10-2017 - 15:04
#4

Solved
I found the cause, on my side. I was expecting the PHP $_POST to include the Body. It appears that the deprication of the older global variables moved the body to be access via file_get_contents("php://input")
Both Sending and Receiving SMS appears to be providing the expected JSON Body data.
Fri, 27-10-2017 - 16:42
#5

Hi Developers,
Hi Developers,
Yep you are right re the post data, ill get that updated in the docs