Filter the conversations based on Unread Messages
How can I filter the conversations for only those with unread messages? i am looking for a filter for the ConversationRequestBuilder(). What I would like is to filter and show only those lists of conversations that have unread messages, when I use the ConversationsWithMessages UI component.
Platform: React UI kit
Log in to comment and vote
Comments2
Violet Lizard
Please ship this to the Javascript SDK! It’s a must have feature that the API already supports.
Pourav Raj
Thanks for your suggestion!
We’re happy to share that the ability to fetch unread-only conversations is now supported in our SDKs. 🎉
This enhancement makes it easier to filter and display only the conversations with unread messages—without needing to rely solely on Admin APIs.
You can refer to the relevant SDK documentation for implementation details:
JavaScript: Unread Conversations Guide
Let us know if you have any questions or need help implementing this in your app!