Logs

Get audit logs for an account

[!note] Management API endpoints are not meant to be used in real-time integrations that directly serve your end users. Rate limit: 3 requests per second.

Retrieve the audit logs displayed in Accounts > Audit logs.

get/v1/changes

Request

Query parameters

pageSizeinteger

The number of items in the response.

skipinteger

The number of items to skip when paging through large result sets.

sortstring

The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with -.

Note: You may not be able to use all fields for sorting. This is due to performance limitations.

applicationIdnumber

Filter results by Application ID.

entityPathstring

Filter results on a case insensitive matching of the url path of the entity

userIdinteger

Filter results by user ID.

createdBeforestring date-time

Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the change creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.

createdAfterstring date-time

Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the change creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.

withTotalResultSizeboolean

When this flag is set, the result includes the total number of results for this query. This might decrease performance on large data sets.

  • When true: totalResultSize contains the total number of results for this query.
  • When false: Only hasMore is returned, and it is set to true when there are more results than shown on the page.
managementKeyIdinteger

Filter results that match the given management key ID.

includeOldboolean

When this flag is set to false, the state without the change will not be returned. The default value is true.

Response

OK

totalResultSizeinteger
hasMoreboolean

Example response

{
  "totalResultSize": 1,
  "data": [
    {
      "id": 6,
      "created": "2020-06-10T09:05:27.993483Z",
      "userId": 388,
      "applicationId": 359,
      "entity": "/v1/applications/359/campaigns/6727",
      "old": {},
      "new": {
        "applicationId\"": 359,
        "attributes\"": {},
        "campaignGroups\"": [],
        "created\"": "2022-07-08T13:04:02.972762328Z",
        "description\"": "",
        "features\"": [
          "referrals",
          "loyalty"
        ],
        "id": 6727
      },
      "managementKeyId": 3
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.