Audit log

When records are created, updated or deleted within your account, an audit log is created. Use the audit log API to retrieve the last 30 days worth of data corresponding to changes within your account.

List audit logs

Returns a list of audit logs.

Request
query Parameters
q
string <string>

Filter by any audit log value.

Example: q=audit_table:staff;sp_member,user_name:john@example.com,audit_timestamp>2022-05-01
limit
integer <int32>

Limits the amount of records to return (maxiumum 5000).

Example: limit=10
Responses
200

List of audit logs

403

Access denied to this resource

404

Resource not found

get/audit
Request samples
curl -i -X GET \
  'https://api.whosonlocation.com/v1/audit?q=string&limit=0'
Response samples
[
  • {
    }
]

Retrieve available audit settings

Retrieves an audit settings object.

Responses
200

Audit settings

403

Access denied to resource

404

Resource not found

500

Internal server error

get/audit/settings
Request samples
curl -i -X GET \
  https://api.whosonlocation.com/v1/audit/settings