---
title: "POST /branches/create"
method: POST
path: "/branches/create"
tags: ["branches"]
---

# POST /branches/create

`POST /branches/create`

Creates a new branch.

## Headers

- `X-Phantombuster-Org` string

## Request body

- object
  - `name` string, required — Name of the branch to create.

## Response `200`

New branch created successfully.

- object
  - `id` string, required
  - `name` string, required

## Other responses

- `400` — A branch already exists with the provided name.

---

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