# Use master account's S2S credentials

**URL:** <https://devforum.zoom.us/t/use-master-accounts-s2s-credentials/88095>\
**Category:** API and Webhooks\
**Created:** [May 9, 2023, 2:05pm UTC](https://devforum.zoom.us/t/use-master-accounts-s2s-credentials/88095 "2023-05-09T14:05:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nikola.sajic](https://avatars.discourse-cdn.com/v4/letter/n/47e85d/32.png) [@nikola.sajic](https://devforum.zoom.us/u/nikola.sajic)\
**Post date:** [May 9, 2023, 2:05pm UTC](https://devforum.zoom.us/t/use-master-accounts-s2s-credentials/88095/1 "2023-05-09T14:05:33Z")

</div>

We are switching from JWT app type to Server-to-Server OAuth.  
JWT app was shared between master and subaccounts, but with S2S OAuth it is not the case.

Question: Is it enough to create S2S OAuth on the master’s account and to use Account ID, Client ID and Client secret on subaccounts for communication with the API or S2S OAuth needs to be created on each subaccount?

Concretely, I’m asking about creating webinars. I see that I can use Account ID, Client ID and Client from one subaccount and UserId of another subaccount, and webinar is created normally. Is this a good approach?

---

<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:** [May 9, 2023, 9:11pm UTC](https://devforum.zoom.us/t/use-master-accounts-s2s-credentials/88095/2 "2023-05-09T21:11:09Z")

</div>

Hi @nikola.sajic ,

Please use the master account credentials for authorization, but the subaccount id(s) when making changes or requests for those subaccounts across the endpoints. Make sure you’re using the Master account prefix for the corresponding endpoints you wish to use 🙂

> [@nikola.sajic](#):
>
> Concretely, I’m asking about creating webinars. I see that I can use Account ID, Client ID and Client from one subaccount and UserId of another subaccount, and webinar is created normally. Is this a good approach?

Are you saying you’ve done this successfully? A master account has privileges to create across subaccounts, but subaccounts shouldn’t typically be able to create for other subaccounts so I want to make sure I understand correctly!

---

<div class="post-metadata">

**Author:** ![nikola.sajic](https://avatars.discourse-cdn.com/v4/letter/n/47e85d/32.png) [@nikola.sajic](https://devforum.zoom.us/u/nikola.sajic)\
**Post date:** [May 10, 2023, 7:43am UTC](https://devforum.zoom.us/t/use-master-accounts-s2s-credentials/88095/4 "2023-05-10T07:43:36Z")

</div>

Hi @gianni.zoom ,

Can you send me a private message because it is a bit hard to explain everything here?

We need to finish switching to S2S, but it is a bit confusing.

Thank you!

---

<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:** [May 11, 2023, 12:05am UTC](https://devforum.zoom.us/t/use-master-accounts-s2s-credentials/88095/5 "2023-05-11T00:05:40Z")

</div>

Hi @nikola.sajic ,

Just sent the message for your comfort 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [May 13, 2024, 3:42pm UTC](https://devforum.zoom.us/t/use-master-accounts-s2s-credentials/88095/6 "2024-05-13T15:42:25Z")

</div>

Closed on May 13, 2024, 3:42pm UTC

This topic was automatically closed 368 days after the last reply. New replies are no longer allowed.
