Get audit logs (admin)

get/api/notifications/v1/admin/audit-logs

Retrieves audit logs based on the provided filters. Allows admins to review actions and changes made within the notification command center for compliance and troubleshooting.

Query Parameters

  • requestobjectRequired
    • userIdstring
    • emailstring
    • usernamestring
    • eventTypestring
      Enum: NOTIFICATION_SENT NOTIFICATION_FAILED NOTIFICATION_RETRIED NOTIFICATION_DELIVERED NOTIFICATION_READ NOTIFICATION_CLICKED NOTIFICATION_UNSUBSCRIBED USER_CREATED USER_UPDATED USER_DELETED USER_SUBSCRIPTION_UPDATED ADMIN_RESEND_NOTIFICATION ADMIN_UNBLOCK_EMAIL ADMIN_PATCH_CATEGORY_SUBSCRIPTION ADMIN_GET_AUDIT_LOGS ADMIN_POST_CATEGORY_SUBSCRIPTION ADMIN_POST_NOTIFICATION_SUBSCRIPTION EMAIL_BLOCKED_BOUNCE EMAIL_UNSUBSCRIBED_COMPLAINT EMAIL_TEMP_BLOCKED_TRANSIENT_BOUNCE DEVICE_TOKEN_CREATED DEVICE_TOKEN_DELETED API_NOTIFICATION_SENT ADMIN_BLOCK_WEBHOOK_URL ADMIN_UNBLOCK_WEBHOOK_URL ADMIN_WEBHOOK_RETRIGGER WEBHOOK_RETRIGGER USER_MUTE_ENTERPRISE USER_UNMUTE_ENTERPRISE USER_MUTE_WALLET USER_UNMUTE_WALLET USER_UPDATE_MUTED_WALLETS USER_UPDATE_MUTED_ENTERPRISES ADMIN_MUTE_ENTERPRISE ADMIN_UNMUTE_ENTERPRISE ADMIN_MUTE_WALLET ADMIN_UNMUTE_WALLET ADMIN_UPDATE_MUTED_WALLETS ADMIN_UPDATE_MUTED_ENTERPRISES
    • startDatestring<date-time>
    • endDatestring<date-time>
    • pageinteger<int32>Required
    • sizeinteger<int32>Required
      Maximum: <= 100
    • sortBystringRequired
      Pattern: ^(timestamp|id)$
    • sortDirectionstringRequired
      Pattern: ^(ASC|DESC)$

200 Response

string

400 Response

name string required
Error code
Allowed values: ValidationFailed IllegalArgument BadRequest DataIntegrityError NotImplementedError RETRIGGER_RATE_LIMITED USER_CREATION_FAILED USER_FALLBACK_FAILED
error string required
Human-readable error message
status integer <int32>required
HTTP status code
Allowed value: 400

403 Response

name string required
Error code
Allowed value: AccessDenied
error string required
Human-readable error message
status integer <int32>required
HTTP status code
Allowed value: 403

500 Response

name string required
Error code
Allowed values: UnexpectedError ThirdPartyError DatabaseError USER_FALLBACK_TIMEOUT
error string required
Human-readable error message
status integer <int32>required
HTTP status code
Allowed value: 500