GET /data/v1/audit/auditEvents

Overview

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

URL Parameters

NameTypeDescription
$pagenumberPage number to return from the paged results. Start with 1 and continue until you get zero results. Typically provided along with the $pagesize parameter. The default is 1.
$pagesizenumberNumber of results per page to return. Typically provided along with the $page parameter.
$orderBystringDetermines which property to use for sorting and the direction in which to sort the data. If you don't provide the $orderBy parameter, the results are sorted by createdDate in ascending order.
startdatestringStart date of the date range to search for security events. If you don't provide a start date, the default value is today minus 30 days. The startdate must be before the enddate.
enddatestringEnd date of the date range to search for security events. If you don't provide an end date, the default is today. The enddate must be after the startdate.

Usage

Required Marketing Cloud Permissions

  • Permission: Audit Logging | API Access
  • Scope: Data | Tracking Event | Read

Example Request

Example Response