# Limit on retrieving refresh tokens for a given User

**URL:** <https://community.auth0.com/t/limit-on-retrieving-refresh-tokens-for-a-given-user/77474>\
**Category:** Get Help\
**Tags:** api\
**Created:** [February 2, 2022, 11:08am UTC](https://community.auth0.com/t/limit-on-retrieving-refresh-tokens-for-a-given-user/77474 "2022-02-02T11:08:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pavan](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pavan/32/25884_2.png) [@pavan](https://community.auth0.com/u/pavan)\
**Post date:** [February 2, 2022, 11:08am UTC](https://community.auth0.com/t/limit-on-retrieving-refresh-tokens-for-a-given-user/77474/1 "2022-02-02T11:08:31Z")

</div>

I have used deviceCredentials api to list all refresh tokens for a user, but only 50 tokens are getting retrieved, looks like result size has limit on 50. How to retrieve all the refresh tokens ? Is it even possible to retrieve all the refresh tokens ?

And also for some users number of refresh tokens is same as number of logins for that user. Both have any correlation ?

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [February 22, 2022, 10:21pm UTC](https://community.auth0.com/t/limit-on-retrieving-refresh-tokens-for-a-given-user/77474/3 "2022-02-22T22:21:22Z")

</div>

Hi @pavan

Welcome to the Auth0 Community!

> [@pavan](#):
>
> Is it even possible to retrieve all the refresh tokens ?

It looks like [that endpoint](https://auth0.com/docs/api/management/v2#!/Device_Credentials/get_device_credentials) is paginated. Are you familiar with how to use API pagination?

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [April 8, 2022, 4:40pm UTC](https://community.auth0.com/t/limit-on-retrieving-refresh-tokens-for-a-given-user/77474/4 "2022-04-08T16:40:36Z")

</div>


