Regulatory Compliance Overview
The Baanx Consent Management API is designed to help you meet data privacy regulations including GDPR, CCPA, and other regional requirements. This guide covers compliance considerations and best practices.GDPR Compliance
The General Data Protection Regulation (GDPR) applies to organizations processing personal data of EU residents.Key GDPR Requirements
Lawful Basis
Establish legal basis for data processing (consent, contract, legitimate interest)
Explicit Consent
Consent must be freely given, specific, informed, and unambiguous
Right to Withdraw
Users can withdraw consent as easily as they gave it
Records of Consent
Maintain proof of when and how consent was obtained
GDPR-Compliant Consent Collection
1
Clear Communication
Inform users before data collection about:
- What data you’re collecting
- Why you’re collecting it
- How long you’ll retain it
- Who you’ll share it with
- Their rights (access, rectification, erasure, portability)
2
Granular Consent
Separate consent for different purposes:Users must be able to opt-in to marketing separately from service requirements.
3
Affirmative Action
Require explicit opt-in (no pre-checked boxes):
4
Record Keeping
Capture comprehensive metadata:
5
Easy Withdrawal
Implement straightforward revocation:
Right to Be Forgotten (GDPR Article 17)
When users request data deletion:-
Revoke all consents:
-
Export audit trail (for your records):
- Process deletion in your systems (user data, accounts, etc.)
The Baanx API maintains consent records even after revocation for regulatory compliance. This is permissible under GDPR as legitimate interest for legal defense.
CCPA Compliance
The California Consumer Privacy Act (CCPA) applies to businesses collecting personal information of California residents.Key CCPA Requirements
CCPA-Compliant Implementation
Notice at Collection
Display clear privacy notice:Opt-Out Mechanisms
Implement opt-out for data sales/sharing:The
denied status in consent records documents the user’s opt-out decision for regulatory compliance.Audit Trail Management
The API maintains an immutable audit trail for all consent changes. Use this for regulatory compliance and investigations.What’s Recorded in Audit Trail
Each audit record contains:Audit Trail Use Cases
Regulatory Audits
Regulatory Audits
Export complete consent history for regulatory examinations:
Data Subject Access Requests (DSAR)
Data Subject Access Requests (DSAR)
Users can request their consent history:
Legal Defense
Legal Defense
Prove consent was obtained correctly in case of disputes:
Compliance Reporting
Compliance Reporting
Generate periodic compliance reports:
Best Practices
1. Version Your Policies
Track policy versions in metadata to prove which version users consented to:2. Implement Consent Expiry
Consider re-confirming consent periodically:3. Separate Required vs Optional Consents
Make it clear which consents are necessary for service:4. Provide Consent Management UI
Build user-facing consent preferences:5. Log All Consent Operations
Maintain application-level logs for consent operations:6. Handle Incomplete Consent Gracefully
Guide users to complete required consents:Data Retention
Consent Record Retention
- Active consent records: Retain indefinitely while user account is active
- Revoked consents: Retain for legal defense (typically 7 years minimum)
- Audit trail: Retain according to regulatory requirements (GDPR: 6 years, CCPA: varies)
Deletion After Account Closure
When a user closes their account:- Retain consent audit trail for legal hold period
- Mark records as “account closed” but don’t delete
- After legal hold expires, anonymize consent records (remove PII from metadata)
Regional Considerations
US-Specific Requirements
- Use
policyType: "US"for US-based users - Requires
eSignActconsent for E-Sign Act compliance - Consider state-specific laws (CCPA in California, VCDPA in Virginia, etc.)
- All 5 consent types required
EU-Specific Requirements
- Use
policyType: "global"for EU users - 4 consent types (excludes
eSignAct) - Implement “Right to Object” for automated processing
- Provide data portability mechanisms
Multi-Region Deployments
Use thex-us-env header to route requests correctly:
Next Steps
Implementation Guide
Technical integration steps
Troubleshooting
Common issues and solutions
API Reference
Complete endpoint documentation
Overview
Back to consent management overview