The DQEEMAILLOOKUP endpoint validates an email address and reports its syntax and domain existence, with an optional corrected suggestion and activity status.
DQEEMAILLOOKUP once the user has entered (or
left) a complete email address, to confirm it is valid and
deliverable before storing it. To suggest completions while
the user is still typing, see
Email API — Email address suggestions →
DQEEMAILLOOKUP
Request
Both GET and POST are supported.
Code examples
Valid address, no correction applied
Send all parameters in the request body using
Content-Type: application/x-www-form-urlencoded.
The server address remains in the URL.
Code examples
Valid address, no correction applied
Parameters
| Parameter | Description | Mand / Opt |
|---|---|---|
| Email address to validate. | Mandatory | |
| Licence | Your DQE licence key. Contact support if you do not yet have one. | Mandatory |
| Rectify |
y to propose a domain correction
when the entered domain is unknown; n
otherwise.
Default:
n
|
Optional |
| extendedsyntax |
y to accept email addresses with
extended syntax; n to limit checks
to standard email addresses.
Default:
n
|
Optional |
| checkuser |
y to check the part before the @
sign; n to check only the domain.
Default:
y
|
Optional |
| TimeOut |
Maximum query time for data verification, in
seconds. Example: 0.5 for 500 ms.
Default:
6
|
Optional |
Response
On success, the API returns a JSON object with a single key
"1" — a legacy artifact of this endpoint's implementation
— wrapping the actual result fields below.
Redressement,
eMailOrigine, IdError, and
eMail are always returned (Level 1 verification:
domain existence and syntax). CodeActivite is
only added when your licence includes activity-status checking
(Level 2 verification) — it is omitted entirely from the
response when not entitled, rather than returned empty.
| Key | Description | Type |
|---|---|---|
| Redressement |
1 if the domain was corrected; 0
if not.
|
Integer |
| eMailOrigine | Email address as entered by the user. | String |
| IdError | Validation return code. See the IdError codes below. | String |
Corrected email address, when Redressement=1.
|
String | |
| CodeActivite | Activity status of the email address — only present with Level 2 verification. See the CodeActivite codes below. | String |
Response example
Level 1 (standard)
Level 2 (with activity status)
Response codes
IdError codes
| Code | Description | Suggested UI message |
|---|---|---|
00
|
Valid email. | Valid email |
01
|
Correct email but name could not be checked. | Valid email |
02
|
Email address not found for this domain. | Please check your email address |
03
|
Inbox is full (soft bounce). | Please check your email address |
04
|
Empty email. | Please check your email address |
91
|
Syntax error. | Please check your email address |
92
|
Unknown domain. | Please check your email address |
93
|
Blacklisted email or domain. | Please check your email address |
94
|
Unauthorized username. | Please check your email address |
95
|
Disposable temporary email address. | Please check your email address |
99
|
Service unavailable. | Valid email |
CodeActivite codes
Consider M as the current month.
| Code | Description |
|---|---|
100
|
The email was delivered once. |
200
|
The email is valid. |
201
|
Email was active last month. |
202
|
Email was active between M-1 and M-2. |
203
|
Email was active between M-2 and M-3. |
204
|
Email was active between M-3 and M-4. |
206
|
Email was active between M-4 and M-6. |
209
|
Email was active between M-6 and M-9. |
212
|
Email was active between M-9 and M-12. |
300
|
Inactive email. |
Errors
| Error type | Response |
|---|---|
Missing Licence parameter
|
** LICENCE KO **
|
Empty Licence parameter
|
** LICENCE KO **
|
| Incorrect licence number |
unauthorized_client
|
Missing or empty Email parameter
|
Normal
200
response with IdError = 04
|
| Parameter typo |
Normal
200
response with IdError = 04
|
Test the API
Click the button below to test this endpoint live in your browser.
Open console
See also
Related to