APIs & Integrations

chriswalker
Participant

Determine source of update of contact

SOLVE

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!

0 Upvotes
1 Accepted solution
chriswalker
Solution
Participant

Determine source of update of contact

SOLVE

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").

View solution in original post

1 Reply 1
chriswalker
Solution
Participant

Determine source of update of contact

SOLVE

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").