> For the complete documentation index, see [llms.txt](https://developer.acquire.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.acquire.io/rest-apis/chatbot/sequence-bot/branch/set-as-separate-branch.md).

# Set as Parent Branch

## Set as Parent Branch

<mark style="color:orange;">`PUT`</mark> `https://{{account_id}}.acquire.io/api/v1/bot/seq/parent-branch/{{branchId}}`

Set the parent branch. The child branch (`branchId`) must be passed through the endpoint as a path parameter.&#x20;

#### Path Parameters

| Name                                       | Type    | Description                        |
| ------------------------------------------ | ------- | ---------------------------------- |
| branchId<mark style="color:red;">\*</mark> | integer | Specify branch id for child branch |

#### Headers

| Name                                            | Type   | Description         |
| ----------------------------------------------- | ------ | ------------------- |
| Authorization<mark style="color:red;">\*</mark> | string | Bearer {{api\_key}} |

#### Request Body

| Name                                     | Type    | Description                         |
| ---------------------------------------- | ------- | ----------------------------------- |
| leadId<mark style="color:red;">\*</mark> | integer | Specify branch id for parent branch |

{% tabs %}
{% tab title="200 " %}

```
{
  "data": {
    "success": true,
    "message": "Branch marked as parent successfully."
  }
}

```

{% endtab %}
{% endtabs %}

## Body(raw)

```
{
  "leadId": 138
}

```
