baranka

LetsExtract Email Verifier API

Apr 10th, 2025
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.78 KB | Software | 0 0
  1. Overview
  2. 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.
  3.  
  4. Base URL
  5. The API can be accessed at: https://api.letsextract.com/v1/verify
  6.  
  7. Request Headers
  8. For each request to the Email Verifier API, include the following headers:
  9.  
  10. Content-Type: application/json
  11. Authorization: Bearer YOUR_API_KEY
  12. Request Body
  13. To validate an email address, send a POST request with the following structure:
  14.  
  15. {
  16.   "email": "[email protected]"
  17. }
  18. Parameters
  19. email: (string) The email address to be verified.
  20. Responses
  21. Successful Verification
  22. HTTP Status Code: 200 OK
  23.  
  24. {
  25.   "status": "success",
  26.   "data": {
  27.     "email": "[email protected]",
  28.     "is_valid": true,
  29.     "is_deliverable": true,
  30.     "reason": "Email address is valid and deliverable."
  31.   },
  32.   "message": "Email verification completed successfully."
  33. }
  34. Invalid Email Format
  35. HTTP Status Code: 400 Bad Request
  36.  
  37. {
  38.   "status": "error",
  39.   "message": "Invalid email format."
  40. }
  41. Email Not Deliverable
  42. HTTP Status Code: 200 OK
  43.  
  44. {
  45.   "status": "success",
  46.   "data": {
  47.     "email": "[email protected]",
  48.     "is_valid": true,
  49.     "is_deliverable": false,
  50.     "reason": "Email address is valid but not deliverable."
  51.   },
  52.   "message": "Email verification completed successfully."
  53. }
  54. Example Request using cURL
  55. Here’s an example of how to verify an email address using cURL:
  56.  
  57. curl -X POST https://api.letsextract.com/v1/verify \
  58. -H "Content-Type: application/json" \
  59. -H "Authorization: Bearer YOUR_API_KEY" \
  60. -d '{
  61.   "email": "[email protected]"
  62. }'
  63. Documentation
  64. 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