I have been trying to use API v4 with associations to get an export of all companies with their owner_id.
I wasn’t able to do this, so another member provided me with the following curl:
crm/v3/objects/companies?limit=10&properties=hubspot_owner_id&archived=false
While this works, I’m getting issues with the max limiet of 100 companies.
I either need to use pagination and then use offset to go over the next 100 companies and so on…
Is there an option to do a get_all for one time with owner_id?
Additional question: after I get the first dataload, I want to limit my API calls and just do a daily http call where I check for “UpdatedAt” where it should be the date of yesterday. Is it possible in the API call to use UpdatedAt as a parameter and define the date that it should be?
EDIT: Regarding my last question, i could use filters and then use propertyname updatedat and operator BETWEEN. So this part is sorted ![]()