# 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"
  }
}

```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.acquire.io/rest-apis/chatbot/sequence-bot/branch/update.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
