---
title: "Changes to Create a branch"
method: POST
path: "/projects/{project_id}/branches"
---

# Changes to Create a branch

`POST /projects/{project_id}/branches`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 6 of 50 revisions.

- **2026-07-17** `1f2ae877f985`: 1 info
- **2023-04-02** `663cd77f4c7a`: 1 info
- **2023-02-18** `7796ef19a4c9`: 1 info
- **2021-07-09** `6f4f98f500b0`: 2 info
- **2021-01-31** `ecd12e02213d`: 1 info
- **2021-01-31** `6dffc3a4de00`: 1 breaking

## Changes

- **2026-07-17** `1f2ae877f985`: 1 info
  - added the new optional request property `env_vars`
- **2023-04-02** `663cd77f4c7a`: 1 info
  - added the new optional request property `created`
- **2023-02-18** `7796ef19a4c9`: 1 info
  - added the new optional request property `retention_policy`
- **2021-07-09** `6f4f98f500b0`: 2 info
  - added the new optional request property `forking_model`
  - the request property `name` became optional
- **2021-01-31** `ecd12e02213d`: 1 info
  - added optional request body
- **2021-01-31** `6dffc3a4de00`: 1 breaking
  - removed the request body

---

[Operation](https://skmtc.dev/kraken-ci/apis/server-api/docs/projects/:project_id/branches/post.md) - [API](https://skmtc.dev/kraken-ci/apis/server-api.md) - [Page](https://skmtc.dev/kraken-ci/apis/server-api/changes/projects/:project_id/branches/post)
