Page through the audit log
const url = 'https://digize.com/api/v1/audit/page';const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://digize.com/api/v1/audit/page \ --header 'x-api-key: <x-api-key>'A page of the last 60 days of changes, the newest first, narrowed by area (category), by who did it (a member’s user id, which also finds the agent and Digize staff acting as them, or kind:api_key, kind:system and the like), by dates, or by words in what happened. Pass nextCursor back as cursor for the next page.
Needs the settings:read permission.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”The nextCursor of the page before. Leave it out for the first page.
The nextCursor of the page before. Leave it out for the first page.
Rows on the page: 50 unless it says, 100 at most.
Rows on the page: 50 unless it says, 100 at most.
Responses
Section titled “Responses”Done
object
object
object
object
Pass it as cursor for the next page; null on the last.
Example
{ "rows": [ { "actor": { "kind": "member" } } ]}What was sent isn’t valid (invalid).
object
object
object
Example
{ "error": { "code": "invalid" }}No key, or one that’s unknown, off or expired.
object
object
object
Example
{ "error": { "code": "invalid" }}The key doesn’t have the permission this needs.
object
object
object
Example
{ "error": { "code": "invalid" }}Nothing has that id (not_found).
object
object
object
Example
{ "error": { "code": "invalid" }}Over the rate limit; see retry-after.
object
object
object
Example
{ "error": { "code": "invalid" }}