# Invalid api key or secret

**URL:** <https://devforum.zoom.us/t/invalid-api-key-or-secret/4397>\
**Category:** API and Webhooks\
**Created:** [May 26, 2019, 1:12pm UTC](https://devforum.zoom.us/t/invalid-api-key-or-secret/4397 "2019-05-26T13:12:59Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![a.abutouq](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@a.abutouq](https://devforum.zoom.us/u/a.abutouq)\
**Post date:** [May 26, 2019, 1:12pm UTC](https://devforum.zoom.us/t/invalid-api-key-or-secret/4397/1 "2019-05-26T13:12:59Z")

</div>

I’m trying to integrate my app with Zoom using **v1** API but every request I sent I got below message:  
Invalid api key or secret  
Is below app secret & app key what I should use? or I forget some additional config?

 ![Screenshot%20from%202019-05-26%2016-08-02](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/1X/9afbdcfb4141a2ded947a61cacf03e00ba70080f.png)

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [May 28, 2019, 7:57pm UTC](https://devforum.zoom.us/t/invalid-api-key-or-secret/4397/2 "2019-05-28T19:57:31Z")

</div>

Hey @a.abutouq,

Happy to help you with your issue. Can you give me more details on what requests you are sending?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![a.abutouq](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@a.abutouq](https://devforum.zoom.us/u/a.abutouq)\
**Post date:** [May 30, 2019, 6:00pm UTC](https://devforum.zoom.us/t/invalid-api-key-or-secret/4397/3 "2019-05-30T18:00:28Z")

</div>

create a meeting  
list users

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [July 15, 2019, 7:26pm UTC](https://devforum.zoom.us/t/invalid-api-key-or-secret/4397/4 "2019-07-15T19:26:46Z")

</div>

Hey @a.abutouq,

Can you send me the code / request so I can try to reproduce on my end?

---

<div class="post-metadata">

**Author:** ![navedi.raj](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/navedi.raj/32/1696_2.png) [@navedi.raj](https://devforum.zoom.us/u/navedi.raj)\
**Post date:** [August 29, 2019, 3:11pm UTC](https://devforum.zoom.us/t/invalid-api-key-or-secret/4397/5 "2019-08-29T15:11:23Z")

</div>

Hey @tommy ,  
Created a oAuth app in our marketplace and used the client id and secret in API  
([https://zoom.us/oauth/token](https://zoom.us/oauth/token))  
and got access token successfully.

Used the access token in API  
([https://api.zoom.us/v2/accounts?page\_size=30&page\_number=1](https://api.zoom.us/v2/accounts?page_size=30&page_number=1))  
for getting all account, but got the same error message “Invalid api key or secret.”

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 29, 2019, 3:37pm UTC](https://devforum.zoom.us/t/invalid-api-key-or-secret/4397/6 "2019-08-29T15:37:40Z")

</div>

Hey @navedi.raj, thanks for reaching out!

Unforntunatly, the [/account endpoints](https://marketplace.zoom.us/docs/api-reference/zoom-api/accounts/accounts) require you to be a [Zoom Partner](https://zoom.us/plan/api).

From the docs: “Only master accounts can create and have sub accounts. Zoom only assigns this privilege to trusted partners.”

You could use the [/users endpoint](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/users) instead to list users on your account.

Thanks,  
Tommy

---

<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:28pm UTC](https://devforum.zoom.us/t/invalid-api-key-or-secret/4397/7 "2020-08-21T18:28:41Z")

</div>


