APIs & Integrations

Not applicable

Log events API returns empty "objects" array

hi,

Can you please provide a working link to get eventlogs with objects array populated.
I tried different combinations of filters on workflows from our prod environment, which have enrolled contacts .
But “objects” always empty array.

I also tried example from https://developers.hubspot.com/docs/methods/workflows/log_events
used PUT request
with body:
{
“vid”: 34,
“types”: [
“ENROLLED”,
“COMPLETED_WORKFLOW”
]
}
and url:
https://api.hubapi.com/automation/v3/logevents/workflows/10900/filter?hapikey=demo

In response
objects fields always empty:
{
“objects”: [],
“limit”: 1490780007526,
“offset”: null,
“size”: 0,
“hasMore”: false
}

Do you have any ideas whtat is wrong ?

0 Upvotes
1 Reply 1
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

Log events API returns empty "objects" array

Hi @MikeKozlov,

I recently responded on your other forum topic. Mind checking out my response there and seeing if that answers your question?

0 Upvotes