# Generate JWT API key & Secret using api in PHP

**URL:** <https://devforum.zoom.us/t/generate-jwt-api-key-secret-using-api-in-php/57752>\
**Category:** API and Webhooks\
**Created:** [September 21, 2021, 6:20am UTC](https://devforum.zoom.us/t/generate-jwt-api-key-secret-using-api-in-php/57752 "2021-09-21T06:20:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![php3.sanatan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/php3.sanatan/32/18494_2.png) [@php3.sanatan](https://devforum.zoom.us/u/php3.sanatan)\
**Post date:** [September 21, 2021, 6:20am UTC](https://devforum.zoom.us/t/generate-jwt-api-key-secret-using-api-in-php/57752/1 "2021-09-21T06:20:23Z")

</div>

## Using this template helps us debug your issues more effectively 🙂

**Description**  
May I generate the api key & secret using coding?? My requirement is to generate JWT api key & secret through coding and create a meeting different different user using generated JWT api key & secret on my end.

Is it possible to generate JWT api key & secret from PHP api end? Please let me know.

**Error**

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

**Which Endpoint/s?**  
API endpoint/s

---

<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:** [September 22, 2021, 2:33pm UTC](https://devforum.zoom.us/t/generate-jwt-api-key-secret-using-api-in-php/57752/2 "2021-09-22T14:33:46Z")

</div>

Hey @php3.sanatan,

Once you have your JWT credentials (API Key and Secret), you can generate a JWT token programmatically. I recommend leveraging one of the libraries here:

> **[JWT.IO](https://jwt.io)**
>
> JSON Web Tokens are an open, industry standard RFC 7519 method for representing claims securely between two parties.

Thanks,  
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:** [October 23, 2021, 12:33am UTC](https://devforum.zoom.us/t/generate-jwt-api-key-secret-using-api-in-php/57752/3 "2021-10-23T00:33:58Z")

</div>

Closed on October 23, 2021, 12:33am UTC

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