How do I get the 'haven't been read by a moderator' status of Message using API?
In the "message-list" component, topics containing messages unread by moderator are flagged with an "RM" icon. This appears to be different than the moderation_status provided by the Messages API.
Can someone provide insight and an example of how to retrieve the "This topic contains messages that haven't been read by moderator" status for a message?
Hello StanGromer,
Unfortunately, there is no such API exist which says moderator read/unread for a message.
But you can try the following rest call to get the messages read by a particular user:
/restapi/vc/users/id/[id] /posts/read (the list of read messages for this user)
Here, you can pass the moderator's user id and see what are all the messages read by this user. I know this is not a straightforward solution, but that's the only solution we have at the moment.
Let me know if you need any further help.
Regards,
Abhishek Gupta