Skip to main content
This schema describes objects returned by the Audit Log endpoints.
Audit log records for tracking system activities

Fields

FieldTypeRequiredDescription
idstring (uuid)YesRead-only
timestampstring (date-time)YesWhen the activity occurred (read-only)
organization_idstring (uuid)YesOrganization ID associated with the activity (read-only)
activity_typenumberYesType 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_agentstring, nullableNoUser agent of the client that performed the activity (read-only)
user_idstring (uuid), nullableNoID of the user who performed the activity (read-only)
ip_addressstringYesIP address from which the activity was performed (read-only)
from_apibooleanYesWhether the activity was performed via API (read-only)
affected_countnumber, nullableNoNumber of items affected by the activity (read-only)
campaign_idstring (uuid), nullableNoAssociated campaign ID if applicable (read-only)
webhook_idstring (uuid), nullableNoAssociated webhook ID if applicable (read-only)
subsequence_idstring (uuid), nullableNoAssociated subsequence ID if applicable (read-only)
list_idstring (uuid), nullableNoAssociated list ID if applicable (read-only)
audit_metadataobjectNoMetadata about the audit log (read-only)
user_namestring, nullableNoName of the user who performed the activity (read-only)