# Do refresh\_token's expire?

**URL:** https://community.shiphero.com/t/do-refresh-tokens-expire/1874
**Category:** GraphQL API
**Created:** [February 17, 2022, 12:57pm UTC](https://community.shiphero.com/t/do-refresh-tokens-expire/1874 "2022-02-17T12:57:00Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![pedro](https://avatars.discourse-cdn.com/v4/letter/p/919ad9/32.png) [@pedro](https://community.shiphero.com/u/pedro)
#### Post date: [February 17, 2022, 12:57pm UTC](https://community.shiphero.com/t/do-refresh-tokens-expire/1874/1 "2022-02-17T12:57:01Z")

</div>

Hi!

Do refresh\_token’s expire?

Thanks.

---

<div class="post-metadata">

### Author: ![tomasfd](https://avatars.discourse-cdn.com/v4/letter/t/5daacb/32.png) [@tomasfd](https://community.shiphero.com/u/tomasfd)
#### Post date: [February 17, 2022, 7:57pm UTC](https://community.shiphero.com/t/do-refresh-tokens-expire/1874/2 "2022-02-17T19:57:06Z")

</div>

Hello @pedro!

No, they don’t expire, they are tied to the account, and you can always use it to refresh that account’s API bearer.

However, if you regenerate the token (with your email and password), that will update the refresh\_token as well.

Have a nice day!  
TomasFD

---

<div class="post-metadata">

### Author: ![pedro](https://avatars.discourse-cdn.com/v4/letter/p/919ad9/32.png) [@pedro](https://community.shiphero.com/u/pedro)
#### Post date: [February 17, 2022, 9:08pm UTC](https://community.shiphero.com/t/do-refresh-tokens-expire/1874/3 "2022-02-17T21:08:03Z")

</div>

Hi @tomasfd,

Thanks. I did some tests and the old refresh token is also valid (it was the expected behavior) so that is perfect.

Best regards
