Hi,
I got the following error when I was trying to seend SMS to a mobile (non Telstra)
{
"status": "400",
"code": "DELIVERY-OUT-OF-RANGE",
"message": "Refer to API docs at https://tdev.telstra.com"
}
The below jsaon was used (phone nr is replaced to X-es) Is there any API changes?
{
"to": "04xxxxxxxx",
"body": "Test SMS",
"from": "",
"validity": 1,
"scheduledDelivery": 0,
"notifyURL": "",
"replyRequest": false
}
curl -X POST --header "Content-Type: application/json" --header "Authorization: Bearer YYYYYYYYYYYYYYYYY" -d "{
\"to\": \"04XXXXXXX\",
\"body\": \"Test SMS\",
\"from\": \"\",
\"validity\": 0,
\"scheduledDelivery\": 0,
\"notifyURL\": \"\",
\"replyRequest\": false
}" https://tapi.telstra.com/v2/messages/sms