---
title: "Merge an open MR -- lands the source branch's snapshot as a new commit on the entry head"
method: POST
path: "/entries/{entryId}/merge-requests/{mrId}/merge"
tags: ["Branches"]
---

# Merge an open MR -- lands the source branch's snapshot as a new commit on the entry head

`POST /entries/{entryId}/merge-requests/{mrId}/merge`

## Request

- Base URL: `https://whatareyoudo.ing/api/v1`
- URL: `https://whatareyoudo.ing/api/v1/entries/{entryId}/merge-requests/{mrId}/merge`
- Auth: HTTP bearer

## Path parameters

- `entryId` string, uuid, required
- `mrId` string, uuid, required

## Response `200`

OK

- object
  - `data` object, required
    - `mergedCommitId` string, uuid, required
  - `meta` object, required
    - `requestId` string, required

## Other responses

- `422`: MR is already closed/merged

---

[API](https://skmtc.dev/whatareyoudo/apis/whatcha-api.md) · [All operations](https://skmtc.dev/whatareyoudo/apis/whatcha-api/llms.txt) · [OpenAPI document](https://skmtc.dev/whatareyoudo/apis/whatcha-api/revisions/48dd8a54abea?raw)
