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

# POST /branches/release

`POST /branches/release`

Releases a script branch.

## Headers

- `X-Phantombuster-Org` string

## Request body

- object
  - `name` string, required — Name of the branch to release.
  - `scriptIds` string[], required — Ids of the scripts to release.

## Response `200`

Branch released successfully.

## Other responses

- `400` — No script specified or no such branch.
- `412` — None of the scripts exist in the specified branch.

---

[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)
