# List installations for the authenticated app

From **GitHub v3 REST API**.

`GET /app/installations`

You must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.

The permissions the installation has are included under the `permissions` key.

## Parameters

### `per_page`

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

Results per page (max 100)

### `page`

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

Page number of the results to fetch.

### `since`

- Location: query
- Required: false
- Type: `string`
- Format: `date-time`

Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.

### `outdated`

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

## Responses

### `200`

The permissions the installation has are included under the `permissions` key.

#### Headers

##### `Link`

- Type: `string`

- Example: `<https://api.github.com/resource?page=2>; rel="next", <https://api.github.com/resource?page=5>; rel="last"`

### `application/json`

- Type: `array`

```json
[
  {
    "access_tokens_url": "https://api.github.com/installations/1/access_tokens",
    "account": {
      "avatar_url": "https://github.com/images/error/octocat_happy.gif",
      "events_url": "https://api.github.com/users/octocat/events{/privacy}",
      "followers_url": "https://api.github.com/users/octocat/followers",
      "following_url": "https://api.github.com/users/octocat/following{/other_user}",
      "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
      "gravatar_id": "",
      "html_url": "https://github.com/octocat",
      "id": 1,
      "login": "octocat",
      "node_id": "MDQ6VXNlcjE=",
      "organizations_url": "https://api.github.com/users/octocat/orgs",
      "received_events_url": "https://api.github.com/users/octocat/received_events",
      "repos_url": "https://api.github.com/users/octocat/repos",
      "site_admin": false,
      "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
      "type": "User",
      "url": "https://api.github.com/users/octocat"
    },
    "app_id": 1,
    "app_slug": "github-actions",
    "created_at": "2017-07-08T16:18:44-04:00",
    "events": [
      "push",
      "pull_request"
    ],
    "has_multiple_single_files": true,
    "html_url": "https://github.com/organizations/github/settings/installations/1",
    "id": 1,
    "permissions": {
      "checks": "write",
      "contents": "read",
      "metadata": "read"
    },
    "repositories_url": "https://api.github.com/installation/repositories",
    "repository_selection": "selected",
    "single_file_name": "config.yaml",
    "single_file_paths": [
      "config.yml",
      ".github/issue_TEMPLATE.md"
    ],
    "suspended_at": null,
    "suspended_by": null,
    "target_id": 1,
    "target_type": "Organization",
    "updated_at": "2017-07-08T16:18:44-04:00"
  }
]
```

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

## Request examples

### cURL

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