Hi all,
We have an app that has the account-info.security.read permission. We can then make requests to the audit log to get various security events we are interested in monitoring. One particularly important event is EXPORT_DOWNLOAD.
This works fine, except the data around that event is very minimal:
{
"id": "123",
"createdAt": "2025-08-14T07:35:50.409Z",
"userId": 456,
"type": "EXPORT_DOWNLOAD",
"actingUser": "
fake@fake.com",
"objectId": "789",
"infoUrl": "
app.hubspot.com/sales-products-settings/abc/importexport",
"location": null,
"ipAddress": "bla bla bla",
"countryCode": "fr",
"regionCode": "ges"
}
In Hubspot's UI, I can see a table of exports with a name (eg "list of contacts"), the source (say, contacts), and the number of records exported.
But in the API, I get none of that. I thought we could solve this by then using the endpoint for the CRM export data here:
https://developers.hubspot.com/docs/guides/api/crm/exports#retrieve-exportsHowever, this doesn't work. It only lets me see exports that my app initiated (which is none). The app needs access to this information to make the audit log useful for security purposes.
How can I get that info via the API?
Thanks!