# Create conversation message branch

```http
POST /conversations/{conversation_id}/messages/{message_id}/branches
```

Create a sibling of a message with new parts when the user edits an earlier message and wants to keep the original reply; the new message gets the parent and role of the original and becomes the selected branch.

## Parameters

| Name              | In   | Required | Description |
| ----------------- | ---- | -------- | ----------- |
| `conversation_id` | path | Yes      |             |
| `message_id`      | path | Yes      |             |

## Request body

| Field               | Type   | Required | Description |
| ------------------- | ------ | -------- | ----------- |
| `composing_user_id` | string |          |             |
| `parts`             | array  | Yes      |             |

## Responses

| Status | Description                                                                                                 |
| ------ | ----------------------------------------------------------------------------------------------------------- |
| 201    | Created sibling message                                                                                     |
| 400    | Bad request                                                                                                 |
| 401    | Unauthorized                                                                                                |
| 403    | Forbidden                                                                                                   |
| 404    | Not found                                                                                                   |
| 413    | Payload too large                                                                                           |
| 500    | Server error                                                                                                |
| 503    | internal: authentication state is temporarily unavailable and the request was not processed; retry shortly. |
