Skip to content

List organizations

GET
/organizations

Lists all organizations, in the order that they were created.

[!NOTE] Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of organizations.

API method documentation

since
integer

An organization ID. Only return organizations with an ID greater than this ID.

per_page
integer
default: 30

The number of results per page (max 100). For more information, see “Using pagination in the REST API.”

Response

Media type application/json
Array<object>
Organization Simple

A GitHub organization.

object
login
required
string
id
required
integer
node_id
required
string
url
required
string format: uri
repos_url
required
string format: uri
events_url
required
string format: uri
hooks_url
required
string
issues_url
required
string
members_url
required
string
public_members_url
required
string
avatar_url
required
string
description
required
string
nullable
Examples
Example default
[
{
"login": "github",
"id": 1,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
"url": "https://api.github.com/orgs/github",
"repos_url": "https://api.github.com/orgs/github/repos",
"events_url": "https://api.github.com/orgs/github/events",
"hooks_url": "https://api.github.com/orgs/github/hooks",
"issues_url": "https://api.github.com/orgs/github/issues",
"members_url": "https://api.github.com/orgs/github/members{/member}",
"public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
"description": "A great organization"
}
]
Link
string
Example
<https://api.github.com/organizations?since=135>; rel="next"

Not modified