Get an organization
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/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/[email protected]/apps/building-github-apps/authenticating-with-github-apps/)" for details. For an example response, see 'Response with GitHub Enterprise Server plan information' below."
/orgs/{org}- Source
github-v3-rest.json- Revision
f5f067c1e6f6- Active snapshot
85e53e3d0d65
Request
Path Parameters
- org stringrequired
Responses
Response
Example: https://github.com/images/error/octocat_happy.gif
Example: [email protected]
Example: https://github.com/blog
Example: 8
Example: GitHub
Example: 2008-01-14T04:33:35Z
Example: A great organization
Example: 10000
Example: [email protected]
Example: https://api.github.com/orgs/github/events
Example: 20
Example: 0
Example: true
Example: true
Example: https://api.github.com/orgs/github/hooks
Example: https://github.com/octocat
Example: 1
Example: true
Example: https://api.github.com/orgs/github/issues
Example: San Francisco
Example: github
Example: all
Example: true
Example: true
Example: true
Example: true
Example: true
Example: true
Example: true
Example: false
Example: https://api.github.com/orgs/github/members{/member}
Example: github
Example: MDEyOk9yZ2FuaXphdGlvbjE=
Example: 100
plan objectoptional
Example: 81
Example: 1
Example: https://api.github.com/orgs/github/public_members{/member}
Example: 2
Example: https://api.github.com/orgs/github/repos
Example: 100
Example: github
Example: true
Example: Organization
Example: https://api.github.com/orgs/github
Resource not found