Skip to main content
POST
Create Branch

Authorizations

Authorization
string
header
required

Use a JWT bearer token or a Veryfront API key in the Authorization header.

Path Parameters

project_reference
string
required
Example:

"my-project"

Body

application/json
name
string
required

Branch name

Required string length: 1 - 255
Example:

"feature-new-header"

base_branch_id
string<uuid> | null

Base branch ID to create from (null for the default branch)

Response

Branch created successfully

id
string<uuid>
required
name
string
required
project_id
string<uuid>
required
base_branch_id
string<uuid> | null
created_at
string | null
created_by
string<uuid> | null
merged_at
string | null
merged_by
string<uuid> | null