# User token expiration

**URL:** <https://devforum.zoom.us/t/user-token-expiration/12408>\
**Category:** API and Webhooks\
**Created:** [April 9, 2020, 5:10pm UTC](https://devforum.zoom.us/t/user-token-expiration/12408 "2020-04-09T17:10:13Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![bragma](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bragma/32/4213_2.png) [@bragma](https://devforum.zoom.us/u/bragma)\
**Post date:** [April 9, 2020, 5:10pm UTC](https://devforum.zoom.us/t/user-token-expiration/12408/1 "2020-04-09T17:10:13Z")

</div>

**Description**  
Has the user token an expiration or does it change in any way during the user entity lifetime? I’m asking because the token is opaque and it is not clear how often do I need to get it.

Can it be stored in a secure way on my server and be reused without having to call the Zoom API?

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
JWT

**Which Endpoint/s?**  
/users/{userId}/token

Thanks!

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [April 10, 2020, 12:37am UTC](https://devforum.zoom.us/t/user-token-expiration/12408/2 "2020-04-10T00:37:04Z")

</div>

Hey @bragma,

See the token expiration [here](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/usertoken):

 ![Screen Shot 2020-04-09 at 6.36.30 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/1/11472f6ce32e1cb8a3e17d59b4983bc34477ec0b.png)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![bragma](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bragma/32/4213_2.png) [@bragma](https://devforum.zoom.us/u/bragma)\
**Post date:** [April 10, 2020, 10:58am UTC](https://devforum.zoom.us/t/user-token-expiration/12408/3 "2020-04-10T10:58:52Z")

</div>

Thanks, probably I needed to elaborate from the beginning.  
Can I assume that the user token will not change and store it in another storage to avoid making an API call? It seems that ZAKs have expiration, but user tokens do not.

Thanks!

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [April 11, 2020, 1:36am UTC](https://devforum.zoom.us/t/user-token-expiration/12408/4 "2020-04-11T01:36:02Z")

</div>

Hey @bragma,

If you are finding that the user tokens don’t change, then yes, you can store.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![bragma](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bragma/32/4213_2.png) [@bragma](https://devforum.zoom.us/u/bragma)\
**Post date:** [April 11, 2020, 11:09am UTC](https://devforum.zoom.us/t/user-token-expiration/12408/5 "2020-04-11T11:09:52Z")

</div>

I was expecting **you** to tell me if user tokens change and when! 🙂

My plan is to get them when users are created and store them (forever?) in my backend so I can get them when needed without having to go to the zoom api. If I am correct, they are needed to join meetings as host with mobile SDK, the zak is not enough.

Does it make sense?  
Thanks!

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [April 13, 2020, 7:39pm UTC](https://devforum.zoom.us/t/user-token-expiration/12408/6 "2020-04-13T19:39:08Z")

</div>

Hey @carson.zoom,

Can you confirm if user `token` changes or needs to be refreshed?

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/8/8f4941275cd798111fe8507bcb022e73efd58bb4.png)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [April 14, 2020, 5:04am UTC](https://devforum.zoom.us/t/user-token-expiration/12408/7 "2020-04-14T05:04:45Z")

</div>

Hey @bragma @tommy,

The `token` does not change for each User but the `zak` changes around every 2 hours. Users would need both of them to start a meeting with tokens in SDK.

Thanks!

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 8:25pm UTC](https://devforum.zoom.us/t/user-token-expiration/12408/8 "2020-08-21T20:25:59Z")

</div>

Closed on August 21, 2020, 8:25pm UTC


