v1
latestOpenAPI 3.1.02026-07-2617125852.3 KBAuditLog
List audit log
Requires one of the following scopes: audit_logs:read, audit_logs:all, all:read, all:all
get/api/v2/audit-logs
Query parameters
limitinteger
Example:10
The number of items to return
starting_afterstring
Example:01956fbd-0eb1-72db-a565-82977a586084
The ID of the last item in the previous page - used for pagination. You can use the value of the next_starting_after field from the previous response.
activity_typenumber
Example:1
Filter by activity type
searchstring
Example:login
Search term to filter logs
start_datestring
Example:2024-01-01
Start date to filter logs
end_datestring
Example:2024-01-01
End date to filter logs
Response
The list of Audit Log
Example response
{
"items": [
{
"id": "01234567-89ab-cdef-0123-456789abcdef",
"timestamp": "2026-07-24T15:45:24.494Z",
"organization_id": "01234567-89ab-cdef-0123-456789abcdef",
"activity_type": 1,
"user_agent": "Mozilla/5.0...",
"user_id": "01234567-89ab-cdef-0123-456789abcdef",
"ip_address": "127.0.0.1",
"api_key_id": "01234567-89ab-cdef-0123-456789abcdef",
"affected_count": 1,
"campaign_id": "01234567-89ab-cdef-0123-456789abcdef",
"webhook_id": "01234567-89ab-cdef-0123-456789abcdef",
"subsequence_id": "01234567-89ab-cdef-0123-456789abcdef",
"list_id": "01234567-89ab-cdef-0123-456789abcdef",
"user_name": "John Doe"
}
],
"next_starting_after": "019f94cd-adfb-70e7-ae5d-d8f4e84a65c3"
}