Sandbox acccount SMS retention

  • 1
  • Question
  • Updated 2 months ago
How long the SMS will be stored in sandbox account.? Thanks
Photo of Nibu Eapen

Nibu Eapen

  • 310 Points 250 badge 2x thumb

Posted 3 months ago

  • 1
Photo of Tyler Long

Tyler Long, Official Rep

  • 8,142 Points 5k badge 2x thumb
Photo of Nibu Eapen

Nibu Eapen

  • 310 Points 250 badge 2x thumb
Thanks for the reply. When I try to retrieve SMS it doesn't show up SMS received yesterday.
Photo of VB

VB, Official Rep

  • 1,470 Points 1k badge 2x thumb
How are you trying to retrieve the SMS from yesterday, can you post here the API call made? Please add query filter with dateFrom for the API call.  
(Edited)
Photo of Tyler Long

Tyler Long, Official Rep

  • 8,142 Points 5k badge 2x thumb
By default the API only returns data for the last 24 hours.  

As VB said you should specify the dateFrom parameter: https://developer.ringcentral.com/api-docs/latest/index.html#!#RefGetMessageList