The short answer: yes, you can use the ChatGPT API and stay GDPR compliant. But there's a massive difference between using the API properly and letting your team paste customer data into the free chat interface.
One is manageable. The other is a data protection incident waiting to happen.
I've configured LLM integrations for businesses that process personal data daily, including customer support systems, document analysis pipelines, and internal tools. Here's exactly what you need to get right.
Get articles like this every Tuesday. Compliance Engineering, practical AI compliance for engineers and founders. Free, weekly, written by a CIPP/E certified practitioner who actually builds these systems.
Need the actual setup walkthrough? Click paths, code, the DPIA written out, the EU AI Act overlay: the practitioner's setup guide for 2026.
Need this done for your setup? A £500 scoping review covers your specific provider configuration, DPA status, data flows, and DPIA requirements. Written report in one week.
The Consumer Chat vs API Distinction (This Is Everything)
Most GDPR problems with ChatGPT come from people confusing the consumer product with the API.
Consumer ChatGPT (chat.openai.com):
- Conversations stored and potentially used for training (unless you opt out per-conversation)
- No Data Processing Agreement
- No guaranteed data residency
- No retention controls
- Fine for personal use. Not fine for business data.
ChatGPT API (api.openai.com):
- Data NOT used for model training by default
- Data Processing Agreement available
- Configurable retention (down to zero)
- EU data processing options available
- Can be made fully GDPR compliant
If your staff are typing customer names, order numbers, or complaints into chat.openai.com, that's the problem. The API, configured properly, is a different story entirely.
Step 1: Sign the Data Processing Agreement
This isn't optional. Under Article 28 of GDPR, any time you use a third party to process personal data on your behalf, you need a written contract: a Data Processing Agreement. Here's the eight DPA clauses to check when reviewing one.
OpenAI offers a standard DPA. You'll find it in your account settings, and a current summary lives at the OpenAI compliance review. For the DPA in depth, the click path to execute it, and the eight clauses to check, see the OpenAI DPA explained. It covers:
- What data they process and why
- Security measures they implement
- Sub-processor list (where your data might flow)
- Their obligations on data breaches (notification within 72 hours)
- Your right to audit
Sign it before you write a single line of code. If a regulator asks "do you have a DPA with your AI provider?" and the answer is no, everything else is irrelevant.
Step 2: Minimise retention and apply for zero-retention
By default, OpenAI retains API inputs and outputs for up to 30 days for abuse monitoring. It does not use API data for model training.
For sensitive data, apply for zero data retention. It is available for qualifying and enterprise accounts and is approval-gated through OpenAI, so it is a request you submit (through the Compliance APIs settings, or by emailing OpenAI), not a switch in the dashboard. Once approved, verify in your dashboard that retention shows as zero on the affected endpoints, and keep the confirmation in writing.
This matters because the data minimisation principle says you should not store data longer than necessary. The less OpenAI holds, the cleaner your position.
<div className="my-8 border-l-4 border-accent-500 bg-navy-50 rounded-r-lg p-6"> <p className="font-semibold text-navy-900 mb-2">Using AI that talks to customers or generates content? A second deadline reaches you on 2 August 2026.</p> <p className="text-navy-600 text-sm mb-4">The EU AI Act's Article 50 transparency duties apply alongside GDPR: chatbot disclosure, machine-readable marking of generated output, content labelling. Which duties are yours depends on your role for each system.</p> <a href="/tools/article-50-duty-mapper" className="inline-block bg-accent-500 hover:bg-accent-600 text-white text-sm font-medium px-5 py-2.5 rounded transition-colors no-underline">Map your Article 50 duties free, in two minutes</a> </div>Step 3: Minimise What You Send
This is where most businesses get it wrong. They send entire customer records to the API when they only need a fraction of the data.
Bad approach:
"Customer John Smith (john@email.com, account #45678,
DOB 15/03/1985, address: 42 Oak Street, London)
is asking about their recent order."
Better approach:
"A customer is asking about order status. Their question:
'When will my order arrive?' Order date: March 10.
Expected delivery: March 15."
Strip out names, email addresses, account numbers, and any identifying information that isn't needed for the AI to answer the question. Send the minimum. This is data minimisation in practice, not a theoretical exercise but an architectural decision in how you construct your API calls.
If you absolutely need to include personal data (medical queries, legal questions, financial advice), document exactly why in your DPIA.
Free download
Get the Eight Documents sheet
The eight documents UK law expects a firm to hold before AI touches client data, each with what it is, where it bites, and its statutory anchor. Two pages, written for firm principals.
For partners, directors and compliance owners at firms already using AI on client files.
- ·All eight named, from the impact assessment to the engagement-letter wording
- ·The trap under each one, and its statutory anchor
- ·A held-and-current checkbox against each, so you can audit the firm in minutes
- ·The enforcement backdrop, including where directors carry personal liability
Your email is used to deliver the PDF and (if you opt in) the newsletter. No spam. Privacy policy.
Step 4: Write a DPIA
A Data Protection Impact Assessment is more than a form to fill in. It is the document that proves you thought about the risks before you went live.
For an AI API integration, your DPIA should cover:
What personal data flows through the API? Be specific. Not "customer data" but "customer first name, support query text, and order reference number."
Why is this processing necessary? What's the lawful basis? For most business chatbots, it's legitimate interest (providing efficient customer support) or contract performance (fulfilling a service the customer signed up for).
What are the risks? Data breach at OpenAI. Unexpected data retention. Model outputs that expose other users' data (extremely unlikely with API, but document that you've considered it).
What safeguards are in place? DPA signed, zero-retention enabled, data minimisation in API calls, encryption in transit, access controls on your side, staff training.
Not sure whether you even need one? Here is how to tell under GDPR Article 35. If you do, we've written a step-by-step guide for AI systems.
Step 5: Update Your Privacy Notice
Your users need to know you're using an AI processor. You don't need to write a technical whitepaper, just clear, plain language:
- What AI processing you do (e.g. "We use AI to help answer your support questions faster")
- Who the processor is (OpenAI, or whichever provider you use)
- Where data is processed (relevant for international transfers)
- How long data is retained
- Their rights (access, deletion, objection)
This goes in your privacy policy. If you're using AI in a chatbot, mention it at the start of the conversation too. Transparency is a legal requirement, and increasingly what users expect.
Step 6: Handle International Data Transfers
OpenAI is a US company. If you're processing EU/UK personal data through their API, that's an international data transfer.
This is covered by:
- The EU-US Data Privacy Framework (for EU transfers)
- The UK Extension to the DPF (for UK transfers)
- Standard Contractual Clauses in OpenAI's DPA (belt and braces)
In practice, OpenAI's DPA includes SCCs, so you're covered. But document this in your records of processing activities. If the DPF is ever invalidated (like Safe Harbor and Privacy Shield before it), the SCCs provide your fallback.
One More Deadline: EU AI Act Article 50 (2 August 2026)
GDPR is not the only regime in play. If you are using the ChatGPT API in something that talks to people, a support chatbot, an assistant, an intake bot, the EU AI Act adds a duty from 2 August 2026: under Article 50 you have to tell users they are interacting with AI, and if the system generates synthetic content there are marking duties on top. It is a transparency obligation, separate from the GDPR work above, and it lands on user-facing AI regardless of how compliant your data processing is.
The full breakdown of who owes what, and the exemptions that matter, is in the Article 50 guide, and the free Article 50 Duty Mapper maps your own duties in a few questions. If you want your setup checked properly before the deadline, the £200 Article 50 readiness teardown is a fixed-fee written gap note delivered in 72 hours.
What About Alternatives?
OpenAI is one of several options. Here's how the main LLM providers compare on GDPR readiness, with the full OpenAI vs Anthropic vs Google comparison for the side-by-side:
CompanyScope publishes a vendor profile for each of the major AI vendors, including OpenAI, Anthropic, and Google Gemini, covering the same dimensions side-by-side.
Anthropic (Claude API): DPA uses Irish governing law. SCCs included. No API data used for training by default. Strong privacy positioning. Our preferred choice for most builds. Full configuration in is the Claude API GDPR compliant.
Google (Gemini API): On the free AI Studio tier Google trains on your data and humans may review it. The paid Gemini API and Vertex AI do not train on your data, and Vertex AI adds the Cloud DPA, EU data residency, and DPF/SCCs. Full configuration in is the Gemini API GDPR compliant.
Mistral: French company, EU-based. Simplifies data residency questions. DPA available.
Self-hosted open models (Llama, Mixtral): Maximum data control. Data never leaves your infrastructure. No DPA needed because there's no external processor. Higher infrastructure cost but zero transfer risk.
The choice depends on your specific needs. If data residency is your primary concern, self-hosted or EU-based providers simplify things. If you need the best model performance, OpenAI or Anthropic with proper configuration is the pragmatic choice.
The Enforcement Reality
The ICO and EU Data Protection Authorities are paying attention to AI. The Italian DPA temporarily banned ChatGPT in 2023 over GDPR concerns, specifically about the consumer product, not the API.
In February 2026, the ICO fined MediaLab.AI £247,590 for processing children's data without a DPIA. The lesson: regulators aren't waiting for complaints. They're proactively investigating AI systems that process personal data.
Using an LLM API without a DPA, without a DPIA, without data minimisation: that's the kind of thing that generates enforcement action. Not because the technology is banned, but because the basic governance steps were skipped.
The exposure grows once the system can take actions in production rather than only return text. How an agent's destructive action allocates liability is the worked example: an autonomous coding agent wiped a live database during an explicit freeze.
Quick Compliance Checklist
Before you go live with ChatGPT API (or any LLM) in production:
- DPA signed with your LLM provider
- Zero-retention or minimum retention configured
- Data minimisation implemented in API calls (strip unnecessary PII)
- DPIA completed and documented
- Privacy notice updated to mention AI processing
- Lawful basis identified (legitimate interest or contract)
- International transfer mechanism documented (DPF + SCCs)
- Staff trained not to use consumer chat for business data
- Data deletion process in place (your side, not just theirs)
- Breach response plan includes AI processor scenarios
The Bottom Line
You don't need to avoid ChatGPT or any LLM to stay GDPR compliant. You need to use it properly: API, not consumer chat; DPA signed; retention minimised; data flows documented.
The businesses that get into trouble are the ones that skip the governance. The API call takes milliseconds. The compliance setup takes a few hours. The fine for getting it wrong can run to millions.
If you're building an AI system that processes personal data and want it done right from the start, that's what we do. We build the system AND deliver the compliance documentation. You don't get one without the other.
Michael K. Onyekwere is a CIPP/E certified data protection professional and the founder of Janus Compliance. If you need a real answer on your provider setup, transfers, DPIA, and retention rules, start with a £500 scoping review. If you also need the build done, see our AI Chatbot + Compliance Package.
Free download
Get the Eight Documents sheet
The eight documents UK law expects a firm to hold before AI touches client data, each with what it is, where it bites, and its statutory anchor. Two pages, written for firm principals.
For partners, directors and compliance owners at firms already using AI on client files.
- ·All eight named, from the impact assessment to the engagement-letter wording
- ·The trap under each one, and its statutory anchor
- ·A held-and-current checkbox against each, so you can audit the firm in minutes
- ·The enforcement backdrop, including where directors carry personal liability
Your email is used to deliver the PDF and (if you opt in) the newsletter. No spam. Privacy policy.
Frequently Asked Questions
Is using ChatGPT at work a GDPR violation?
Using the free consumer ChatGPT (chat.openai.com) for business purposes is risky and likely non-compliant. User conversations may be stored and used for model training, there's no Data Processing Agreement in place, and you have no control over data residency or retention. Using the ChatGPT API with proper configuration (DPA signed, zero-retention enabled, EU data residency) is a different matter entirely and can be made GDPR compliant.
Does OpenAI store data from API calls?
By default, OpenAI retains API input and output data for up to 30 days for abuse monitoring, and does not use API data for model training. Zero data retention is available, but it is approval-gated through OpenAI for qualifying and enterprise accounts rather than a self-serve setting. Submit the request through the Compliance APIs settings or by emailing OpenAI, then verify in your dashboard that retention shows as zero. This is the configuration you want for GDPR compliance with sensitive data.
Do I need a Data Processing Agreement with OpenAI?
Yes, if you're processing personal data of EU/UK individuals through the API. OpenAI offers a standard DPA that covers Article 28 GDPR requirements. You need to sign it before going live. It's available in your OpenAI account settings under 'Data Processing Agreement'. Don't skip this. It's not optional, and it's the first thing a regulator will ask for.
Can I use ChatGPT API for customer data?
Yes, with safeguards. Sign the DPA, enable zero-retention, document the data flows in a DPIA, minimise what you send (don't pass entire customer records when you only need a name and question), and inform your users via your privacy notice that you use an AI processor. You should also implement your own data retention and deletion policies on your side.
Is Claude (Anthropic) API more GDPR-friendly than ChatGPT?
Both can be made GDPR compliant. Anthropic's DPA uses Irish governing law and includes Standard Contractual Clauses, which some privacy professionals prefer. OpenAI offers similar protections. The key differences are in default data handling: Anthropic doesn't use API data for training by default, while OpenAI requires you to opt out. In practice, with proper configuration, both work. Choose based on your technical needs, then configure for compliance.
Done-for-you templates
£15ChatGPT / OpenAI API — Data Processing Pack
You have read the guide. This is the filled-out paperwork: the DPA, the DPIA, the privacy-notice wording, and the records, drafted by a CIPP/E practitioner so you can evidence it instead of starting from a blank page.
- An Article 28 DPA review checklist, plus a controller-to-processor DPA template with OpenAI as a named sub-processor
- An LLM-API DPIA-lite, pre-filled with the current OpenAI facts
- A Legitimate Interest Assessment mini-template and a ready-to-paste privacy-notice paragraph
- A configuration and go-live checklist plus a Records of Processing entry
- Current as at June 2026: the 30-day retention default, approval-gated zero-retention, the DPF and SCCs transfer position, and the litigation-hold status
Start with a £500 scoping review
If you need GDPR documentation, AI Act work, or a compliant AI build, the first step is a written scoping review. You get a real report, not a generic discovery call.
Related Articles
GDPR
Is the Gemini API GDPR Compliant? It Depends Which Gemini You Use (2026)
Google's Gemini has two front doors with very different data terms, and the GDPR answer turns on which one you use. The free Google AI Studio tier trains on your data and humans may read it. The paid Gemini API and Vertex AI do not train on your data, and Vertex AI gives you the Cloud Data Processing Addendum, EU data residency, and retention controls. Here is how to tell them apart and configure the compliant path: the DPA, residency, data minimisation, the DPIA, transfers, and where the EU AI Act lands.
GDPR
Is the Claude API GDPR Compliant? The 2026 Setup, Step by Step
Yes, the Claude (Anthropic) API can be run GDPR compliant, and the defaults start in a stronger place than most. The DPA is built into the Commercial Terms, API data is not used for training, and retention defaults to seven days. Here is exactly what to check and configure: the DPA, retention and zero-data-retention, data minimisation, the DPIA, international transfers, the Microsoft Copilot caveat, and where the EU AI Act lands.
GDPR
ChatGPT / OpenAI DPA Explained (2026): What the Data Processing Agreement Covers, How to Sign It, and What It Leaves to You
OpenAI's Data Processing Addendum is the Article 28 contract that lets you run the OpenAI API on personal data and stay GDPR compliant. What the DPA actually covers (training, retention, sub-processors, transfers), the exact click path to execute it, and the controller duties it does not cover.