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 to enable 'Mark Chat As Read/Unread' API POST request for the Team Messaging API?
Tags: ringcentral app, rest api
Apr 3, 2023 at 11:58am   •   2 replies  •  0 likes
Suresh Bollipo

Our development team is trying to implement Mark Chat as Read and Mark Chat as Unread functionality to ACO Team Messaging chats. We already have calls like getChat and getPost successfully implemented.

When we are testing the markChatAsRead and markChatAsUnread API on the api reference page, we are getting the "In order to call this api endpoint, application needs to have [TeamMessagingInternal] permission" 403 error.

The API reference docs say that the scope is TeamMessagingInternal: https://developers.ringcentral.com/api-reference/Chats/markChatReadNew

But there is no TeamMessagingInternal scope in the list of available scopes for our app.

We have the all these scopes selected:

Edit Messages, Edit Presence, Internal Messages, Read Accounts, Read Contacts, Read Messages, Read Presence, Team Messaging, Webhook Subscriptions


We tried adding almost all other available scopes to circumvent this issue, but to no avail, and as there is no scope named TeamMessagingInternal offered to us, we're unable to execute this request.

We are also not sure what other approach we could take to make the Mark chat as read and Mark chat as unread features work.

Is there a way to avoid the 403 permission error that we are not seeing?







2 Answers
answered on Apr 4, 2023 at 8:12am  

I got a confirmation from the team that the above mentioned APIs are not meant for public. they are accidentally listed in the public domain and will be withdrew from the list soon.

So, the answer is there is no API to set the read/unread properties of a team messaging chat.


 0
answered on Apr 3, 2023 at 4:04pm  

They are new APIs and it seems they are not ready for public. Let me check with the team to see how can we make them fully available.


 1



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