User audit log
What the account's users did, so an owner can review activity across sub-users.
The audit log records what the account's users did, which is how an account owner reviews the activity of everyone added through the Access rights section.
It covers the current user and their sub-users, so a sub-user calling it sees only their own records.
Audit object
API actions
API base path: /user/audit/log.
Results can be sorted by:
actionaction_date, by date only, ignoring the timeaction_datetime, by date including the timeuser, by the sub-user's last, first, and middle name rather than by IDhost
Without a sort parameter, the result is sorted as though ["action_date=asc"] had been given.
Operations that list no errors of their own return only the general error codes.
Required sub-user rights: admin (available only to master users).
Return audit records for the current user and their sub-users. Requires the admin right.
Note that a request with an empty body reports interval as the missing required parameter. That is the internal field name; the public parameters are from and to, and both forms work.
Either a user session hash or an API key, with the "NVX " prefix, for example "NVX 22eac1c27af4be7b9d04da2ce1af111b". Obtain a session hash from the userAuth operation, or create an API key from the API keys operations. A small number of operations accept a session hash only and reject an API key with error code 4; each says so in its description.
Include records recorded at or after this date and time.
2026-08-24 09:00:00Include records recorded at or before this date and time.
2026-08-24 09:00:00Maximum number of records to return.
Number of records to skip.
Optional. Restrict to these sub-users.
Optional. Restrict to these action names.
Optional. Sort options, each a property and direction such as action_date=asc. Sortable properties are action, action_date, action_datetime, user, and host. Defaults to ["action_date=asc"].
Optional. How to group the log.
Matching audit records
true if request finished successfully.
trueBad request. The response body carries the API-level error code in status.code. Validation failures also include an errors array naming each offending parameter.
Operation not permitted, error code 13: the caller lacks the admin right.
Error response object
POST /v2/user/audit/log/list HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 149
{
"from": "2026-08-24 09:00:00",
"to": "2026-08-24 09:00:00",
"limit": 1,
"offset": 1,
"subuser_ids": [
1
],
"actions": [
"text"
],
"sort": [
"text"
],
"grouping": "user"
}{
"success": true,
"list": [
{
"id": 1,
"user_id": 1,
"subuser_id": 1,
"entry_category": "text",
"entry_id": null,
"action": "text",
"payload": null,
"host": "text",
"user_agent": "text",
"action_date": "text"
}
]
}Last updated
Was this helpful?