# Users are not listing in Get Team Members API

**URL:** <https://forum.frame.io/t/users-are-not-listing-in-get-team-members-api/1020>\
**Category:** Uncategorized\
**Created:** [July 29, 2024, 9:30am UTC](https://forum.frame.io/t/users-are-not-listing-in-get-team-members-api/1020 "2024-07-29T09:30:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![avnivas](https://avatars.discourse-cdn.com/v4/letter/a/e9bcb4/32.png) [@avnivas](https://forum.frame.io/u/avnivas)\
**Post date:** [July 29, 2024, 9:30am UTC](https://forum.frame.io/t/users-are-not-listing-in-get-team-members-api/1020/1 "2024-07-29T09:30:10Z")

</div>

Hi  
I’m using following API to list the team related users.

```auto
curl -i -X GET \
  https://api.frame.io/v2/teams/{{team_id}}/members \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

```

The response list is not containing all the users that is listed in the **Manage Teams** page from application.

Currently 50 users assigned for a Team. The above API also returning 50 users. But some of the users are missing in the list while comparing with **Manage Teams** & the response.

Also, the API is returning **DELETED** users as well. How can we skip deleted users from the response?

Kindly suggest me the right approach to retrieve all the users based on team’s ID, if the above approach is not correct and let me know if you need any other additional details.

Thanks,  
Vignesh Nivas A.

---

<div class="post-metadata">

**Author:** ![jhodges](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.frame.io/jhodges/32/3_2.png) [@jhodges](https://forum.frame.io/u/jhodges)\
**Post date:** [July 29, 2024, 4:26pm UTC](https://forum.frame.io/t/users-are-not-listing-in-get-team-members-api/1020/2 "2024-07-29T16:26:58Z")

</div>

Have you checked the pagination headers on the API response to see if you need to perform additional API calls to get the rest of the results list? You can read up on those [here](https://developer.frame.io/docs/getting-started/key-concepts#pagination).

As for excluding deleted users, it doesn’t look like that is supported in the API. You could however do the filtering in your code by removing any users that have a non-null `deleted_at` timestamp.

---

<div class="post-metadata">

**Author:** ![avnivas](https://avatars.discourse-cdn.com/v4/letter/a/e9bcb4/32.png) [@avnivas](https://forum.frame.io/u/avnivas)\
**Post date:** [July 29, 2024, 9:15pm UTC](https://forum.frame.io/t/users-are-not-listing-in-get-team-members-api/1020/3 "2024-07-29T21:15:06Z")

</div>

Thank you very much @jhodges. It worked with the pagination.
