---
title: "Load Branches for a GitHub Repository"
method: GET
path: "/github-apps/{github_app_id}/repositories/{owner}/{repo}/branches"
tags: ["GitHub Apps"]
---

# Load Branches for a GitHub Repository

`GET /github-apps/{github_app_id}/repositories/{owner}/{repo}/branches`

Fetch branches from GitHub for a given repository.

## Path parameters

- `github_app_id` integer, required
- `owner` string, required
- `repo` string, required

## Response `200`

Branches loaded successfully.

- object
  - `branches` object[]

## Other responses

- `400` — Invalid token.
- `401` — Unauthenticated.
- `404` — Resource not found.

---

[API](https://skmtc.dev/coollabsio/apis/coolify.md) · [All operations](https://skmtc.dev/coollabsio/apis/coolify/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/coollabsio/coolify/revisions/789e6ad3796c/schema)
