APIs & Integrations

chriz
参加者

Get recent companies

解決

Hi,

 

for the recent contacts, there's one endpoint that will return the recent updated OR created contacts. 
See https://developers.hubspot.com/docs/methods/contacts/get_recently_updated_contacts

 

I need exactly this for the companies. The api-documentation for the companies however only says "recently modified companies".
See https://developers.hubspot.com/docs/methods/companies/get_companies_modified

What does this mean? Does this mean I'll get the same result as for the modifieds contacts (updates OR created) or does this mean I only get the recent updated companies?

 

To be clear, I need an endpoint which returns the recent updated AND created companies.

0 いいね!
2件の承認済みベストアンサー
chriz
解決策
参加者

Get recent companies

解決

Ooook, I found it out by myself. it is returning indeed created and modified companies. I'd like to request to make this more clear in the docu pretty plz...

元の投稿で解決策を見る

IsaacTakushi
解決策
HubSpot Employee
HubSpot Employee

Get recent companies

解決

Hi, @chriz.

 

Thanks for your feedback! I've updated the endpoint's documentation.

 

To be transparent, these APIs were designed by different teams. We are working hard to make all of HubSpot's APIs more consistent going forward!

Isaac Takushi

Associate Certification Manager

元の投稿で解決策を見る

0 いいね!
3件の返信
chriz
解決策
参加者

Get recent companies

解決

Ooook, I found it out by myself. it is returning indeed created and modified companies. I'd like to request to make this more clear in the docu pretty plz...

chriz
参加者

Get recent companies

解決

One last comment on this.

I've seen this on quite a few different apis. Recent contacts and recent companies basically share the same idea, but it seems like this is developed by a complete different group of people. The params used for the different apis are named different, the function is slightly different... I mean honestly it is doing the same thing but instead of returning contacts, it is returning companies. Why not using the same parameters, same name...

 

To me it seems like each api is created by a different person...

0 いいね!
IsaacTakushi
解決策
HubSpot Employee
HubSpot Employee

Get recent companies

解決

Hi, @chriz.

 

Thanks for your feedback! I've updated the endpoint's documentation.

 

To be transparent, these APIs were designed by different teams. We are working hard to make all of HubSpot's APIs more consistent going forward!

Isaac Takushi

Associate Certification Manager
0 いいね!