# Update

## Update

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

Update a sequence branch. The branch ID must be passed into the endpoint as a path parameter and into the body as "id".&#x20;

#### Path Parameters

| Name                                 | Type    | Description                               |
| ------------------------------------ | ------- | ----------------------------------------- |
| id<mark style="color:red;">\*</mark> | integer | The ID of the branch you'd like to update |

#### Headers

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

#### Request Body

| Name                                    | Type    | Description                               |
| --------------------------------------- | ------- | ----------------------------------------- |
| title<mark style="color:red;">\*</mark> | string  | The title of the branch                   |
| data<mark style="color:red;">\*</mark>  | object  | Data object                               |
| id<mark style="color:red;">\*</mark>    | integer | The ID of the branch you'd like to update |

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

```
{
  "data": {
    "success": true,
    "message": "Branch updated successfully"
  }
}

```

{% endtab %}
{% endtabs %}

## Body(raw)

```
{
  "id": 926,
  "leadId": 138,
  "data": {
    "title": "Welcome Branch"
  }
}

```
