# How to check if chat channel exists with friend ID

**URL:** <https://forum.social.plus/t/how-to-check-if-chat-channel-exists-with-friend-id/1181>\
**Category:** Flutter\
**Created:** [March 7, 2024, 3:02pm UTC](https://forum.social.plus/t/how-to-check-if-chat-channel-exists-with-friend-id/1181 "2024-03-07T15:02:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![danielkang98](https://avatars.discourse-cdn.com/v4/letter/d/e47c2d/32.png) [@danielkang98](https://forum.social.plus/u/danielkang98)\
**Post date:** [March 7, 2024, 3:02pm UTC](https://forum.social.plus/t/how-to-check-if-chat-channel-exists-with-friend-id/1181/1 "2024-03-07T15:02:40Z")

</div>

What I want to achieve is, in the image below by pressing send message (I want to check if there is a chat channel that exists between the friend, If not will create new chat channel, if exists want to know the chat channel Id). How do check if there exists a chat channel between the user and the user’s friend?

---

<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:** [March 8, 2024, 2:19am UTC](https://forum.social.plus/t/how-to-check-if-chat-channel-exists-with-friend-id/1181/2 "2024-03-08T02:19:29Z")

</div>

Hello @danielkang98, for this use case, we would recommend using our converasation channel. It provides the ability to check the existing channel between users.

Docs: [Create Channel - Amity Docs](https://docs.amity.co/amity-sdk/chat/channels/create-channel#create-conversation-channel)
