Consent Management

Last updated: 2026-07-06

What is Consent?

Consent is the permission from a user or guardian for data processing or use of specific features. HaMi Code Việt applies a consent system compliant with GDPR-K and COPPA.

Consent Types

TypeDescriptionGuardian Required
Basic data processingStoring learning progress, account infoNo (over 13)
AI conversationsUsing AI Tutor and agentsYes (under 18)
AI self-learning memoryAI remembering learning infoYes (under 18)
Email marketingReceiving promotional emailsNo
Progress sharingSharing progress with teachersYes (under 18)

Granting and Revoking Consent

# View current consent
GET /consent/me

# Grant consent
POST /consent/grant
{ "consentTypeId": "ai_memory" }

# Revoke consent
POST /consent/revoke
{ "consentTypeId": "ai_memory" }

Country Policies

HaMi Code Việt applies different consent policies by country:

# View country policy
GET /country-policy?country=VN
When you revoke consent

When you revoke consent, the corresponding feature is disabled. Already-collected data may be deleted per GDPR request.