Get Audit Events

GET https://{{et_subdomain}}.rest.marketingcloudapis.com/data/v1/audit/auditEvents?$orderBy=createdDate desc

https://developer.salesforce.com/docs/atlas.en-us.mc-apis.meta/mc-apis/getAuditEvents.htm

Retrieves logged Audit Trail audit events for the current account and its children. Logins are audited at the enterprise level.

Request Params

KeyDatatypeRequiredDescription
$orderBystring

RESPONSES

status: OK

{"page":1,"pageSize":50,"count":3,"items":[{"id":5045,"createdDate":"2019-07-24T12:41:36.063","memberId":1447640,"enterpriseId":1447640,"employee":{"id":1645425,"employeeName":"Marketer","userName":"la-postmandemo"},"objectType":{"id":2101,"name":"MemberEmployee"},"operation":{"id":2,"name":"Update"},"object":{"id":"1645425","name":"Marketer"},"transactionId":"6b973fc2-faaa-49de-8277-4eb773e129b1"},{"id":4623,"createdDate":"2019-07-17T13:33:48.74","memberId":1447640,"enterpriseId":1447640,"employee":{"id":1000067,"employeeName":"Business Automation Account","userName":"BusinessAutomation2"},"objectType":{"id":2103,"name":"Member"},"operation":{"id":2,"name":"Update"},"object":{"id":"1447640","name":"Experts Admin"},"transactionId":"956c59ae-e375-4c27-a91c-c26e8c8f6d13"},{"id":3965,"createdDate":"2019-07-10T12:30:47.683","memberId":1447640,"enterpriseId":1447640,"employee":{"id":1645425,"employeeName":"Marketer","userName":"la-postmandemo"},"objectType":{"id":2102,"name":"SecuritySettings"},"operation":{"id":2,"name":"Update"},"object":{},"transactionId":"d594431f-b946-47a9-98ae-8a9c010014f0"}]}