---
title: "Get an organization"
method: GET
path: "/orgs/{org}"
tags: ["orgs"]
---

# Get an organization

`GET /orgs/{org}`

To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://docs.github.com/enterprise-server@3.7/articles/securing-your-account-with-two-factor-authentication-2fa/).

GitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub Enterprise Server plan. See "[Authenticating with GitHub Apps](https://docs.github.com/enterprise-server@3.7/apps/building-github-apps/authenticating-with-github-apps/)" for details. For an example response, see 'Response with GitHub Enterprise Server plan information' below."

## Path parameters

- `org` string, required

## Response `200`

Response

- OrganizationFull — Organization Full
  - `login` string, required
  - `id` integer, required
  - `node_id` string, required
  - `url` string, uri, required
  - `repos_url` string, uri, required
  - `events_url` string, uri, required
  - `hooks_url` string, required
  - `issues_url` string, required
  - `members_url` string, required
  - `public_members_url` string, required
  - `avatar_url` string, required
  - `description` string, nullable, required
  - `name` string
  - `company` string
  - `blog` string, uri
  - `location` string
  - `email` string, email
  - `twitter_username` string, nullable
  - `is_verified` boolean
  - `has_organization_projects` boolean, required
  - `has_repository_projects` boolean, required
  - `public_repos` integer, required
  - `public_gists` integer, required
  - `followers` integer, required
  - `following` integer, required
  - `html_url` string, uri, required
  - `type` string, required
  - `total_private_repos` integer
  - `owned_private_repos` integer
  - `private_gists` integer, nullable
  - `disk_usage` integer, nullable
  - `collaborators` integer, nullable
  - `billing_email` string, email, nullable
  - `plan` object
    - `name` string, required
    - `space` integer, required
    - `private_repos` integer, required
    - `filled_seats` integer
    - `seats` integer
  - `default_repository_permission` string, nullable
  - `members_can_create_repositories` boolean, nullable
  - `two_factor_requirement_enabled` boolean, nullable
  - `members_allowed_repository_creation_type` string
  - `members_can_create_public_repositories` boolean
  - `members_can_create_private_repositories` boolean
  - `members_can_create_internal_repositories` boolean
  - `members_can_create_pages` boolean
  - `members_can_create_public_pages` boolean
  - `members_can_create_private_pages` boolean
  - `members_can_fork_private_repositories` boolean, nullable
  - `web_commit_signoff_required` boolean
  - `advanced_security_enabled_for_new_repositories` boolean — Whether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization. This field is only visible to organization owners or members of a team with the security manager role.
  - `dependabot_alerts_enabled_for_new_repositories` boolean — Whether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to this organization. This field is only visible to organization owners or members of a team with the security manager role.
  - `dependabot_security_updates_enabled_for_new_repositories` boolean — Whether dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization. This field is only visible to organization owners or members of a team with the security manager role.
  - `dependency_graph_enabled_for_new_repositories` boolean — Whether dependency graph is automatically enabled for new repositories and repositories transferred to this organization. This field is only visible to organization owners or members of a team with the security manager role.
  - `secret_scanning_enabled_for_new_repositories` boolean — Whether secret scanning is automatically enabled for new repositories and repositories transferred to this organization. This field is only visible to organization owners or members of a team with the security manager role.
  - `secret_scanning_push_protection_enabled_for_new_repositories` boolean — Whether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization. This field is only visible to organization owners or members of a team with the security manager role.
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `404` — Resource not found

---

[API](https://skmtc.net/github/apis/github-v3-rest-api-6.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-6/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-6/versions/15db3fa0759b/schema)
