News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
Sms read status change using sdk
Tags: sdk
Sep 11, 2020 at 1:27am   •   1 replies  •  0 likes
Ravi J

When we send any sms we can get the sms messages id in the response and i have noticed that in the response the status is always read by default:

"readStatus":"Read"

I am not sure why the default is read and what does it mean?

What are the way if I need to change the status into not read or unread ?

Can it be changed with java SDK?

1 Answer
answered on Sep 11, 2020 at 1:54am  

There are basically 2 status: Read, Unread

When the SMS is send the readStatus is always "Read"

You can use the message store API to update the status of your message.

Check this API here:

https://developers.ringcentral.com/api-reference/Message-Store/updateMessage

Every SMS message have a messageId and you need to use that messageId to update the readStatus.

eg:

PUT https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/extension/~/message-store/<your message id>

You can change the status with this API. Also using SDK, you can change that.

Check the demo here in Java:

https://ringcentral-tutorials.github.io/sms-api-java-demo/?distinctId=1746f43bd51496-0f9334d92b97c8-f7b1332-144000-1746f43bd523ca#5


 0



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us