Determine source of update of contact


#1

I'm using this endpoint to determine recently updated contacts:

https://api.hubapi.com/contacts/v1/lists/recently_updated/contacts/recent

The data is coming in just fine, however there's a problem with deciphering the "source" of the update. The "latest company" endpoint contains this information but it doesn't seem that this information is coming back for the recently updated contacts.

This would be very helpful for our implementation.

Thanks!


#2

I figured out the answer to this. I added the propertyMode parameter to value_and_history so it brought back all versions. I grab the most recent version to see if it was updated by my sync script ("INTEGRATION") or updated in Hubspot by one of our sales reps (not "INTEGRATION").