API Script to automatic download the latest version of properties

Hello everyone,

I need to write a calling API script to execute the task as described below:

Every time, the latest source property of any contact_id is updated with a new value, it will trigger the calling script run to get all of the columns’ values below.

  • Contact_id: contact id’s latest source which has just been updated
  • Value: the only newest value of the latest source property
  • Source_type: source’s type which updates the latest source property’s value
  • Source_id: source if of source type
  • Timestamp: timestamp of the newest value of the latest source property is updated

I read the Hubspot API guideline here: https://legacydocs.hubspot.com/docs/methods/contacts/get_recently_updated_contacts

According to the guidelines, the script I need seems to be impossible to execute. Is that true?

  • If it’s not true, is there any place I can find the guidelines to accomplish our task?
  • If it’s true, is there any alternative solution?

Happy new year,

Meoquytoc.

Hi, @meoquytoc :waving_hand: Thanks for the question. Have you looked into the Webhooks API? Additionally, the Search API may be a place to investigate, as you can use the search operators + set which properties are returned. Hey, @Mike_Eastwood @nikodev have you tackled anything similar?

Thank you for taking a look! — Jaycee