# How to Identify whether a given Okta Tenant is a classic or an OIE one via API?

**URL:** <https://devforum.okta.com/t/how-to-identify-whether-a-given-okta-tenant-is-a-classic-or-an-oie-one-via-api/21724>\
**Category:** Questions\
**Created:** [August 30, 2022, 5:37pm UTC](https://devforum.okta.com/t/how-to-identify-whether-a-given-okta-tenant-is-a-classic-or-an-oie-one-via-api/21724 "2022-08-30T17:37:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![srameshrao](https://avatars.discourse-cdn.com/v4/letter/s/d26b3c/32.png) [@srameshrao](https://devforum.okta.com/u/srameshrao)\
**Post date:** [August 30, 2022, 5:37pm UTC](https://devforum.okta.com/t/how-to-identify-whether-a-given-okta-tenant-is-a-classic-or-an-oie-one-via-api/21724/1 "2022-08-30T17:37:46Z")

</div>

How to Identify whether a given Okta Tenant is a classic or an OIE one via API?  
I have a customer base of both classic and OIE tenants and I have a Multitenancy platform. How can I differentiate my customer’s tenants are classic ones or OIE ones via Okta API?

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [August 30, 2022, 5:41pm UTC](https://devforum.okta.com/t/how-to-identify-whether-a-given-okta-tenant-is-a-classic-or-an-oie-one-via-api/21724/2 "2022-08-30T17:41:16Z")

</div>

Check out the endpoint I mentioned over here: [Cors encountered using Okta Signin Widget - #3 by andrea](https://devforum.okta.com/t/cors-encountered-using-okta-signin-widget/20529/3), aka [https://oktaDomain/.well-known/okta-organization](https://oktaDomain/.well-known/okta-organization)

---

<div class="post-metadata">

**Author:** ![srameshrao](https://avatars.discourse-cdn.com/v4/letter/s/d26b3c/32.png) [@srameshrao](https://devforum.okta.com/u/srameshrao)\
**Post date:** [August 30, 2022, 6:36pm UTC](https://devforum.okta.com/t/how-to-identify-whether-a-given-okta-tenant-is-a-classic-or-an-oie-one-via-api/21724/3 "2022-08-30T18:36:20Z")

</div>

Thanks for your response. I had this solution. However, I was looking for a more reliable solution like a flag or a field specifically sent by Okta API stating if the tenant is an OIE or a classic one.  
Thanks again.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [February 13, 2024, 1:01am UTC](https://devforum.okta.com/t/how-to-identify-whether-a-given-okta-tenant-is-a-classic-or-an-oie-one-via-api/21724/4 "2024-02-13T01:01:33Z")

</div>

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