---
title: "Gets audit events for the account."
method: GET
path: "/account/auditevents"
tags: ["Account"]
---

# Gets audit events for the account.

`GET /account/auditevents`

<b>Authorization:</b> This endpoint requires the user to be an account owner.

## Query parameters

- `userId` string
- `eventType` string
- `httpMethod` string
- `controllerName` string
- `actionName` string
- `startDate` string, date-time
- `endDate` string, date-time
- `ipAddress` string
- `responseCode` string
- `limit` integer
- `page` integer

## Response `200`

Returns list of audit events

- AuditEvent[] — Collection of audit events
  - `event_id` integer — The unique event identifier
  - `timestamp` string, date-time — The date and time the event was recorded
  - `event_type` string, nullable — The type of event (e.g., API call, login, etc.)
  - `user_id` string, nullable — The user ID associated with the event (encrypted)
  - `user_name` string, nullable — The name of the user associated with the event
  - `account_id` string, nullable — The account ID associated with the event (encrypted)
  - `ip_address` string, nullable — The IP address of the client
  - `remote_ip_address` string, nullable — The remote IP address
  - `user_agent` string, nullable — The user agent string of the client
  - `response_code` string, nullable — The HTTP response code
  - `duration` string, nullable — The duration of the request
  - `http_method` string, nullable — The HTTP method used (GET, POST, PUT, DELETE, etc.)
  - `controller_name` string, nullable — The name of the controller that handled the request
  - `action_name` string, nullable — The name of the action that was executed
  - `app_id` string, nullable — The application identifier
  - `geo_location` string, nullable — The geographic location information

## Other responses

- `400` — If the account API key is invalid
- `403` — If the user is not an account owner

---

[API](https://skmtc.net/reveldigital/apis/revel-digital-rest-api.md) · [All operations](https://skmtc.net/reveldigital/apis/revel-digital-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/reveldigital/revel-digital-rest-api/revisions/f23a94aea621/schema)
