---
title: "Retrieve a branch"
method: GET
path: "/projects/{project_id}/branches/{branch_id}"
tags: ["Branches"]
---

# Retrieve a branch

`GET /projects/{project_id}/branches/{branch_id}`

## Request

- Base URL: `https://api.lokalise.com/api2`
- URL: `https://api.lokalise.com/api2/projects/{project_id}/branches/{branch_id}`
- Auth: API key in header `X-Api-Token`

Retrieves a [Branch](#object-branches) object.

Requires <code>read_projects</code> OAuth access scope.

## Path parameters

- `project_id` string, required
- `branch_id` number, required

## Response `200`

OK

- object
  - `project_id` string
  - `branch` Branches
    - `branch_id` number: A unique identifier of the branch.
    - `name` string: Branch name.
    - `created_at` string: Date of branch creation.
    - `created_at_timestamp` number: Unix timestamp when branch was created.
    - `created_by` number: An identifier of a user who has created the branch.
    - `created_by_email` string: An e-mail of a user who has created the branch.

---

[API](https://skmtc.dev/lokalise/apis/projects-with-branches.md) - [All operations](https://skmtc.dev/lokalise/apis/projects-with-branches/llms.txt) - [OpenAPI document](https://skmtc.dev/lokalise/apis/projects-with-branches/revisions/7ed3f978a361?raw)
