# Endpoint to get a channel member by user id?

**URL:** <https://community.sendbird.com/t/endpoint-to-get-a-channel-member-by-user-id/7037>\
**Category:** API\
**Created:** [April 14, 2023, 3:47pm UTC](https://community.sendbird.com/t/endpoint-to-get-a-channel-member-by-user-id/7037 "2023-04-14T15:47:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SamKK](https://avatars.discourse-cdn.com/v4/letter/s/49beb7/32.png) [@SamKK](https://community.sendbird.com/u/SamKK)\
**Post date:** [April 14, 2023, 3:47pm UTC](https://community.sendbird.com/t/endpoint-to-get-a-channel-member-by-user-id/7037/1 "2023-04-14T15:47:16Z")

</div>

**[Problem/Question]**  
The only way to get the channel member object for a user in a channel right now is via the `/group_channels/{channel_url}/members` endpoint, this has be filtered with a nickname, if you can’t rely on nickname, we have to recursively load all pages until we find the user

**[Solution]**  
Either an endpoint to get a member by user id:  
`/group_channels/{channel_url}/members/{unique_user_id}` or a parameter on the regular endpoint to only get a single user

---

<div class="post-metadata">

**Author:** ![Miyoung\_Han](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/miyoung_han/32/183_2.png) [@Miyoung\_Han](https://community.sendbird.com/u/Miyoung_Han)\
**Post date:** [April 15, 2023, 12:31am UTC](https://community.sendbird.com/t/endpoint-to-get-a-channel-member-by-user-id/7037/2 "2023-04-15T00:31:19Z")

</div>

Hi @SamKK

Welcome to Sendbird Community!

You can fetch the channel member object for a user in a channel via the API below with `show_member` parameter.

> **[List group channels by user | Chat Platform API | Sendbird Docs](https://sendbird.com/docs/chat/v3/platform-api/user/managing-joined-group-channels/list-group-channels-by-user#1-list-group-channels-by-user)**
>
> This action retrieves a list of group channels that a specific user has joined. You can use various query parameters to determine the search scope and select what kind of information you want to receive about the queried channels.
