Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Enter your token in the format token TOKEN

Headers

X-PhraseApp-OTP
string

Two-Factor-Authentication token (optional)

Path Parameters

project_id
string
required

Project ID

Body

application/json
name
string
required

Name of the branch

Example:

"my-branch"

base
string

Name of an existing branch to use as the base for the new branch.

Example:

"parent-branch"

Response

Created

base_project_id
string
branch_project_id
string
name
string
base
string | null

Name of the base branch this branch was created from. Only present for branches created with the newer branching system.

created_at
string<date-time>
updated_at
string<date-time>
merged_at
string<date-time>
merged_by
user_preview · object
Example:
created_by
user_preview · object
Example:
state
enum<string>
Available options:
creating_branch,
merging_branch,
syncing_branch,
merged,
success,
branch_error,
merge_conflict
child_branches
string[]