# How to hide API Key from ZOOM Web SDK

**URL:** <https://devforum.zoom.us/t/how-to-hide-api-key-from-zoom-web-sdk/46141>\
**Category:** Web\
**Created:** [March 21, 2021, 12:04am UTC](https://devforum.zoom.us/t/how-to-hide-api-key-from-zoom-web-sdk/46141 "2021-03-21T00:04:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![digix.sameera](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/digix.sameera/32/23747_2.png) [@digix.sameera](https://devforum.zoom.us/u/digix.sameera)\
**Post date:** [March 21, 2021, 12:04am UTC](https://devforum.zoom.us/t/how-to-hide-api-key-from-zoom-web-sdk/46141/1 "2021-03-21T00:04:13Z")

</div>

I want to hide API Key in my WEB-SDK. i already hide API SECREAT. but i don’t know how to hide API KEY using backend language (PHP)

> **[zoom/sample-app-web](https://github.com/zoom/sample-app-web)**
>
> Zoom Web SDK Sample App. Contribute to zoom/sample-app-web development by creating an account on GitHub.

```
 var testTool = window.testTool;
var displayName = $("#display_name").val();
if (testTool.isMobileDevice()) {
    vConsole = new VConsole();
}
console.log("checkSystemRequirements");
console.log(JSON.stringify(ZoomMtg.checkSystemRequirements()));

ZoomMtg.preLoadWasm(); // pre download wasm file to save time.
//
var API_KEY = "AbEgbn36S4O4sbnw9O7V7Q";

// some help code, remember mn, pwd, lang to cookie, and autofill.
document.getElementById("display_name").value = displayName;

document.getElementById("meeting_number").value = testTool.getCookie(
    "meeting_number"
);
document.getElementById("meeting_pwd").value = testTool.getCookie(
    "meeting_pwd"
);
```

---

<div class="post-metadata">

**Author:** ![digix.sameera](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/digix.sameera/32/23747_2.png) [@digix.sameera](https://devforum.zoom.us/u/digix.sameera)\
**Post date:** [March 21, 2021, 12:47am UTC](https://devforum.zoom.us/t/how-to-hide-api-key-from-zoom-web-sdk/46141/2 "2021-03-21T00:47:51Z")

</div>

@tommy I need your help !!!

---

<div class="post-metadata">

**Author:** ![alexmayo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/alexmayo/32/27289_2.png) [@alexmayo](https://devforum.zoom.us/u/alexmayo)\
**Post date:** [March 22, 2021, 11:37am UTC](https://devforum.zoom.us/t/how-to-hide-api-key-from-zoom-web-sdk/46141/3 "2021-03-22T11:37:57Z")

</div>

Hi @digix.sameera,

There’s no need to hide your API key, as long as your secret is hidden.

The API key is required within the Javascript functions used to join the meeting, and this will be visible to the public, no matter what you do.

Thanks,  
Alex

---

<div class="post-metadata">

**Author:** ![digix.sameera](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/digix.sameera/32/23747_2.png) [@digix.sameera](https://devforum.zoom.us/u/digix.sameera)\
**Post date:** [March 22, 2021, 1:22pm UTC](https://devforum.zoom.us/t/how-to-hide-api-key-from-zoom-web-sdk/46141/4 "2021-03-22T13:22:49Z")

</div>

Agreed. Thanks @alexmayo

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [March 23, 2021, 7:54pm UTC](https://devforum.zoom.us/t/how-to-hide-api-key-from-zoom-web-sdk/46141/5 "2021-03-23T19:54:36Z")

</div>

Hey @digix.sameera,

I can confirm that @alexmayo is correct. Thanks again @alexmayo!

Thanks,  
Max

---

<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:** [April 23, 2021, 5:54am UTC](https://devforum.zoom.us/t/how-to-hide-api-key-from-zoom-web-sdk/46141/6 "2021-04-23T05:54:42Z")

</div>

Closed on April 23, 2021, 5:54am UTC

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