APIs & Integrations

kevin_rand
Participant

Companies recently created results

SOLVE

Hi, I just want to ask about the endpoint which get the recently created companies, does this returns all the properties of the companies (which exist / which has a value) or just the default? If not, how could we get all those properties?

0 Upvotes
1 Accepted solution
Willson
Solution
HubSpot Employee
HubSpot Employee

Companies recently created results

SOLVE

Hi @kevin_rand 

 

The Get Recent Companies endpoint should return all properties where a value exists against the records returned. 

 

An example of this snippet returned can be found in the documentation itself, see here:

https://api.hubapi.com/companies/v2/companies/recent/modified?hapikey=demo

It's worth noting too that this endpoint will only return records modified or created in the last 30 days, or the 10K most recently modified and created records.  If you need to get all of your companies, please use this endpoint.

 

I hope this helps!

Product Manager @ HubSpot

View solution in original post

2 Replies 2
Willson
Solution
HubSpot Employee
HubSpot Employee

Companies recently created results

SOLVE

Hi @kevin_rand 

 

The Get Recent Companies endpoint should return all properties where a value exists against the records returned. 

 

An example of this snippet returned can be found in the documentation itself, see here:

https://api.hubapi.com/companies/v2/companies/recent/modified?hapikey=demo

It's worth noting too that this endpoint will only return records modified or created in the last 30 days, or the 10K most recently modified and created records.  If you need to get all of your companies, please use this endpoint.

 

I hope this helps!

Product Manager @ HubSpot
kevin_rand
Participant

Companies recently created results

SOLVE

@Willson Thanks a lot