---
title: "Get branches with active merge queues"
method: GET
path: "/repos/{owner}/{repository}/merge-queue/branches"
tags: ["merge_queue"]
---

# Get branches with active merge queues

`GET /repos/{owner}/{repository}/merge-queue/branches`

Get the list of branches that currently have active merge queues

## Path parameters

- `owner` string, required — The owner of the repository
- `repository` string, required — The name of the repository

## Response `200`

Successful Response

- MergeQueueBranches
  - `branches` string[], required — List of branches with active merge queues

## Other responses

- `403` — Forbidden
- `404` — Not found
- `409` — Conflict
- `422` — Unprocessable entity

## Changes

- **2026-08-28** `b3864dcc206a` — 1 info
  - the endpoint scheme security `MergifyTokenBearerAuth` was added to the API
- **2026-08-13** `29857c6146cf` — 2 info
  - the endpoint scheme security `AdminApplicationKey` was added to the API
  - the endpoint scheme security `ApplicationAuth` was removed from the API

[Change history](https://skmtc.dev/mergify/apis/mergify-api/changes/repos/:owner/:repository/merge-queue/branches/get.md)

---

[API](https://skmtc.dev/mergify/apis/mergify-api.md) · [All operations](https://skmtc.dev/mergify/apis/mergify-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mergify/mergify-api/revisions/d8cf048803ed/schema)
