# How do I use Organization APIs?

**URL:** <https://community.auth0.com/t/how-do-i-use-organization-apis/100026>\
**Category:** Get Help\
**Tags:** organizations-management-api, management-api\
**Created:** [February 8, 2023, 7:12pm UTC](https://community.auth0.com/t/how-do-i-use-organization-apis/100026 "2023-02-08T19:12:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ronan2](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ronan2/32/42761_2.png) [@ronan2](https://community.auth0.com/u/ronan2)\
**Post date:** [February 8, 2023, 7:12pm UTC](https://community.auth0.com/t/how-do-i-use-organization-apis/100026/1 "2023-02-08T19:12:22Z")

</div>

Every time I try to use Organization APIs I get the error `The specified client_id (client ID) does not allow organizations`. I have tried this with various apps on Auth0 and always run into the same error. The API is clearly documented so what is the use case? I see other posts with people using it with an M2M client ID and unsure what I’m doing wrong.

To clarify, everything works right up until I try and create an invitation which requires a client\_id. At this point it completely fails with the above error.

I have tried this with every type of application and it still doesn’t work.

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [February 9, 2023, 1:33am UTC](https://community.auth0.com/t/how-do-i-use-organization-apis/100026/3 "2023-02-09T01:33:42Z")

</div>

Hi @ronan2,

Welcome to the Auth0 Community!

> [@ronan2](#):
>
> To clarify, everything works right up until I try and create an invitation which requires a client\_id. At this point it completely fails with the above error.
> 
> I have tried this with every type of application and it still doesn’t work.

First, let me clarify that the [Management API’s Create invitations to organization endpoint](https://auth0.com/docs/api/management/v2#!/Organizations/post_invitations) takes in an `org_id` instead of a `client_id`.

Now, the error you encountered happens when the Organization settings for **What types of end-users will access this application** setting has the _Individuals for personal use_ option selected.

Our documentation [here](https://auth0.com/docs/manage-users/organizations/configure-organizations/define-organization-behavior#auth0-dashboard:~:text=Individuals%20for%20personal%20use%3A%20Users%20cannot%20log%20in%20using%20an%20organization) states that users cannot log in using an organization when the _Individuals or personal use_ option has been selected. I can confirm this behavior is true in my tests.

In this case, I recommend setting the _Individuals for personal use_ setting to **Both** in your Application Settings \> Organizations:

 ![image](https://global.discourse-cdn.com/auth0/original/3X/d/4/d41fc46ada5b7cb12d6c465ff78a08b56e2a583f.png)

Be aware that this will not work for Machine-to-Machine applications. You must use a Native, Regular Web App, or Single Page App application type to use Organizations.

Check out our [Organization Limitations](https://auth0.com/docs/manage-users/organizations/organizations-overview#limitations) doc for more information.

I hope this helps!

Please let me know if you have any additional questions.

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [February 23, 2023, 1:33am UTC](https://community.auth0.com/t/how-do-i-use-organization-apis/100026/4 "2023-02-23T01:33:59Z")

</div>

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