v1
latestOpenAPI 3.0.0Proprietary2026-07-26316155742.7 KBMerge a branch
Merge an existing branch back into its base branch.
The merge runs asynchronously. The branch transitions to merging_branch and settles in merged, merge_error, or merge_conflict once the background job completes; the response body for this request is empty. Poll the branch resource to observe the final state.
A branch cannot be merged while it still has open jobs or open translation orders attached to its branch project — in that case the request is rejected with 409 Conflict. A branch whose current state does not allow a merge is rejected with 422 Unprocessable Entity.
Requires the Branching feature to be enabled on the account.
Note: Merging a branch may take several minutes depending on diff size.
Path parameters
Project ID
name
Headers
Two-Factor-Authentication token (optional)
Request body
Example request
{
"strategy": "use_main"
}Response
OK. The merge has been scheduled. The response body is empty; observe progress by polling the branch resource.