Skip to main content
POST
Create branch

Authorizations

Authorization
string
header
required

Bearer authentication with API key (format: Bearer sk_xxx)

Body

application/json
name
string
required

Branch name

projectId
string
required

Project ID

git
object

Git configuration (required if project has custom git)

Response

Branch created successfully

Branch created successfully

branch
object