Soenneker.Loops.OpenApiClient
11.0.207
Prefix Reserved
dotnet add package Soenneker.Loops.OpenApiClient --version 11.0.207
NuGet\Install-Package Soenneker.Loops.OpenApiClient -Version 11.0.207
<PackageReference Include="Soenneker.Loops.OpenApiClient" Version="11.0.207" />
<PackageVersion Include="Soenneker.Loops.OpenApiClient" Version="11.0.207" />
<PackageReference Include="Soenneker.Loops.OpenApiClient" />
paket add Soenneker.Loops.OpenApiClient --version 11.0.207
#r "nuget: Soenneker.Loops.OpenApiClient, 11.0.207"
#:package Soenneker.Loops.OpenApiClient@11.0.207
#addin nuget:?package=Soenneker.Loops.OpenApiClient&version=11.0.207
#tool nuget:?package=Soenneker.Loops.OpenApiClient&version=11.0.207
Soenneker.Loops.OpenApiClient
Call Loops endpoints through a Kiota-generated client with typed request builders and models.
Install
dotnet add package Soenneker.Loops.OpenApiClient
Create a client
using Microsoft.Kiota.Abstractions.Authentication;
using Microsoft.Kiota.Http.HttpClientLibrary;
using Soenneker.Loops.OpenApiClient;
var httpClient = new HttpClient
{
BaseAddress = new Uri("https://app.loops.so/api/")
};
httpClient.DefaultRequestHeaders.Add("Authorization", $"Bearer {apiKey}");
var adapter = new HttpClientRequestAdapter(
new AnonymousAuthenticationProvider(),
httpClient: httpClient);
var client = new LoopsOpenApiClient(adapter);
Reuse the transport rather than constructing one per request, and dispose it with its owning application component. For application registration, lazy reuse, and coordinated ownership, use Soenneker.Loops.ClientUtil.
Create a contact
using Soenneker.Loops.OpenApiClient.Models;
var request = new ContactRequest
{
Email = "person@example.com",
FirstName = "Morgan",
Subscribed = true
};
ContactSuccessResponse? created = await client.V1.Contacts.Create.PostAsync(
request,
cancellationToken: cancellationToken);
Find a contact
List<Contact>? matches = await client.V1.Contacts.Find.GetAsync(
config => config.QueryParameters.Email = "person@example.com",
cancellationToken);
The generated surface begins at client.V1. Follow its request builders for contacts, events, transactional email, lists, campaigns, workflows, and other resources. HTTP failures are surfaced through Kiota exceptions; nullable results indicate no response body.
This repository contains generated code. Put reusable helpers and behavior changes in a separate package so regeneration does not overwrite them.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Microsoft.Kiota.Http.HttpClientLibrary (>= 2.1.6)
- Microsoft.Kiota.Serialization.Form (>= 2.1.6)
- Microsoft.Kiota.Serialization.Json (>= 2.1.6)
- Microsoft.Kiota.Serialization.Multipart (>= 2.1.6)
- Microsoft.Kiota.Serialization.Text (>= 2.1.6)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.Loops.OpenApiClient:
| Package | Downloads |
|---|---|
|
Soenneker.Loops.ClientUtil
Provides a lazily created Loops generated client over the shared authenticated transport |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.207 | 44 | 11/5/2026 |
| 11.0.206 | 97 | 11/3/2026 |
| 11.0.205 | 178 | 11/3/2026 |
| 11.0.204 | 103 | 11/2/2026 |
| 11.0.203 | 93 | 11/2/2026 |
| 11.0.202 | 100 | 11/2/2026 |
| 11.0.201 | 102 | 10/31/2026 |
| 11.0.200 | 104 | 10/31/2026 |
| 11.0.199 | 76 | 10/30/2026 |
| 11.0.198 | 106 | 10/30/2026 |
| 11.0.197 | 126 | 10/29/2026 |
| 11.0.196 | 139 | 10/27/2026 |
| 11.0.195 | 141 | 10/27/2026 |
| 11.0.194 | 192 | 10/26/2026 |
| 11.0.193 | 142 | 10/26/2026 |
| 11.0.192 | 135 | 10/26/2026 |
| 4.0.191 | 242 | 10/24/2026 |
| 4.0.190 | 158 | 10/20/2026 |
| 4.0.189 | 138 | 10/16/2026 |
| 4.0.188 | 268 | 10/14/2026 |
Update Soenneker.Loops.OpenApiClient