---
title: "List audit log"
method: GET
path: "/api/v2/audit-logs"
tags: ["AuditLog"]
---

# List audit log

`GET /api/v2/audit-logs`

Requires one of the following scopes: `audit_logs:read`, `audit_logs:all`, `all:read`, `all:all`

## Query parameters

- `limit` integer
- `starting_after` string
- `activity_type` number
- `search` string
- `start_date` string
- `end_date` string

## Response `200`

The list of Audit Log

- object
  - `items` AuditLog[], required — The list of Audit Log
    - `id` string, uuid, required
    - `timestamp` string, date-time, required — When the activity occurred
    - `organization_id` string, uuid, required — Organization ID associated with the activity
    - `activity_type` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38, required — Type of activity performed
    - `user_agent` string, nullable — User agent of the client that performed the activity
    - `user_id` string, uuid, nullable — ID of the user who performed the activity
    - `ip_address` string, required — IP address from which the activity was performed
    - `from_api` boolean, required — Whether the activity was performed via API
    - `api_key_id` string, uuid, nullable — API key ID that performed the activity, when available
    - `affected_count` number, nullable — Number of items affected by the activity
    - `campaign_id` string, uuid, nullable — Associated campaign ID if applicable
    - `webhook_id` string, uuid, nullable — Associated webhook ID if applicable
    - `subsequence_id` string, uuid, nullable — Associated subsequence ID if applicable
    - `list_id` string, uuid, nullable — Associated list ID if applicable
    - `audit_metadata` object — Sanitized metadata about the audit log
    - `user_name` string, nullable — Name of the user who performed the activity
  - `next_starting_after` string — The filter for getting the next items after this one, this could either be a UUID, a timestamp, on an email depending on the specific API

## Other responses

- `401` — This request is unauthorized (either the Authorization header is missing or invalid, or the API key has been revoked)
- `402` — This request cannot be fulfilled because the workspace does not have an active paid plan
- `404` — The requested resource was not found
- `429` — You have exceeded the rate limit. Please check the rate limit docs for more information.

---

[API](https://skmtc.net/instantly/apis/api-explorer.md) · [All operations](https://skmtc.net/instantly/apis/api-explorer/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/instantly/api-explorer/revisions/378d1e253fe7/schema)
