---
title: "Get installation repositories"
method: POST
path: "/api/v1/installations/repositories"
tags: ["Installations"]
---

# Get installation repositories

`POST /api/v1/installations/repositories`

## Request

- Base URL: `https://zeropath.com`
- URL: `https://zeropath.com/api/v1/installations/repositories`
- Auth: API key in header `X-ZeroPath-API-Token-Id` and API key in header `X-ZeroPath-API-Token-Secret`

## Request body

- object
  - `organizationId` string
  - `appId` string

## Response `200`

Successful response

- InstallationRepository[]
  - `id` string, required
  - `repositoryUrl` string, required
  - `repositoryName` string, required
  - `defaultBranch` string, nullable
  - `github` object
    - `githubAppInstallationId` string, required
    - `externalGithubRepositoryId` string, required
    - `externalGithubAppInstallationId` string, required
  - `gitlab` object
    - `gitlabInstallationId` string, required
    - `externalGitlabProjectId` string, required
  - `bitbucket` object
    - `bitbucketInstallationId` string, required
    - `externalBitbucketRepositoryId` string, required
  - `azure` object
    - `azureDevOpsInstallationId` string, required
    - `externalAzureRepositoryId` string, required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized

---

[API](https://skmtc.dev/zeropath/apis/zeropath-api-2.md) - [All operations](https://skmtc.dev/zeropath/apis/zeropath-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/zeropath/apis/zeropath-api-2/revisions/ea6ae4b68cd3?raw)
