COPPA Compliant Chat: Data and Moderation Duties

If your product has chat, comments, reviews or an AI chatbot, and a meaningful share of your users are children under 13, you have two problems tangled together. One is safety: young users need a space free of harassment, grooming, self-harm content and worse. The other is data: every message they type is text you now hold. Getting COPPA compliant chat right means solving both at once, and the data problem is usually the one that gets ignored until a parent or a regulator asks a question.
This guide covers what COPPA generally asks of an operator, why user text is the hardest part of those duties to satisfy, and how to design a text pipeline that sees enough to protect children while storing as little as possible. It is a general overview, not legal advice: read the official text and the regulator's guidance, and talk to counsel about your product.
What COPPA Is Asking of Your App
COPPA is a United States federal law about children's personal information. Its general purpose is straightforward: give parents control over what online services collect from their children, and push services to collect and keep as little of that information as they can. The law is not a content rule. It does not tell you which words belong in a chat. It tells you how you must handle the information that flows through one.
Who the duties fall on
The duties land on operators of commercial online services that are directed to children, and on operators that knowingly collect personal information from children. There are two triggers, and plenty of products trip the second one without meaning to.
A service can be directed to children through its design and marketing, and it can also be a general-audience app that simply learns a child is using it: through an age gate, a parent's email, a support ticket, or a moderation review that surfaces a school name and a class schedule. Once you know, that user is inside the regime, and so is the data you hold about them.
Vendors can pick up duties too when they collect children's information through another operator's service. That matters if you use third parties for moderation, analytics, crash reporting or model training: your notice has to describe them, and your contracts should say what they may do with the data.
The five duties in plain language
Stripped to essentials, the law asks operators to do these things:
- Give notice. Publish a clear, plain-language notice of what personal information you collect from children, how you use it, whether you disclose it to others, and how a parent can reach you.
- Get verifiable parental consent before collecting personal information from a child. The word "verifiable" is doing real work: the regulator expects a method that confirms the person consenting is the parent or guardian, not the child.
- Collect only what is reasonably necessary for the activity the child is taking part in. Extra fields held "just in case" are the classic failure.
- Keep it only as long as reasonably necessary, then delete it, and give parents a way to review and delete their child's information.
- Protect it, with reasonable procedures to keep the information confidential, secure and intact.
There is also a rule against conditioning a child's participation on disclosing more information than is reasonably necessary. You cannot demand a home address before letting a child play a drawing game.
Every one of those five duties reaches your text pipeline. That is the next problem.
Why User Text Is the Hard Part
Where personal information hides in a message
Free text is the one field where users can put anything, and children put everything. A single chat message can carry:
- A full name, a nickname, or a username that is also a real name
- A home address, a neighborhood or a bus route
- A phone number or an email address
- A school name, a teacher's name or a class schedule
- A sports team, an activity or a regular meeting place
- A photo link or a social handle that leads to more of the above
The same is true of comments, reviews, profile bios and the free-text prompts people type into an AI chatbot. A child who asks a chatbot to help write a note for a named teacher at a named school has just handed you an identifying detail that no signup form ever asked for.
That creates the central tension of kids' chat: to moderate a message, something has to read it. The safest review reads as little raw text as possible, for as short a time as possible.
Logs, backups and training sets count too
Collection is not one table. It is every copy. When you work out what your app "collects", count:
- The message table and any read replicas
- Application logs and error tracking, which often capture a full request payload
- Analytics events and search indexes
- Data warehouse or BI copies
- Backups and point-in-time recovery snapshots
- Moderation review queues and evidence stores
- Evaluation sets, labeling exports and fine-tuning corpora
A moderation log that stores the whole message next to the flag is not a neutral audit artifact. It is a second collection of the same personal information, often with a longer retention clock than the first, and usually readable by a much wider group of staff. If you tighten data handling in the product but leave the logs alone, your data footprint barely changes.
Five Duties That Land on Your Text Pipeline
Turn each duty into a design question your team can answer in a document.
Consent before collection
Ask: at what moment does a raw child message become personal information we persist, and has consent been obtained by then?
If the write to your message store happens the instant text arrives, consent has to precede that write. That pushes toward designs where the first pass over a message is ephemeral: classify it, act on it, and persist only what you actually need.
Age signals deserve their own review. Whatever mechanism you use to learn a user's age, the principle is the same: the moment you know, stricter handling should switch on for that account automatically, rather than depending on an agent remembering to flip a flag.
Data minimization
Ask: do we need the raw message at all?
For most safety decisions you need the classification, not the sentence. Store the flag, the category, a timestamp and an internal message id. Where text really is needed — an appeal, a law-enforcement request, a recurring abuse pattern — store a redacted or truncated copy with a short expiry, in a store with narrower access.
Screening at ingest is what makes this possible. If you can detect an email address, a phone number or a school reference before the message is written, you can drop or mask it instead of archiving it. That approach is covered in screen user text for PII before you store it.
Retention and deletion
Ask: how long does each copy live, and what happens when a parent asks for deletion?
A deletion request has to reach the logs, backups, analytics pipeline and moderation evidence store, not just the primary table. Teams usually have a firm answer for the main table and a vague one for everything else. Write the retention period down per copy, attach it to a job that enforces it, and explain in your notice what you keep and why.
A workable pattern is to separate short-lived raw text from long-lived flags. Raw text expires in days; the flag and the case outcome persist, because a flag on its own no longer identifies anyone.
Protection and access
Ask: who can read a child's message, and can you prove it?
Reasonable protection includes encryption in transit and at rest, least-privilege access to raw message stores, audit logging on review tools, and a short list of people allowed to open a full conversation. If you send text to a third-party service for classification, analytics or annotation, that disclosure belongs in your notice, in your vendor review and in your risk assessment. If you cannot send children's text off your network, the answer may be to run the classifier on your own infrastructure — see keep children's text on your own servers.
No conditioning on extra collection
Ask: does anything we request exist only because it was convenient for us?
A birthday used to route a user into a safer experience is doing a job. A phone number demanded before a child may comment usually is not. If a field is not reasonably necessary for the activity in front of you, it is a liability with a schema.
Designing the Text Path: Check Before You Store
Order of operations is the whole game. Check first, store second.
Screening at ingest
A minimal pipeline for a children's chat feature looks like this:
on_message_received(message):
screen = classify(message.text) # pii, minor, self_harm, harassment, ...
decision = policy(screen) # allow / hold / block / escalate
if screen.requires_review:
route_to_queue(message.id, screen, raw_text_ttl = short)
persist(
message_id = message.id,
sender_id = message.sender_id,
flags = screen.flags,
raw_text = redact_or_null(message.text, screen)
)Three things matter here. The classifier runs before the database write, so nothing lands in storage unchecked. The review queue gets a short time-to-live, so it does not quietly become an archive. The persisted row keeps flags and a redacted or empty text field, so the long-lived record stops identifying the child.
Redaction is not a silver bullet. It is lossy and it will miss things. Treat it as one layer, not the answer.
If you already have a message handler, adding a check is a small change: add a moderation call to your message handler.
A separate minor-safety queue
Minor-safety signals should not sit in the same bucket as a mild profanity flag. Route them to reviewers trained for that work, with a written escalation path for cases that need law enforcement, child-protection services or a parent notification. Give reviewers a redacted view by default, and log every time someone opens the full text. Pair the queue with a support path, because a child, a parent or a bystander needs a way to report something the classifier missed.
A short, readable chat moderation policy
Public-facing social media moderation guidelines — for a chat product, simply call them the community rules — should fit on one screen and be readable by a child and a parent alike. A workable outline:
- What is allowed. Lead with expectations in plain language: be kind, do not share personal details, do not ask to meet in person, no adult content. Two or three concrete examples beat a wall of legal text.
- What happens to a message. Say whether messages can be held for review, hidden or removed, and whether the sender is told.
- How to report. Name the in-product control, describe what a good report includes, and say who reviews it. Provide a route that works for a child who does not want to explain themselves in writing.
- What happens next. List the possible outcomes — a warning, a removed message, a temporary feature limit, an account action — and how the person is notified.
- How appeals work. One channel, a reviewer who was not the original decision-maker, and a stated outcome. Appeals are also your best false-positive signal.
- What you keep. One short paragraph on which flags you retain, for how long, and what happens on a deletion request. This is the same paragraph your privacy notice needs.
Handle false positives deliberately. A held message should be recoverable: keep it rather than delete it, tell the sender it is under review, and let a human reverse the call. A flag is a prompt for review, not a verdict, and your policy should say so out loud.
How CautionLabs Handles the Text-Checking Step
CautionLabs is a text moderation API that returns true/false flags. It covers the classification step in the pipeline above; your team keeps the policy decisions.
A call to POST /moderation with {"text": "..."} returns a categories object with twelve true/false flags — toxic, profanity, hate, harassment, self_harm, adult, violence, drugs, weapons, pii, spam and minor — plus one overall flagged boolean.
curl https://api.cautionlabs.com/moderation \
-H "Authorization: Bearer $CAUTIONLABS_CLOUD_KEY" \
-H "Content-Type: application/json" \
-d '{"text": "my name is Ava, I go to Lincoln Middle School"}'{
"categories": {
"toxic": false,
"profanity": false,
"hate": false,
"harassment": false,
"self_harm": false,
"adult": false,
"violence": false,
"drugs": false,
"weapons": false,
"pii": true,
"spam": false,
"minor": false
},
"flagged": true
}There are no scores, probabilities or confidence values, and no thresholds to tune. You get booleans and decide what your product does with them, which suits a children's product: the decision stays a policy decision rather than a cutoff number someone has to defend.
A text of up to 10,000 characters is checked in 3,000-character pieces, and each started piece counts as one request. The hosted API is usage-based at $0.40 USD per 1,000 requests, and the cloud terms state that your text is not stored.
If your risk assessment concludes that children's text should not leave your infrastructure at all, you can run the model on your own servers instead. The container makes no outbound requests and has no telemetry, and it answers POST /moderate at http://localhost:8000. Setup is covered in the on-premises guide.
One design note: there is no batch endpoint and no webhooks, so you call the API per message as text arrives. That fits a chat handler well — one request in the path of one message — but it does mean your throughput plan is per message, and re-scanning an archive is a loop you write yourself.
You can try the classifier on your own sample text in the playground before writing any code.
Questions Founders Ask Before Shipping Kids' Chat
Is a chat message personal information?
It depends on what the message contains and what it can be linked to. A message that names a child, or gives contact details, a school, a location or a handle tied to a real identity, is personal information. A message that looks anonymous can become identifying once joined with account data, device data or conversation history. The conservative design choice — treat free text as personal information by default, minimize it, expire it — is also the simplest one to defend. For the legal call, read the official text and the regulator's guidance and ask counsel.
What about other children's-safety rules?
COPPA is one regime among several, and they stack. The UK's Online Safety Act duties for platforms place their own obligations on user-to-user services, including duties that concern children's experiences and content moderation. Other countries have their own children's-data and online-safety rules, and in the United States, proposals debated under names like the Kids Online Safety Act would add further duties if they became law. Check the current status and the official text rather than a summary — and design the text pipeline once, so that a new duty becomes a policy change instead of a re-architecture.
What about our AI chatbot that children talk to?
Both directions matter. What the child types is collection, carrying the consent, minimization and retention duties. What the model says back is a safety surface of its own and needs its own checks — see moderating what your chatbot says back. If you log prompts and completions for quality, you have built a transcript of a child's conversation, which is the most sensitive copy in your system. Decide deliberately whether you need it, and if you do, expire it.
Is ChatGPT COPPA compliant?
Nobody outside a vendor can answer that for them, and you should not take a third party's word for it. Apply a test instead, to any model or API you use with children's data:
- Does the vendor's own documentation describe how it handles children's data, including parental consent and deletion?
- Does it offer a configuration intended for child-directed services, or contractual terms that limit how your users' content may be used?
- Can you obtain a deletion that reaches their subprocessors, and get it in writing?
- Does the vendor give you enough detail to describe the disclosure accurately in your own notice?
Read that vendor's documentation and terms directly, and route the compliance question to counsel. CautionLabs does not speak for other companies.
Add One Text Check Before You Store
You do not need to rebuild your stack to move the needle. Pick the text path that carries the youngest users — chat, comments, profile free text, chatbot prompts — and put a check in front of the store.
Run a sample of your own user text through the CautionLabs playground to see how the pii and minor flags behave on real messages. Then read the Cloud API Reference or the on-premises guide and wire a PII and minor-safety check into your message handler before the write. Keep the flags, drop the raw text, and let trained reviewers handle what the flags surface.