APIs & Integrations

chriz
Participant

Get recent companies

Résolue

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 Votes
2 Solutions acceptées
chriz
Solution
Participant

Get recent companies

Résolue

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

Voir la solution dans l'envoi d'origine

IsaacTakushi
Solution
HubSpot Employee
HubSpot Employee

Get recent companies

Résolue

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

Voir la solution dans l'envoi d'origine

0 Votes
3 Réponses
chriz
Solution
Participant

Get recent companies

Résolue

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
Participant

Get recent companies

Résolue

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 Votes
IsaacTakushi
Solution
HubSpot Employee
HubSpot Employee

Get recent companies

Résolue

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 Votes