Skip to main content
GET
Get Consent Audit Trail

Overview

Retrieves the complete audit trail of all consent changes for a user. Essential for compliance reporting, regulatory audits, and investigating consent history.
The audit trail is immutable - all consent changes are permanently recorded with complete before/after snapshots for regulatory compliance.

Endpoint

Headers

Path Parameters

Query Parameters

Response

Audit Record Structure

Action Types

Pagination

Use limit and offset to paginate through large audit trails:

Code Examples

TypeScript - Basic Audit Retrieval

TypeScript - Export for Compliance

Python

cURL

Use Cases

Generate comprehensive audit reports for regulators:
Fulfill user requests for their consent history:

Best Practices

Data Retention: Audit trails should be retained according to regulatory requirements (typically 6-7 years). Never delete audit records even after user account closure.
Performance: For large audit trails, use pagination and process records in batches rather than loading all at once.

Get User Consent Status

Check current consent status

Revoke Consent

Create revocation audit records

Compliance Guide

Regulatory compliance best practices

Implementation Guide

Full integration guide