Email Restful GET request
There are two APIs available for Email:
- /emailsuggest/: Provides email suggestions based on the first name, last name, and user input in the email field.
Header:
https://{SERVER_ADDRESS}/{VERSION}/emailsuggest/?FirstName={FIRSTNAME}&LastName={LASTNAME}&Email={EMAIL}&Country={COUNTRY_CODE}&Licence={LICENCE_CODE}
Simply replace the items in braces with your information :
| Parameter | Value of the parameter | Value description | Mandatory/Optional |
| Server address | {SERVER_ADDRESS} | Address of the DQE server that will process the data | Mandatory |
| Version | {VERSION} | Version of the API Example : v1 | Mandatory |
| Licence | {LICENCE_CODE} | Number assigned to you as your license code | Mandatory |
| FirstName | {FIRSTNAME} | First name entered in the form | Mandatory (can be empty) |
| LastName | {LASTNAME} | Last name entered in the form | Mandatory (can be empty) |
| {EMAIL} | Part of the email already entered by the user | Mandatory (can be empty) | |
| Country | {COUNTRY_CODE} | ISO country code (3 letters) | Optional (if not specified, default is FRA) |
- /lookupemail/: Performs email validation.
Header:
https://{SERVER_ADDRESS}/{VERSION}/lookupemail/?Email={EMAIL}&Licence={LICENCE_CODE}&Rectify={RECTIFY}&CheckUser={CHECKUSER}&TimeOut={TIME}
Simply replace the items in braces with your information :
| Parameter | Value of the parameter | Value description | Mandatory/Optional |
| Server address | {SERVER_ADDRESS} | Address of the DQE server that will process the data | Mandatory |
| Licence | {LICENCE_CODE} | Number assigned to you as your license code | Mandatory |
| {EMAIL} | Email address to validate | Mandatory | |
| Rectify | {RECTIFY} | « y » if a domain correction should be proposed when domain entered is unknown or « n » otherwise | Optional (if not specified: “n” by default) |
| checkuser | {CHECKUSER} | "y" controls the part before the @ sign (slower) or "n" only the domain | Optional (if not specified: “y” by default) |
| TimeOut | {TIME} | Maximum query time for data verification. Expected value will be seconds. Example: 500ms --> 0.5s | Optional |
Related to