Soenneker.Loops.Contacts 11.0.381

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.Loops.Contacts --version 11.0.381
                    
NuGet\Install-Package Soenneker.Loops.Contacts -Version 11.0.381
                    
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.Loops.Contacts" Version="11.0.381" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Loops.Contacts" Version="11.0.381" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Loops.Contacts" />
                    
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.Loops.Contacts --version 11.0.381
                    
#r "nuget: Soenneker.Loops.Contacts, 11.0.381"
                    
#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.Loops.Contacts@11.0.381
                    
#: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.Loops.Contacts&version=11.0.381
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Loops.Contacts&version=11.0.381
                    
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.Loops.Contacts

Create, update, find, and delete Loops contacts by email address.

Install

dotnet add package Soenneker.Loops.Contacts

Configure and register

{ "Loops": { "ApiKey": "<API key>" } }
services.AddLoopsContactsUtilAsScoped();

The scoped operation service deliberately uses the singleton Loops client provider. Use the singleton registration when the operation layer should also live for the application lifetime.

Create and update

string id = await contacts.Create(
    "person@example.com",
    firstName: "Morgan",
    subscribed: true,
    cancellationToken: cancellationToken);

string updatedId = await contacts.Update(
    "person@example.com",
    firstName: "Morgan",
    subscribed: null,
    cancellationToken: cancellationToken);

Create subscribes the contact by default. On Update, subscribed: null leaves subscription state unchanged; pass true or false only when the caller intends to change consent. Both methods throw if Loops returns no contact ID.

Find and delete

string? id = await contacts.Find("person@example.com", cancellationToken);
bool deleted = await contacts.Delete("person@example.com", cancellationToken);

Find returns the first matching contact ID. Delete is destructive and reports the API's success flag. API failures are logged with the contact email and rethrown, so ensure application logs are handled as personal data.

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.Loops.Contacts:

Package Downloads
Soenneker.Loops.OpenApi.Suite

Registers the Loops contact operation package through a single suite entry point

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.392 112 11/21/2026
11.0.391 113 11/19/2026
11.0.389 96 11/18/2026
11.0.387 101 11/18/2026
11.0.386 108 11/17/2026
11.0.385 111 11/17/2026
11.0.384 111 11/15/2026
11.0.383 107 11/15/2026
11.0.382 111 11/15/2026
11.0.381 117 11/11/2026
11.0.380 112 11/11/2026
11.0.379 108 11/11/2026
11.0.378 115 11/11/2026
11.0.377 158 11/6/2026
11.0.376 130 11/3/2026
11.0.375 102 11/3/2026
11.0.374 102 11/3/2026
11.0.373 106 11/3/2026
11.0.372 110 11/3/2026
11.0.371 106 11/3/2026
Loading failed

Updated Multiple NuGet packages