---
title: "Get bitbucket branches of the specified repository"
method: GET
path: "/organization/{organizationId}/account/bitbucket/repository/branch"
tags: ["Organization Account Git Repositories"]
---

# Get bitbucket branches of the specified repository

`GET /organization/{organizationId}/account/bitbucket/repository/branch`

## Request

- Base URL: `https://api.qovery.com`
- URL: `https://api.qovery.com/organization/{organizationId}/account/bitbucket/repository/branch`
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/qovery/apis/qovery-api/docs/organization/:organizationId/account/bitbucket/repository/branch/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `organizationId` string, uuid, required

## Query parameters

- `name` string
- `gitTokenId` string, uuid

## Response `200`

Get bitbucket repository branches

- GitRepositoryBranchResponseList
  - `results` GitRepositoryBranch[]
    - `name` string, required

## Other responses

- `401`: Access token is missing or invalid

---

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