# List organizations

From **GitHub v3 REST API**.

`GET /organizations`

Lists all organizations, in the order that they were created on GitHub Enterprise Server.

**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.

## Parameters

### `since`

- Location: query
- Required: false
- Type: `integer`

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

### `per_page`

- Location: query
- Required: false
- Type: `integer`
- Default: `30`

Results per page (max 100)

## Responses

### `200`

Response

#### Headers

##### `Link`

- Type: `string`

- Example: `<https://api.github.com/organizations?since=135>; rel="next"`

### `application/json`

- Type: `array`

```json
[
  {
    "avatar_url": "https://github.com/images/error/octocat_happy.gif",
    "description": "A great organization",
    "events_url": "https://api.github.com/orgs/github/events",
    "hooks_url": "https://api.github.com/orgs/github/hooks",
    "id": 1,
    "issues_url": "https://api.github.com/orgs/github/issues",
    "login": "github",
    "members_url": "https://api.github.com/orgs/github/members{/member}",
    "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
    "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
    "repos_url": "https://api.github.com/orgs/github/repos",
    "url": "https://api.github.com/orgs/github"
  }
]
```

```json
{"items":{"$ref":"#/components/schemas/organization-simple"},"type":"array"}
```

### `304`

Not modified

## Request examples

### cURL

```shell
curl --request GET \
  --url {protocol}://{hostname}/api/v3/organizations
```
