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
How can we change sms message read status
Tags: getting started
Nov 10, 2019 at 11:05am   •   2 replies  •  0 likes
Dilip Kunder

Since I am new to the ringCentral apis.. I was exploring the sms api.

I was successful to send the sms. But what stuck me is the sms message status.

The below is the part of the response I got:

{
"type": "SMS",  "creationTime": "2019-11-10T18:50:02.000Z",  "readStatus": "Read",  "priority": "Normal",  "attachments": [    {      "id": ***********,
}

Here "readStatus": "Read"

While going through the api documentation I found the readStatus can be 2 types:

Read, Unread

My first question is what does this read status means?

How can I change it and mark it as Unread again? Is that possible?

2 Answers
answered on Nov 10, 2019 at 11:25am  

Yes you are correct there are 2 status: Read, Unread

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

Checkout 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 now


 0
answered on Nov 11, 2019 at 7:16am  

See the SMS API Tutorial for details and sample code.


 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