---
title: "Gets a single audit event by ID."
method: GET
path: "/account/auditevents/{eventId}"
tags: ["Account"]
---

# Gets a single audit event by ID.

`GET /account/auditevents/{eventId}`

## Request

- Base URL: `https://api.reveldigital.com`
- URL: `https://api.reveldigital.com/account/auditevents/{eventId}`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://id.reveldigital.com/connect/authorize`
    - Token URL: `https://id.reveldigital.com/connect/token` scopes: `webapi`
  - API key in header `X-RevelDigital-ApiKey`
  - API key in query parameter `api_key`
- TypeScript: <https://skmtc.dev/reveldigital/apis/revel-digital-rest-api/docs/account/auditevents/:eventId/get.ts> (a function with typed inputs; its response is checked against the schema)

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

## Path parameters

- `eventId` integer, required

## Response `200`

Returns audit event details

- AuditEvent: Audit event model representing account activity
  - `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
- `404`: If the audit event is not found

---

[API](https://skmtc.dev/reveldigital/apis/revel-digital-rest-api.md) - [All operations](https://skmtc.dev/reveldigital/apis/revel-digital-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/reveldigital/apis/revel-digital-rest-api/revisions/39d5c8302822?raw)
