Hello,
I tried to create contact using HubSpot API. When I specified the value of the latest source property (hs_latest_source) as “PAID_SEARCH”, the lead was created, but the latest source showed as “OFFLINE”. But when I tried to update the latest source (through HubSpot API) of the existing lead to “PAID_SEARCH”, it worked.
I am not sure why the latest source was not updating for new leads. I also didn’t find any proper documentation for this. If someone can guide me to solve this problem, then that would be great!
Thank you
Hey, @Sanjay_Gowdru
Thanks for your question. And welcome to our community!
I understand that this might not be the answer you were hoping for, and I don’t want you to invest time looking for a solution that doesn’t exist.
The hs_latest_source property is automatically set by HubSpot based on the most recent known source through which a contact interacted with your business. This value cannot be manually set during initial contact creation.
However, after the contact has been created, you can manually update the hs_latest_source value as you have observed. This isn’t explicitly called out in the dev docs that I can find, and I added the two knowledge base articles that address this behaviour.
Sources:
Best,
Jaycee