# 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:** 4

<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:** [January 22, 2020, 11:12pm UTC](https://devforum.zoom.us/t/trial-account-trying-to-create-user-using-api-v2-oauth-php-message-invalid-api-key-or-secret/7643/4 "2020-01-22T23:12:53Z")

</div>

Hey @gregory.george.lewis,

Can you try removing the following code and try again?

```php
$params['params']['client_id'] = $this->clientID;
$params['params']['clientSecret'] = $this->clientSecret;

```

The ClientID and ClientSecret should not be passed into the POST `https://api.zoom.us/v2/users` endpoint.

Also can you share your use case? If your app is only being used within your Zoom account, [using a JWT Token](https://devforum.zoom.us/t/requesting-access-token-via-python/6637/2) is an easier flow.

Thanks,  
Tommy

---

_[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)._
