Search by Email in All Lists

Search for a subscriber by email across all lists associated with the authenticated account. This is helpful when you don’t know which list a subscriber belongs to.

🌐 Search by Email in All Lists

Locate a subscriber across all your lists using their email address.


🔹 HTTP Request

GET API-URL/lists/subscribers/search-by-email-in-all-lists

🔎 Query Parameters

Parameter
Required
Description

email

Yes

Email address of the subscriber.


🔐 Authorization Header

X-API-KEY: your-api-key-here

💻 PHP Example

// SEARCH BY EMAIL IN ALL LISTS
$response = $endpoint->emailSearchAllLists('[email protected]');

// DISPLAY RESPONSE
echo '<hr /><pre>';
print_r($response->body);
echo '</pre>';

📦 Sample JSON Response

{
  "status": "success",
  "data": {
    "records": [
      {
        "subscriber_uid": "xy987tuvrkl55",
        "email": "[email protected]",
        "status": "confirmed",
        "source": "import",
        "ip_address": "",
        "list": {
          "list_uid": "ab321xwzqp888",
          "display_name": "Spring Launch List",
          "name": "Spring Launch 2025"
        },
        "date_added": "2025-04-15 10:42:30"
      }
    ],
    "count": 1,
    "current_page": 1,
    "next_page": null,
    "prev_page": null,
    "total_pages": 1
  }
}

Last updated