Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Overview
- The LetsExtract Email Verifier API allows developers to verify email addresses efficiently. This service checks the validity and deliverability of email addresses, reducing bounce rates for email campaigns.
- Base URL
- The API can be accessed at: https://api.letsextract.com/v1/verify
- Request Headers
- For each request to the Email Verifier API, include the following headers:
- Content-Type: application/json
- Authorization: Bearer YOUR_API_KEY
- Request Body
- To validate an email address, send a POST request with the following structure:
- {
- "email": "[email protected]"
- }
- Parameters
- email: (string) The email address to be verified.
- Responses
- Successful Verification
- HTTP Status Code: 200 OK
- {
- "status": "success",
- "data": {
- "email": "[email protected]",
- "is_valid": true,
- "is_deliverable": true,
- "reason": "Email address is valid and deliverable."
- },
- "message": "Email verification completed successfully."
- }
- Invalid Email Format
- HTTP Status Code: 400 Bad Request
- {
- "status": "error",
- "message": "Invalid email format."
- }
- Email Not Deliverable
- HTTP Status Code: 200 OK
- {
- "status": "success",
- "data": {
- "email": "[email protected]",
- "is_valid": true,
- "is_deliverable": false,
- "reason": "Email address is valid but not deliverable."
- },
- "message": "Email verification completed successfully."
- }
- Example Request using cURL
- Here’s an example of how to verify an email address using cURL:
- curl -X POST https://api.letsextract.com/v1/verify \
- -H "Content-Type: application/json" \
- -H "Authorization: Bearer YOUR_API_KEY" \
- -d '{
- "email": "[email protected]"
- }'
- Documentation
- For more information on the Email Verification API, visit our documentation at: https://letsextract.com/email-verifier/
Advertisement
Add Comment
Please, Sign In to add comment