Soenneker.Loops.Contacts
4.0.295
Prefix Reserved
dotnet add package Soenneker.Loops.Contacts --version 4.0.295
NuGet\Install-Package Soenneker.Loops.Contacts -Version 4.0.295
<PackageReference Include="Soenneker.Loops.Contacts" Version="4.0.295" />
<PackageVersion Include="Soenneker.Loops.Contacts" Version="4.0.295" />
<PackageReference Include="Soenneker.Loops.Contacts" />
paket add Soenneker.Loops.Contacts --version 4.0.295
#r "nuget: Soenneker.Loops.Contacts, 4.0.295"
#:package Soenneker.Loops.Contacts@4.0.295
#addin nuget:?package=Soenneker.Loops.Contacts&version=4.0.295
#tool nuget:?package=Soenneker.Loops.Contacts&version=4.0.295
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 | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Soenneker.Loops.ClientUtil (>= 4.0.579)
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 |
|---|---|---|
| 4.0.295 | 27 | 9/5/2026 |
| 4.0.294 | 47 | 9/5/2026 |
| 4.0.293 | 50 | 9/4/2026 |
| 4.0.292 | 47 | 9/4/2026 |
| 4.0.291 | 45 | 9/4/2026 |
| 4.0.290 | 44 | 9/4/2026 |
| 4.0.289 | 46 | 9/4/2026 |
| 4.0.288 | 49 | 9/4/2026 |
| 4.0.286 | 60 | 9/4/2026 |
| 4.0.285 | 75 | 9/3/2026 |
| 4.0.284 | 81 | 9/2/2026 |
| 4.0.283 | 89 | 9/1/2026 |
| 4.0.282 | 84 | 9/1/2026 |
| 4.0.281 | 78 | 9/1/2026 |
| 4.0.280 | 86 | 8/31/2026 |
| 4.0.279 | 88 | 8/31/2026 |
| 4.0.278 | 91 | 8/31/2026 |
| 4.0.277 | 108 | 8/31/2026 |
| 4.0.276 | 87 | 8/30/2026 |
| 4.0.275 | 114 | 8/30/2026 |
Update dependency Soenneker.Loops.ClientUtil to 4.0.579 (#587)