Incorrect Events API
Jun 3, 2020 7:36 AM - edited Jun 3, 2020 9:06 AM
I am using the v3 Events API and I met several problems:
- I sent `GET/events/v3/events` request with query `?objectType=contact&objectId=number` to get events data for contacts. However, I need to make an API call for each objectId. And we have around 335950 different contacts in the database, which means I need to make 335950 API calls to get all events data. It will probably take days to finish. Is there any efficient way to get all data I want? Maybe query multiple object ids at the same time?
- `events/v3/events` endpoint sometimes does not return all data (also no pagination), if I don't specify `limit` parameter.
- The documentation is incorrect. In the page https://developers.hubspot.com/docs/api/events/web-analytics, it says "occurredAt is the only field supported for sorting.". However, only a single sort field 'occurredTimestamp' is supported.4. when sort parameter is used, it does not return`e_submitted_form` event type,