---
title: "Gets event logs for the account."
method: GET
path: "/adhawk/eventlogs"
tags: ["AdHawk"]
---

# Gets event logs for the account.

`GET /adhawk/eventlogs`

## Request

- Base URL: `https://api.reveldigital.com`
- URL: `https://api.reveldigital.com/adhawk/eventlogs`
- 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/adhawk/eventlogs/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `startDate` string, date-time
- `endDate` string, date-time
- `deviceId` string[]
- `eventName` string[]
- `sessionId` string
- `limit` integer

## Response `200`

OK

- AdHawkEventLog[]
  - `id` string, nullable: Unique identifier for this event log entry
  - `timestamp` string, date-time: Timestamp when the event occurred
  - `device_id` string, nullable: The device ID where the event occurred
  - `session_id` string, nullable: Session identifier for grouping related events
  - `event_name` string, nullable: Name of the event (e.g., "button_click", "page_view")
  - `properties` object, nullable: Additional properties associated with the event as key-value pairs
  - `utc_offset` integer, nullable: UTC offset of the device at the time of the event

---

[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)
