Skip to main content
POST
Merge services

Supported products

Autorizaciones

Authorization
string
header
requerido

The access token received from the authorization server in the OAuth 2.0 flow.

FlowAuthorization Code
Authorization URL
https://app.hubspot.com/oauth/authorize
Token URL
https://api.hubapi.com/oauth/v1/token
Scopes1
crm.objects.services.write

Cuerpo

application/json

Input data for merging two records.

objectIdToMerge
string
requerido

The ID of the object that will be merged into the primary object.

primaryObjectId
string
requerido

The ID of the object that will remain as the primary object after the merge.

Respuesta

successful operation

A simple public object.

archived
boolean
requerido

Whether the object is archived.

createdAt
string<date-time>
requerido

The timestamp when the object was created, in ISO 8601 format.

id
string
requerido

The unique ID of the object.

properties
object
requerido

Key-value pairs representing the properties of the object.

updatedAt
string<date-time>
requerido

The timestamp when the object was last updated, in ISO 8601 format.

archivedAt
string<date-time>

The timestamp when the object was archived, in ISO 8601 format.

objectWriteTraceId
string

An identifier used to trace the creation or update request of the object.

propertiesWithHistory
object

Key-value pairs representing the properties of the object along with their history.

url
string

The URL associated with the object.

warnings
object[]
Última modificación el 6 de octubre de 2026