Soenneker.Instantly.Leads 11.0.3255

Prefix Reserved
dotnet add package Soenneker.Instantly.Leads --version 11.0.3255
                    
NuGet\Install-Package Soenneker.Instantly.Leads -Version 11.0.3255
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Instantly.Leads" Version="11.0.3255" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Instantly.Leads" Version="11.0.3255" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Instantly.Leads" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Instantly.Leads --version 11.0.3255
                    
#r "nuget: Soenneker.Instantly.Leads, 11.0.3255"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Instantly.Leads@11.0.3255
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Instantly.Leads&version=11.0.3255
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Instantly.Leads&version=11.0.3255
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image Soenneker.Instantly.Leads

Add leads to campaigns, find or search them by email, and delete matching leads.

Install

dotnet add package Soenneker.Instantly.Leads

Configure and register

{
  "Instantly": {
    "ApiKey": "<API key>",
    "LogEnabled": false
  }
}
using Soenneker.Instantly.Leads.Registrars;

services.AddInstantlyLeadUtilAsScoped();

The scoped lead service deliberately uses the singleton generated-client provider. Use AddInstantlyLeadUtilAsSingleton() when the operation layer should also live for the application lifetime.

Add a lead

using Soenneker.Instantly.Leads.Abstract;
using Soenneker.Instantly.OpenApiClient.Models;

var request = new CreateLeadRequest
{
    Email = "person@example.com",
    FirstName = "Morgan",
    LastName = "Lee"
};

Lead? created = await leads.Add(
    request,
    campaignId,
    cancellationToken);

This overload sets request.Campaign and lowercases request.Email before sending it, so it mutates the supplied request. Use Add(request, cancellationToken) when Campaign is already populated; that overload also lowercases the email.

Find leads

Lead? first = await leads.GetByEmail(
    "person@example.com",
    campaignId,
    cancellationToken);

List<Lead>? matches = await leads.Search(
    "person@example.com",
    campaignId,
    cancellationToken);

Omit campaignId to search across campaigns. GetByEmail requests one result and returns the first match; Search returns the matching list from Instantly.

Delete leads

Lead? firstDeleted = await leads.Delete(
    ["person@example.com"],
    campaignId,
    cancellationToken);

Delete first resolves matching leads, then deletes every returned lead that has an ID. Omitting campaignId expands that destructive operation across all campaigns. The return value is the first matched lead, not a count of successful deletions; an exception can leave a partially completed batch if a later deletion fails.

API failures are surfaced to the caller. Nullable results indicate that Instantly returned no response body or no matching lead.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Soenneker.Instantly.Leads:

Package Downloads
Soenneker.Instantly.Suite

Registers Instantly account, analytics, DFY, lead, Unibox, and email-verification operations together

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.3255 0 11/15/2026
11.0.3254 54 11/14/2026
11.0.3253 79 11/13/2026
11.0.3252 98 11/11/2026
11.0.3251 85 11/11/2026
11.0.3250 94 11/11/2026
11.0.3249 76 11/11/2026
11.0.3248 112 11/11/2026
11.0.3247 104 11/11/2026
11.0.3246 90 11/11/2026
11.0.3245 123 11/10/2026
11.0.3244 132 11/8/2026
11.0.3243 168 11/7/2026
11.0.3242 128 11/6/2026
11.0.3241 151 11/4/2026
11.0.3240 173 11/3/2026
11.0.3239 111 11/3/2026
11.0.3238 86 11/3/2026
11.0.3237 102 11/3/2026
11.0.3236 110 11/3/2026
Loading failed

Update dependency Soenneker.Instantly.ClientUtil to 11.0.764 (#3988)