List audit logs
List audit logs
GET https://api.complycube.com/v1/auditLogs
This endpoint allows you to list all audit logs. The audit logs are returned sorted by creation date, with the most recent audit log appearing first.
Query Parameters
Name
Type
Description
<pagination>
string
The number of items to return and the number of pages to offset.
<filtering>
string
Filters the results.
Headers
Name
Type
Description
Authorization
string
The live or sandbox audit.
{
"page": 1,
"pageSize": 100,
"totalItems": 2,
"pages": 1,
"items": [
{
"id": "5f2acdcebbddb422f9b60e7b",
"memberId": "VNARgK33nMASdJKdi",
"resourceType": "client",
"resourceId": "5f2aca5fbbddb422f9b60e79",
"clientId": "5f2aca5fbbddb422f9b60e79",
"trigger": "updateClient",
"action": "update",
"createdAt": "2020-01-01T15:18:38.347Z"
},
{
"id": "5f2aca60bbddb422f9b60e7a",
"resourceType": "client",
"resourceId": "5f2aca5fbbddb422f9b60e79",
"clientId": "5f2aca5fbbddb422f9b60e79",
"trigger": "createClient",
"action": "create",
"createdAt": "2020-01-01T15:04:00.127Z"
}
]
}Example request
curl -X GET https://api.complycube.com/v1/auditLogs \
-H 'Authorization: <YOUR_API_KEY>'const { ComplyCube } = require("@complycube/api");
const complycube = new ComplyCube({ apiKey: "<YOUR_API_KEY>" });
const auditLogs = await complycube.auditLog.list();from complycube import ComplyCubeClient
cc_api = ComplyCubeClient(api_key='<YOUR API KEY>')
logs = cc_api.auditlogs.list()use ComplyCube\ComplyCubeClient;
$ccapi = new ComplyCubeClient('<YOUR API KEY>');
$client = $ccapi->auditLogs()->list();Last updated
Was this helpful?