curl --request POST \
--url https://api.hubapi.com/cms/audit-logs/2026-03/export \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "<string>",
"format": "CSV",
"portalId": 123,
"recipientUserIds": [
123
],
"shouldMarkExportFileAsSensitive": true,
"type": "<string>",
"filters": {
"objectType": [
"<string>"
]
},
"partition": 123,
"userId": 123,
"userTimeZone": "<string>"
}
'This response has no body data.curl --request POST \
--url https://api.hubapi.com/cms/audit-logs/2026-03/export \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "<string>",
"format": "CSV",
"portalId": 123,
"recipientUserIds": [
123
],
"shouldMarkExportFileAsSensitive": true,
"type": "<string>",
"filters": {
"objectType": [
"<string>"
]
},
"partition": 123,
"userId": 123,
"userTimeZone": "<string>"
}
'This response has no body data.Supported products
Required Scopes
The access token received from the authorization server in the OAuth 2.0 flow.
CSV, XLS, XLSX Show child attributes
Was this page helpful?