---
title: "GET /api/v1/github_app/importable_repositories"
method: GET
path: "/api/v1/github_app/importable_repositories"
tags: ["github_app"]
---

# GET /api/v1/github_app/importable_repositories

`GET /api/v1/github_app/importable_repositories`

## Request

- Base URL: `https://composal.com` (the document declares no server; this is the origin it was published from)
- URL: `https://composal.com/api/v1/github_app/importable_repositories`
- Auth: HTTP bearer

## Query parameters

- `github_app_installation_id` string
- `page` integer

## Response `200`

Importable GitHub repositories grouped by installation account

- object
  - `accounts` object[], required
    - `github_app_installation_id` string, required
    - `account_login` string, required
    - `next_page` integer, nullable, required: Next GitHub page for this installation
    - `repositories` object[], required
      - `owner` string, required
      - `name` string, required
      - `full_name` string, required
      - `default_branch` string, nullable, required
      - `visibility` string, nullable, required
      - `private` boolean, nullable, required
      - `empty` boolean, nullable, required
      - `html_url` string, nullable, required
      - `updated_at` string, nullable, required
      - `already_imported` boolean, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `422`: Unprocessable entity
- `502`: Bad gateway

---

[API](https://skmtc.dev/composal/apis/vex-api.md) - [All operations](https://skmtc.dev/composal/apis/vex-api/llms.txt) - [OpenAPI document](https://skmtc.dev/composal/apis/vex-api/revisions/74298a24e040?raw)
