List organizations
GET
/organizations
Lists all organizations, in the order that they were created.
[!NOTE] Pagination is powered exclusively by the
sinceparameter. Use the Link header to get the URL for the next page of organizations.
Parameters
Section titled “ Parameters ”Query Parameters
Section titled “ Query Parameters ” since
integer
An organization ID. Only return organizations with an ID greater than this ID.
per_page
integer
The number of results per page (max 100). For more information, see “Using pagination in the REST API.”
Responses
Section titled “ Responses ”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
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" }]Headers
Section titled “ Headers ” Link
string
Example
<https://api.github.com/organizations?since=135>; rel="next"Not modified