Detect when company is merged

I was trying to figure out the best way to detect when a company (or contact) is merged using APIs or Webhooks.
Option #1: includeMergeAudits
I found that I can add “?includeMergeAudits=True” query in the GET API, but this would detect all data, without the possibility to filter by lastModifiedDate, so I tried option #2 => using Search API
Option #2: use search API and read for hs_merged_object_ids
If I read the property “hs_merged_object_ids” of a company, I can see any other companies that it has been merged with. This could work, but I’d have to read all the merged objects from there whenever a company is modified, so I’d have to check every time if there’s a new one. I only need this information when the merge occurs, so I’m considering using webhooks. option #3
Option #3: Receive “hs_merged_object_ids” from webhook (property changed)
This solution doesn’t work, I don’t know if this happens because this property is neither provided by the Hubspot properties list in the webhook form nor a custom property.

Is there something I am missing? Is option #2 the only one available for my case?

Thank you in advance

Hi @mmaddiona

Thank you for reaching out.

I want to tag some of our experts here - @Mike_Eastwood @Teun @tominal do you have some suggestions for @mmaddiona on this?

Thank you!

Best

Tiphaine

Hey @mmaddiona,

Are workflows available to you at all? I am wondering if there is a solution hidden in those. If not, option 2 sounds like the best route to me. Something would need to ping your records looking for changes.

Hope that helps!

Thank you for the answer.

I don’t know what I could do with workflows.

If solution 2 is the only one available it would introduce a lot of checks on any new synchronization. I would prefer to avoid this

Any other?