---
title: "Merge two tickets"
method: POST
path: "/crm/objects/2026-03/tickets/merge"
tags: ["Advanced"]
---

# Merge two tickets

`POST /crm/objects/2026-03/tickets/merge`

## Request

- Base URL: `https://api.hubapi.com`
- URL: `https://api.hubapi.com/crm/objects/2026-03/tickets/merge`
- Auth: one of:
  - HTTP bearer
  - API key in query parameter `hapikey`
  - none

Merge two tickets, combining them into one ticket record.

## Request body

- CrmObjectsPublicMergeInput: Input data for merging two records.
  - `objectIdToMerge` string, required: The ID of the company to merge into the primary.
  - `primaryObjectId` string, required: The ID of the primary company, which the other will merge into.

## Response `200`

successful operation

- CrmSimplePublicObject: A simple public object.
  - `archived` boolean, required: Whether the object is archived.
  - `archivedAt` string, date-time: The timestamp when the object was archived, in ISO 8601 format.
  - `createdAt` string, date-time, required: The timestamp when the object was created, in ISO 8601 format.
  - `id` string, required: The unique ID of the object.
  - `objectWriteTraceId` string: An identifier used for tracing the write request for the object.
  - `properties` object, required: Key-value pairs representing the properties of the object.
  - `propertiesWithHistory` object: Key-value pairs representing the properties of the object along with their history.
  - `updatedAt` string, date-time, required: The timestamp when the object was last updated, in ISO 8601 format.
  - `url` string: The URL associated with the object.

## Other responses

- `default`: An error occurred.

## Changes

> 14 revisions in range; 1 not diffed, 2 could not be searched.

- **2026-04-08** `b0d8bc008db9`: 1 info
  - api operation id `post-/crm/objects/2026-03/tickets/merge_merge` removed and replaced with `post-/crm/objects/2026-03/tickets/merge`
- **2026-03-30** `dc2fdad57f7f`: 1 info
  - api operation id `post-/crm/objects/2026-03/tickets/merge_/crm/objects/2026-03/tickets/merge` removed and replaced with `post-/crm/objects/2026-03/tickets/merge_merge`
- **2026-03-25** `62586336cea2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/hubspot/apis/hubspot-api-specification/changes/crm/objects/2026-03/tickets/merge/post.md)

---

[API](https://skmtc.dev/hubspot/apis/hubspot-api-specification.md) - [All operations](https://skmtc.dev/hubspot/apis/hubspot-api-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/hubspot/apis/hubspot-api-specification/revisions/f9c7181056c5?raw)
