Sorry, you need to enable JavaScript to visit this website.

You are here

Can I retrieve inbound SMS received 2 weeks after the outbound SMS is sent?

1 post / 0 new

Michelle's picture
by Michelle

Can I retrieve inbound SMS received 2 weeks after the outbound SMS is sent?

Hey devs! We received this question from a Messaging API user: "Can I retrieve inbound SMS received 2 weeks after the outbound SMS is sent" – Yes! You can retrieve the replies to your virtual number under the following circumstances:

 

  1. If the subscription has a notifyURL, and replyRequest = True in outbound SMS payload, then
    1. Inbound messages will be logged to the notifyURL
    2. Cannot retrieve the reply using GET call
    3. Inbound replies received within 7 days of sending will be available via notifyURL
  2. If the subscription has a notifyURL, and replyRequest = false or not set at all in outbound SMS payload, then
    1. Inbound messages will be logged to the notifyURL
    2. Cannot retrieve the reply using GET call
    3. Inbound replies received anytime (eg. 2 weeks) will be available via notifyURL and accessible anytime
  3. If the subscription does not have a notifyURL, then
    1. Messages can be retrieved using GET call
    2. Inbound replies received anytime (eg. 2 weeks) will be available via the GET call only for 7 days from receiving the inbound reply

See our Messaging API docs for more info on using the NotifyURL and replyRequests. We also have some relevant blog on callbacks and Conversation via the Telstra Messaging API

Hope that helps! If you have a question for us, post here in our Community Forums so we, or your fellow devs can solve it. Contact us on telstradev@team.telstra.com for any further support. 

Michelle from TelstraDev