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.
Request
- Base URLhttps://yourbaseurl.talon.one
- Auth
- API key in header Authorization
- or API key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
The number of items in the response.
The number of items to skip when paging through large result sets.
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.
Filter results by Application ID.
Filter results on a case insensitive matching of the url path of the entity
Filter results by user ID.
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.
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.
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.
Filter results that match the given management key ID.
When this flag is set to false, the state without the change will not be returned. The default value is true.
Response
OK
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.