SmartLead icon

SmartLead

Interact with SmartLead API (campaigns, leads, inbox, analytics, delivery, and webhooks)

Actions144

Lead → Get by Email

AI-generated

Summary

Find a lead by email address

Inputs

  • queryParameters — Additional query-string parameters (e.g., email) to pass to the GET /leads/ endpoint
  • requestOptions — Options for request behavior such as batching, SSL verification, proxy, and timeout
  • allowUnauthorizedCerts — Whether to ignore SSL certificate validation errors
  • proxy — HTTP proxy URL to use for the request
  • timeout — Request timeout in milliseconds

Output shape

a single lead record (JSON object) returned on success; 404 if no lead matches

The response body contains the lead data returned by SmartLead; fields depend on the API and may be affected by pagination settings.

Examples

Example 1: Fetch lead with email john.doe@example.com

Set Query Parameters to {"email":"john.doe@example.com"}; leave other inputs at their defaults.

Example 2: Batch request for multiple emails

Add multiple email addresses in Query Parameters (e.g., {"email":["a@example.com","b@example.com"]}) and enable Batching with batchSize 100.

Links

Discussion