Skip to main content
POST
/
branches
/
{id}
/
merge
cURL
curl --request POST \
  --url https://api.specular.dev/branches/{id}/merge \
  --header 'Authorization: Bearer <token>'
{
  "branch": {
    "id": "<string>",
    "projectId": "<string>",
    "name": "<string>",
    "state": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication with API key (format: Bearer sk_xxx)

Path Parameters

id
string
required

Branch ID

Response

Branch merge initiated

branch
object
I