The way to get both list of 1:1, groupchat

Hello
I want to list all of a user’s chats using the API.
I tried to use the /chat/users/me/sessions endpoint, but this endpoint seems to sort chats by date, even if they are in the same chat room.
Is there an API endpoint that lists 1:1 chats and group chats in order of most recent conversations?

Hi @dngns55
The List user’s chat messages is the only endpoint available to query users chat messages

You can specify the date by using from and to query parameters to get the messages in a specific time fram