Blog
GDPR and contact data validation: emails, phone numbers and IP addresses
How GDPR applies when you validate emails, phone numbers and IP addresses: roles, lawful basis, minimisation, retention, processors and what an API sends.
Updated 2026-11-24
Validating an email address, a phone number or an IP address is processing personal data, and the GDPR applies to it like any other use of that data. That is not a reason to skip validation: accurate contact data is a duty under the regulation, and fraud prevention is a recognised interest. It is a reason to be deliberate about why you validate, what the check sends to whom, what you keep and what you tell people. This article is general information for developers and is not legal advice. Ask your data protection officer or counsel about your own case.
Why these values count as personal data
Article 4(1) of Regulation (EU) 2016/679 defines personal data as any information relating to an identified or identifiable natural person, and says a person can be identified directly or indirectly, for example by an identifier such as an online identifier. Recital 30 gives examples of online identifiers, naming internet protocol addresses and cookie identifiers.
| Value | Why it can be personal data |
|---|---|
| Email address | Often contains a name, or is unique to a person; it links to an account |
| Phone number | A unique identifier that reaches one person |
| IP address | Can identify a subscriber with the help of the provider, and Recital 30 lists it as an online identifier |
A company address such as info@company.example is less obviously personal, and an address that names a person (jane.doe@company.example) is personal even in a business setting. Treat contact data as personal data by default.
Who is the controller
When you send values to a validation API, you decide why they are checked and what happens with the result. In GDPR terms you are the controller (Article 4(7)), and the provider that processes the values for you is the processor (Article 4(8)). The EDPB's Guidelines 07/2020 on the concepts of controller and processor explain how to tell the roles apart in practice.
Article 28 then requires a contract between you and the processor. It must set out the subject matter, duration, nature and purpose of the processing, the type of personal data and the obligations of each side, and it must cover subprocessors. The Qelka data and privacy page describes the roles for this service and lists who receives which data, and the data processing agreement carries the legal terms.
The principles that matter for validation
Article 5 lists the principles. Four of them shape how you validate.
| Principle | In practice |
|---|---|
| Purpose limitation, 5(1)(b) | Validate to keep data accurate and to prevent fraud. Do not reuse the result for an unrelated purpose without a new basis |
| Data minimisation, 5(1)(c) | Send only what the check needs. Choose the lighter mode when it is enough |
| Accuracy, 5(1)(d) | Every reasonable step must be taken to erase or correct inaccurate data. Validation is such a step |
| Storage limitation, 5(1)(e) | Keep results no longer than necessary. Keep a verdict, not every raw response |
Accuracy is the principle that works in your favour. A typo in an email address is inaccurate personal data, and catching it at the form is the cheapest way to meet the duty. How to verify an email address explains the checks.
Lawful basis
Every processing needs a lawful basis under Article 6. For validation, two are common.
- Contract (6(1)(b)). When a signup or an order cannot work without a usable address or number, validating it is part of performing the contract.
- Legitimate interests (6(1)(f)). Data quality and fraud prevention. Recital 47 states that processing strictly necessary for preventing fraud constitutes a legitimate interest of the controller concerned. You still need a short balancing test: is the check proportionate, expected by the person and limited to what is needed?
Consent is rarely the right basis for validation. It must be freely given and withdrawable, and a form that cannot work without validating the address is not offering that choice.
What a validation call sends, and to whom
Be able to say, for each check, what leaves your systems. For the Qelka API, the documentation lists it.
| Check | What is shared | With whom |
|---|---|---|
Email, fast mode |
The domain, in DNS lookups; not the full address to the mail server | DNS resolvers |
Email, full mode |
The full address, named in the SMTP RCPT TO command |
The mail server of the address's domain |
Phone, basic level |
Nothing leaves: the number is checked against numbering plan data | No lookup provider |
Phone, live level |
The phone number | The live lookup provider |
| IP | The address, in the request | The infrastructure host only; the data and privacy page lists no other recipient for IP lookups |
| Every call | The request itself | The infrastructure host of the API |
Two facts follow from the table. First, the SMTP mailbox check never sends a message: it stops before DATA, so the person receives nothing, though their mail server sees the address asked about. Second, you can choose a lighter option: fast mode keeps the full address from the recipient's mail server, and the basic phone level keeps the number from any lookup provider. Choose the lighter check where it is enough. That is data minimisation in practice. For the exact list of recipients, always read data and privacy and the current subprocessor list, not this article.
The API also never returns the name or address of the person behind an email address, a phone number or an IP address. It describes the value, not the person, which keeps the output out of identity data.
Retention: store the verdict
The cache of a provider is not your retention policy. Decide yours.
| Keep | Why | Suggested handling |
|---|---|---|
| The normalised value you use, such as the E.164 number | Needed for the service | Same retention as the account |
| The verdict and its date | Shows the check ran and when | Keep with the contact |
| The full raw response of each lookup | Rarely needed after the decision | Do not store, or expire quickly |
| Bulk input and result files | Contain every row | Delete when the job is done |
On the provider side, Qelka caches results for 7 days under a hash of the normalised input, and the cached result contains the value you sent until it expires. Bulk input and result files are deleted after 30 days. Logs never contain emails or phone numbers in plain text. Test keys are never cached. These are the provider's rules; yours cover what sits in your own database, logs and exports.
Rights of the people concerned
- Access and rectification. Be able to show a person the contact data you hold, including the validation verdict, and to correct it.
- Erasure (Article 17). When you delete a contact, delete the stored verdicts too. Cached provider results expire on their own after 7 days.
- Objection (Article 21). A person can object to processing based on legitimate interests, and has an absolute right to object to direct marketing.
- Information (Articles 13 and 14). Say in your privacy notice that you check contact data for accuracy and fraud prevention, which categories you check, and that you use a processor for it.
Validation is not consent to contact
A passing check says an address can receive mail. It does not say you may send marketing to it. That question sits in the ePrivacy Directive 2002/58/EC, Article 13, which requires prior consent for unsolicited electronic mail to natural persons, with an exception for a seller's own similar products to existing customers who were offered a way to object. Each member state implements it in its own law, and rules for business recipients differ.
CNIL, the French authority, takes the position in its guidance on commercial prospecting that B2B prospecting by email can go ahead without prior consent when the address is professional, the message relates to the recipient's professional role, and people are informed and can object easily. Other countries ask for consent in the business setting too. Keep validation records separate from consent records, and check the rule for every country you email. B2B email verification shows how this fits a business list.
International transfers
If your provider or its subprocessors process data outside the European Economic Area, Chapter V of the GDPR (Articles 44 to 49) applies, and you need a transfer mechanism such as adequacy or standard contractual clauses. Ask where the checks run and which subprocessors receive which data, and keep the answer with your records of processing.
Data protection by design
Article 25 asks you to build protection into the way you process. For validation:
- Check on your server, so values do not travel through browser scripts you do not control.
- Send the lightest check that answers your question.
- Keep the key secret and the calls on the server.
- Store the verdict and the date, not the raw lookup.
- Fail open, and record that a check did not run, so you do not retry endlessly with the same data.
The EDPB's Guidelines 4/2019 on Article 25 explain the idea in more detail.
A checklist before you launch
| Question | Done when |
|---|---|
| Why do we validate? | The purpose is written down: accuracy and fraud prevention |
| What is the lawful basis? | Recorded, with a short balancing test for legitimate interests |
| Who is the processor? | A contract under Article 28 is in place, and the subprocessors are known |
| What leaves our systems? | The mode and level for each check are chosen on purpose |
| What do we keep, and how long? | A retention period per field |
| What do we tell people? | The privacy notice mentions the checks and the processor |
| How do we handle erasure and objection? | A process deletes verdicts with the contact |
| Is marketing consent handled separately? | Consent and validation are different records |
Where to go next
- Data and privacy for what the Qelka API keeps and shares.
- Phone number validation and how to verify an email address for the checks themselves.
- Reverse phone lookup for why an API that returns no identity data is easier to defend.
- Caching for how results are cached.
Frequently asked questions
Is validating an email address or phone number processing personal data under GDPR?
What lawful basis can I use to validate contact data?
Do I need a data processing agreement with an email or phone validation provider?
Does an SMTP mailbox check send an email to the person?
RCPT TO command, reads the answer and quits before sending DATA, so no message is delivered. The mail server does see the address being asked about, as in any SMTP exchange. A fast mode check never contacts the mail server, so the full address is not shared with it.How long should I keep the result of a validation?
Does validating an email address give me the right to market to it?
Put this check in your product
Get an API key in under a minute. 100 free credits every month, no card required.
- 100 free credits a month
- No card
- Test keys spend nothing
- Cancel any time