Skip to content

Get contact merge history

Request

Retrieve the paginated list of contacts that have been merged into a given contact.

Only available for contacts with a user role. Returns a 404 if the contact is not found or has a lead role.

Security
bearerAuth
Path
idstringrequired

The id of the contact to fetch merge history for.

Example:63a07ddf05a32042dffac965
Query
cursorstring

A cursor for pagination. Pass the next_cursor value from a previous response to fetch the next page.

per_pageinteger, [ 1 .. 150 ]

The number of results to return per page (default 50, max 150).

Default:50
orderstring

The order to return results in. Defaults to descending.

Enum:"asc""desc"
Headers
Intercom-Versionstring(intercom_version)

Intercom API version.
By default, it's equal to the version set in the app package.

Default:"Preview"
Enum:"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example:Preview
curl -i -X GET \
  'https://api.intercom.io/contacts/63a07ddf05a32042dffac965/merge_history?cursor=string&per_page=50&order=asc' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Intercom-Version: Preview'

Responses

successful

Bodyapplication/json
typestring

The type of object.

Value:"list"
Example:"list"
dataArray of objects(Merge History Item)

An array of merge history entries.

next_cursorstring or null

A cursor to pass as the cursor query parameter to fetch the next page of results. Absent when there are no more pages.

Example:"WyIxNjM0NTY3ODkwIl0"
has_moreboolean

Whether there are more results to fetch.

Example:false
Response
{ "type": "list", "data": [ {} ], "next_cursor": "eyJpZCI6IjYyMzQ1NiJ9", "has_more": true }