# Need some code using JWT in PHP

**URL:** <https://devforum.zoom.us/t/need-some-code-using-jwt-in-php/32579>\
**Category:** API and Webhooks\
**Created:** [October 8, 2020, 10:16am UTC](https://devforum.zoom.us/t/need-some-code-using-jwt-in-php/32579 "2020-10-08T10:16:40Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vivek.Patil](https://avatars.discourse-cdn.com/v4/letter/v/c67d28/32.png) [@Vivek.Patil](https://devforum.zoom.us/u/Vivek.Patil)\
**Post date:** [October 8, 2020, 10:16am UTC](https://devforum.zoom.us/t/need-some-code-using-jwt-in-php/32579/1 "2020-10-08T10:16:40Z")

</div>

**Description**  
I have search and read lots of documents over the net, but I not found some sample code for Zoom API of JWT in PHP.  
On the below mentioned link there is only call for server side.

> **[JSON Web Tokens (JWT) - Authorization - Documentation](https://marketplace.zoom.us/docs/guides/auth/jwt#sample-code)**
>
> JWT With Zoom
> 
> The Zoom API uses JSON Web Tokens (JWT) to authenticate account-level access. These tokens offer a method to establish secure server-to-s...

Using Zoom API of JWT in PHP how we can create meeting/delete meeting. I need some sample code of this functionality.

---

<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:** [October 8, 2020, 10:17am UTC](https://devforum.zoom.us/t/need-some-code-using-jwt-in-php/32579/2 "2020-10-08T10:17:24Z")

</div>

Hey @Vivek.Patil

Thanks for posting on the Zoom Devforum! I am still learning, but I will try my best to help answer your question. 🙂

Checkout this related thread that may have the answer you are looking for:

> [@How to create JWT token using REST api in c#](https://devforum.zoom.us/t/-/6620):
>
> Hi, how to create JWT token using REST api in c#

If this thread did not help, please let us know by replying back here and someone from the Developer Relations team will get back to you shortly.

Thanks,  
DeveloperBot

---

<div class="post-metadata">

**Author:** ![Vivek.Patil](https://avatars.discourse-cdn.com/v4/letter/v/c67d28/32.png) [@Vivek.Patil](https://devforum.zoom.us/u/Vivek.Patil)\
**Post date:** [October 8, 2020, 10:25am UTC](https://devforum.zoom.us/t/need-some-code-using-jwt-in-php/32579/3 "2020-10-08T10:25:30Z")

</div>

I am not understanding this information.  
Please let me know any sample working code available JWT in PHP.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [October 8, 2020, 9:19pm UTC](https://devforum.zoom.us/t/need-some-code-using-jwt-in-php/32579/4 "2020-10-08T21:19:20Z")

</div>

Hi @Vivek.Patil,

To clarify, our APIs are only intended for server-side requests.  
If you need some sample code for generating API calls, you can find these here (including in PHP):

> **[JSON Web Tokens (JWT) - Authorization - Documentation](https://marketplace.zoom.us/docs/guides/auth/jwt)**
>
> JWT With Zoom
> 
> The Zoom API uses JSON Web Tokens (JWT) to authenticate account-level access. These tokens offer a method to establish secure server-to-s...

If you need some sample code for a particular endpoint, you can generate this using our embedded Postman tool. For example, our [User’s List](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/users) endpoint:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/4/f/4fea12af6c48720ca3c81fba32750ae9600c2396.png)

I hope this helps!  
-Will

---

<div class="post-metadata">

**Author:** ![Vivek.Patil](https://avatars.discourse-cdn.com/v4/letter/v/c67d28/32.png) [@Vivek.Patil](https://devforum.zoom.us/u/Vivek.Patil)\
**Post date:** [October 9, 2020, 7:46am UTC](https://devforum.zoom.us/t/need-some-code-using-jwt-in-php/32579/5 "2020-10-09T07:46:06Z")

</div>

Okay. It make sense.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [October 9, 2020, 7:01pm UTC](https://devforum.zoom.us/t/need-some-code-using-jwt-in-php/32579/6 "2020-10-09T19:01:14Z")

</div>

@Vivek.Patil Glad we could help!

Best,  
Will

---

<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:** [November 9, 2020, 5:01am UTC](https://devforum.zoom.us/t/need-some-code-using-jwt-in-php/32579/7 "2020-11-09T05:01:14Z")

</div>

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