# Help setting up authentication for a REST API call

**URL:** <https://devforum.zoom.us/t/help-setting-up-authentication-for-a-rest-api-call/4613>\
**Category:** API and Webhooks\
**Created:** [June 12, 2019, 9:55pm UTC](https://devforum.zoom.us/t/help-setting-up-authentication-for-a-rest-api-call/4613 "2019-06-12T21:55:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mbeede](https://avatars.discourse-cdn.com/v4/letter/m/85f322/32.png) [@mbeede](https://devforum.zoom.us/u/mbeede)\
**Post date:** [June 12, 2019, 9:55pm UTC](https://devforum.zoom.us/t/help-setting-up-authentication-for-a-rest-api-call/4613/1 "2019-06-12T21:55:07Z")

</div>

Greetings - I want to call the “Add Meeting Registrant” API method within the PHP code of my Wordpress website to add a registrant to an existing meeting. Meaning, I am NOT building an app in the marketplace. I am just calling the ZOOM API. But I could use some help on the setup:

1. Do I set the authentication up for OAuth or JWT for this?

2. If it’s OAuth where do I get the ClientID? (this is not the same thing as the api\_key right?)

3. If it’s JWT then I think I would use the api\_key and api\_secret right?

4. Do you have a PHP code example that demonstrates how to set this up using the correct method? Your previous posts on this all have links that are no longer valid, so I am having trouble finding any valid and current sample code…

Any help would be MOST appreciated!

Thanks - Mark

---

<div class="post-metadata">

**Author:** ![mbeede](https://avatars.discourse-cdn.com/v4/letter/m/85f322/32.png) [@mbeede](https://devforum.zoom.us/u/mbeede)\
**Post date:** [June 12, 2019, 10:02pm UTC](https://devforum.zoom.us/t/help-setting-up-authentication-for-a-rest-api-call/4613/2 "2019-06-12T22:02:03Z")

</div>

WOW - Another forum user responded to a previous post I did a few weeks ago with a code example that he found that is EXACTLY what I am looking for. I am re-posting it here in case anyone else can benefit from it…

PHP example setting up JWT and calling different ZOOM API methods:  
[https://plugins.trac.wordpress.org/browser/video-conferencing-with-zoom-api/trunk/classes/class-zvc-zoom-api-v2.php?order=name](https://plugins.trac.wordpress.org/browser/video-conferencing-with-zoom-api/trunk/classes/class-zvc-zoom-api-v2.php?order=name)

THANKS! - Mark

---

<div class="post-metadata">

**Author:** ![ojus.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ojus.zoom/32/734_2.png) [@ojus.zoom](https://devforum.zoom.us/u/ojus.zoom)\
**Post date:** [June 12, 2019, 11:43pm UTC](https://devforum.zoom.us/t/help-setting-up-authentication-for-a-rest-api-call/4613/3 "2019-06-12T23:43:49Z")

</div>

Hi @mbeede,

Were you able to resolve it?

---

<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, 6:29pm UTC](https://devforum.zoom.us/t/help-setting-up-authentication-for-a-rest-api-call/4613/4 "2020-08-21T18:29:22Z")

</div>


