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

# 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'
- `gt-project-id` string

## Request body

- object
  - `branchNames` string[]

## Response `200`

Branch information.

- object
  - `branches` Branch[]
    - `id` string
    - `name` string
  - `defaultBranch` object, nullable — The default branch, or null if none is set.
    - `id` string
    - `name` string

## Other responses

- `400` — The request was invalid.
- `401` — Missing or invalid API key.
- `403` — The API key lacks the required permission, or the action is not allowed on the current plan.

---

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