# Query conversartions by members ids

**URL:** <https://forum.social.plus/t/query-conversartions-by-members-ids/1401>\
**Category:** TS SDK\
**Created:** [July 22, 2024, 6:44am UTC](https://forum.social.plus/t/query-conversartions-by-members-ids/1401 "2024-07-22T06:44:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jfiejka](https://avatars.discourse-cdn.com/v4/letter/j/4491bb/32.png) [@jfiejka](https://forum.social.plus/u/jfiejka)\
**Post date:** [July 22, 2024, 6:44am UTC](https://forum.social.plus/t/query-conversartions-by-members-ids/1401/1 "2024-07-22T06:44:15Z")

</div>

As in the title. Is it possible to query conversations by its member’s ID?

I want to be able to preview a conversation (if it already exists) when the user is choosing people to chat with.

I couldn’t find anything in the documentation but maybe you can suggest a workaround?

---

<div class="post-metadata">

**Author:** ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)\
**Post date:** [July 22, 2024, 1:18pm UTC](https://forum.social.plus/t/query-conversartions-by-members-ids/1401/2 "2024-07-22T13:18:24Z")

</div>

Currently, member’s ID is not available when querying for channels. However, we have a workaround: you can add the member’s ID as **tags** when you first create a channel. Then, when you query, you can search by tags instead.

 ![Screenshot 2567-07-22 at 14.17.34](https://europe1.discourse-cdn.com/flex013/uploads/amity/original/1X/8d64c54b34f38ce96368d36b4df5740444bad6db.png)

**Docs:** [https://docs.amity.co/amity-sdk/chat/channels/query-channels](https://docs.amity.co/amity-sdk/chat/channels/query-channels)
