GET
/organizations/{organization_id}Retrieve an organization by ID or slug
Fetches the organization whose ID or slug matches the provided id_or_slug URL query parameter.
organization_idstringrequired
The ID or slug of the organization
include_members_countbooleanoptional
Flag to denote whether or not the organization's members count should be included in the response.
include_missing_member_with_elevated_permissionsbooleanoptional
Flag to denote whether or not to include a member with elevated permissions who is not currently a member of the organization.
200An organization
objectstringrequired
idstringrequired
namestringrequired
slugstringrequired
image_urlstringoptional
has_imagebooleanrequired
members_countintegeroptional
missing_member_with_elevated_permissionsbooleanoptional
pending_invitations_countintegeroptional
max_allowed_membershipsintegerrequired
admin_delete_enabledbooleanrequired
self_serve_sso_enabledbooleanoptional
Whether this organization can configure self-serve enterprise SSO.
self_serve_directory_sync_enabledbooleanoptional
Whether this organization can configure self-serve Directory Sync (SCIM).
public_metadataobjectrequired
private_metadataobjectoptional
created_bystringoptional
created_atintegerrequired
Unix timestamp of creation.
updated_atintegerrequired
Unix timestamp of last update.
last_active_atintegeroptional
Unix timestamp of last activity.
role_set_keystringoptional
The key of the [role set](https://clerk.com/docs/guides/organizations/control-access/role-sets) assigned to this organization.
403Authorization invalid
errorsarray<object>required
metaobjectoptional
clerk_trace_idstringoptional
404Resource not found
errorsarray<object>required
metaobjectoptional
clerk_trace_idstringoptional
Error handling
A 403 is returned: Authorization invalid. A 404 is returned: Resource not found.