# Can i use zoom Oauth token for background batch jobs on server

**URL:** <https://devforum.zoom.us/t/can-i-use-zoom-oauth-token-for-background-batch-jobs-on-server/116402>\
**Category:** Authentication\
**Created:** [August 26, 2024, 2:39pm UTC](https://devforum.zoom.us/t/can-i-use-zoom-oauth-token-for-background-batch-jobs-on-server/116402 "2024-08-26T14:39:01Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [August 26, 2024, 8:45pm UTC](https://devforum.zoom.us/t/can-i-use-zoom-oauth-token-for-background-batch-jobs-on-server/116402/3 "2024-08-26T20:45:43Z")

</div>

Hi @nmalhotra ,

We have [Server-to-Server OAuth](https://developers.zoom.us/docs/internal-apps/s2s-oauth/) and [User OAuth](https://developers.zoom.us/docs/integrations/oauth/). Both allow you to produce access tokens that are valid for an hour, but there is no refresh token for S2S apps. There are a few other differences, and I recommend reviewing the documentation to see which would be best for the use case you’re envisioning. Here is [a quick comparison](https://devforum.zoom.us/t/when-to-use-server-to-server-oauth-app-and-when-to-use-oauth-app/75274), but the docs go more in depth.

---

_[View the full topic](https://devforum.zoom.us/t/can-i-use-zoom-oauth-token-for-background-batch-jobs-on-server/116402)._
