---
title: "Get branch information"
method: POST
path: "/v2/project/branches/info"
tags: ["Project"]
---

# Get branch information

`POST /v2/project/branches/info`

Return the Project's default branch and any branches requested by name.

## Headers

- `gt-api-version` '2025-01-01.v0' | '2025-11-03.v1' | '2026-02-18.v1' | '2026-03-06.v1' — API contract version. Defaults to the oldest supported version.
- `gt-project-id` string — Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key).

## Request body

- object
  - `branchNames` string[]

## Response `200`

Branch information

- object
  - `branches` Branch[], required
    - `id` string, required
    - `name` string, required

## Other responses

- `400` — Request error
- `401` — Request error
- `403` — Request error
- `413` — Request error
- `429` — Request error
- `500` — Request error

## Changes

- **2026-08-27** `367cd605d090` — 1 breaking, 2 warning, 17 info
  - the `defaultBranch` response's property type/format changed from `object, null`/`` to ``/`` for status `200`
  - removed the optional property `defaultBranch/id` from the response with the `200` status
  - removed the optional property `defaultBranch/name` from the response with the `200` status
  - the endpoint scheme security `BearerAuth` was added to the API
  - …16 more

[Change history](https://skmtc.dev/generaltranslation/apis/general-translation-api/changes/v2/project/branches/info/post.md)

---

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