---
title: "Approve & merge the session's open PR on GitHub (repo's own merge method)"
method: POST
path: "/missions/{issueId}/merge"
tags: ["missions"]
---

# Approve & merge the session's open PR on GitHub (repo's own merge method)

`POST /missions/{issueId}/merge`

## Request

- Base URL: `https://api.letsship.ai/v1`
- URL: `https://api.letsship.ai/v1/missions/{issueId}/merge`
- Auth: none declared

## Path parameters

- `issueId` string, required

## Response `200`

Merged

- MergeMissionResponse
  - `ok` boolean, required
  - `issueId` string, required
  - `status` 'merged' | 'updating_branch', required
  - `message` string

## Other responses

- `202`: PR branch is behind its base — updating it; SHIP merges once CI passes
- `403`: Insufficient role or scope
- `404`: Not found
- `409`: Not mergeable / merge conflict
- `502`: GitHub error

---

[API](https://skmtc.dev/letsship/apis/ship-api.md) · [All operations](https://skmtc.dev/letsship/apis/ship-api/llms.txt) · [OpenAPI document](https://skmtc.dev/letsship/apis/ship-api/revisions/e6eac1bcadd4?raw)
