# Trial account trying to create user using api v2 oauth PHP "\[message\] =\> Invalid api key or secret."

**URL:** <https://devforum.zoom.us/t/trial-account-trying-to-create-user-using-api-v2-oauth-php-message-invalid-api-key-or-secret/7643>\
**Category:** API and Webhooks\
**Created:** [January 22, 2020, 9:31pm UTC](https://devforum.zoom.us/t/trial-account-trying-to-create-user-using-api-v2-oauth-php-message-invalid-api-key-or-secret/7643 "2020-01-22T21:31:47Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![gregory.george.lewis](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gregory.george.lewis/32/2974_2.png) [@gregory.george.lewis](https://devforum.zoom.us/u/gregory.george.lewis)\
**Post date:** [January 24, 2020, 3:28am UTC](https://devforum.zoom.us/t/trial-account-trying-to-create-user-using-api-v2-oauth-php-message-invalid-api-key-or-secret/7643/9 "2020-01-24T03:28:12Z")

</div>

I modified the code, somewhat, that I found on this page (already cited):  
[https://devforum.zoom.us/t/help-with-api-create-meeting-with-php/5189/5](https://devforum.zoom.us/t/help-with-api-create-meeting-with-php/5189/5)

I am applying the code to my JWT project. It works on createMeeting, in as much as I get a long, beautiful stdClass Object in the response.

I don’t think I solved the problem in the original post, but I will probably depart from OAuth for now, and build out using the JWT project.

Thanks!

Gregory

---

_[View the full topic](https://devforum.zoom.us/t/trial-account-trying-to-create-user-using-api-v2-oauth-php-message-invalid-api-key-or-secret/7643)._
