# What is the min/max length for an org\_id

**URL:** <https://community.auth0.com/t/what-is-the-min-max-length-for-an-org-id/148838>\
**Category:** Get Help\
**Tags:** users, management-api\
**Created:** [October 8, 2024, 2:27am UTC](https://community.auth0.com/t/what-is-the-min-max-length-for-an-org-id/148838 "2024-10-08T02:27:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yebuntu](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/yebuntu/32/61170_2.png) [@yebuntu](https://community.auth0.com/u/yebuntu)\
**Post date:** [October 8, 2024, 2:27am UTC](https://community.auth0.com/t/what-is-the-min-max-length-for-an-org-id/148838/1 "2024-10-08T02:27:31Z")

</div>

I am trying to validate the format of the `org_id`. I am curious to know the current min and max length of the characters after `org_id`? I read that `20` is the max right now? Not sure about the min.

---

<div class="post-metadata">

**Author:** ![catherineklara](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/catherineklara/32/59980_2.png) [@catherineklara](https://community.auth0.com/u/catherineklara)\
**Post date:** [October 8, 2024, 6:01am UTC](https://community.auth0.com/t/what-is-the-min-max-length-for-an-org-id/148838/2 "2024-10-08T06:01:19Z")

</div>

The minimum length is set to \*\*4 characters  
The maximum length is set to \*\*20 characters

---

<div class="post-metadata">

**Author:** ![tudor.smeu](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/tudor.smeu/32/59767_2.png) [@tudor.smeu](https://community.auth0.com/u/tudor.smeu)\
**Post date:** [October 8, 2024, 1:37pm UTC](https://community.auth0.com/t/what-is-the-min-max-length-for-an-org-id/148838/4 "2024-10-08T13:37:03Z")

</div>

Hello @yebuntu.

Welcome to the Auth0 community!

Right now there is not minimum or maximum length for the `org_id`. Instead, it is set to 20 characters.

It is important to know that `org_id` being 20 characters is an implementation detail and it might change without notice at any time. We have no guarantees that it’ll always be 20 characters. You shouldn’t make decisions based on its length or shape and they should aways assume that they’ll get an opaque string back as ID which could be in any shape.

I hope this was helpful and if you have more questions don’t hesitate to come back to the community.

Thanks,  
Tudor

---

<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:** [October 22, 2024, 1:37pm UTC](https://community.auth0.com/t/what-is-the-min-max-length-for-an-org-id/148838/5 "2024-10-22T13:37:53Z")

</div>

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