This schema describes objects returned by the Audit Log endpoints.
Fields
| Field | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | Yes | Read-only |
timestamp | string (date-time) | Yes | When the activity occurred (read-only) |
organization_id | string (uuid) | Yes | Organization ID associated with the activity (read-only) |
activity_type | number | Yes | Type of activity performed. Possible values: 1 (User login), 2 (Lead deletion), 3 (Campaign deletion), 4 (Campaign launch), 5 (Campaign pause), 6 (Account addition), 7 (Account deletion), 8 (Lead moved), 9 (Lead added), 10 (Lead merged), 11 (Campaign update), 12 (Subsequence update), 18 (Webhook created), 19 (Webhook updated), 20 (Webhook marked as error), 21 (Webhook resumed) (read-only) |
user_agent | string, nullable | No | User agent of the client that performed the activity (read-only) |
user_id | string (uuid), nullable | No | ID of the user who performed the activity (read-only) |
ip_address | string | Yes | IP address from which the activity was performed (read-only) |
from_api | boolean | Yes | Whether the activity was performed via API (read-only) |
affected_count | number, nullable | No | Number of items affected by the activity (read-only) |
campaign_id | string (uuid), nullable | No | Associated campaign ID if applicable (read-only) |
webhook_id | string (uuid), nullable | No | Associated webhook ID if applicable (read-only) |
subsequence_id | string (uuid), nullable | No | Associated subsequence ID if applicable (read-only) |
list_id | string (uuid), nullable | No | Associated list ID if applicable (read-only) |
audit_metadata | object | No | Metadata about the audit log (read-only) |
user_name | string, nullable | No | Name of the user who performed the activity (read-only) |