This guide will show you how to verify an individual email using the Intelligent Verification API.
Steps:
-
Initiate a cURL Request: Use the sample cURL request provided below to begin the verification process:
curl \ --location \ --request POST 'https://api.lastbounce.com/api/singleEmail/validate?email=virgilio.so@demandscience.com' \ --header 'x-api-key: DdTHUVFAI4Q6u810nlKhfIhHHo8qmoYqJD4Ns7jJ'
-
Interpret the Response: Once the request is made, you'll receive a JSON response. Here's a sample response:
{ "email": "virgilio.so@demandscience.com", "result": "VALID", "resultDetail": "OK", "corrected": false, "verifiedEmail": "virgilio.so@demandscience.com", "domain": "demandscience.com", "localPart": "virgilio.so" }
-
email
: The email address you wanted to verify. -
result
: A brief text description of the validation outcome (e.g., VALID). -
resultDetail
: Provides a more specific reason for the result. -
corrected
: Indicates if the email was corrected. -
verifiedEmail
: The verified version of the email. -
domain
: The domain of the email address. -
localPart
: The local part of the email address before the '@'.
-
-
Understand Result Codes: In the JSON response, you'll see fields named 'result' and 'resultDetail'. While 'result' offers a brief description, 'resultDetail' provides a more specific reason. For a complete list of result codes and their meanings, click here.
-
Access Additional Features: If you need more functionalities or information about the LastBounce API, consult the LastBounce Public API Documentation.
Note: Please remember to keep your API key confidential and not expose it in public forums or documents.
Comments
0 comments
Please sign in to leave a comment.