---
title: "Merge Ticket Route"
method: POST
path: "/api/cs/tickets/{ticket_id}/merge"
tags: ["customer_service"]
---

# Merge Ticket Route

`POST /api/cs/tickets/{ticket_id}/merge`

## Request

- Base URL: `https://api.pigeonly.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pigeonly.com/api/cs/tickets/{ticket_id}/merge`
- Auth: none declared

Merge this duplicate ticket into `into_ticket_id` for the same customer.

Closes the duplicate with `merged_into_ticket_id` set, ends any callback still
owed on it (outcome `merged`, not `gave_up`), and writes a private note on both
tickets. The quality review never scores a merged ticket. Gated like
`mark_not_a_ticket` (ticket-kind grant or assignee). Refusals are 409 with the
reason in one sentence; an unknown id is 404.

## Path parameters

- `ticket_id` string, uuid, required

## Request body

- MergeTicketRequest: ISS-4078 slice 1 (owner's complaint via Mark Macaballug, 2026-11-03 to 11-08): the main ticket the duplicate is merged into. The duplicate is the path id. Same customer or refused; see customer_service/ticket_merge.py.
  - `into_ticket_id` string, uuid, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-14** `1e0e00227afe`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/changes/api/cs/tickets/:ticket_id/merge/post.md)

---

[API](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os.md) - [All operations](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/llms.txt) - [OpenAPI document](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/revisions/14571c4b7007?raw)
