Soenneker.Intercom.OpenApiClientUtil 11.0.330

Prefix Reserved
dotnet add package Soenneker.Intercom.OpenApiClientUtil --version 11.0.330
                    
NuGet\Install-Package Soenneker.Intercom.OpenApiClientUtil -Version 11.0.330
                    
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.Intercom.OpenApiClientUtil" Version="11.0.330" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Intercom.OpenApiClientUtil" Version="11.0.330" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Intercom.OpenApiClientUtil" />
                    
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.Intercom.OpenApiClientUtil --version 11.0.330
                    
#r "nuget: Soenneker.Intercom.OpenApiClientUtil, 11.0.330"
                    
#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.Intercom.OpenApiClientUtil@11.0.330
                    
#: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.Intercom.OpenApiClientUtil&version=11.0.330
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Intercom.OpenApiClientUtil&version=11.0.330
                    
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.Intercom.OpenApiClientUtil

Create and reuse an authenticated Intercom generated client over the shared Intercom HTTP transport.

Install

dotnet add package Soenneker.Intercom.OpenApiClientUtil

Configure

{
  "Intercom": {
    "ApiKey": "<access token>"
  }
}

The underlying HTTP provider defaults to https://api.intercom.io and Authorization: Bearer <access token>. It also supports Intercom:ClientBaseUrl, Intercom:AuthHeaderName, and Intercom:AuthHeaderValueTemplate; use {token} in the value template.

Register

using Soenneker.Intercom.OpenApiClientUtil.Registrars;

services.AddIntercomOpenApiClientUtilAsScoped();

The scoped utility deliberately keeps IIntercomOpenApiHttpClient singleton. Disposing a scope releases that utility's generated-client wrapper without tearing down the long-lived HTTP client used by later scopes. Use AddIntercomOpenApiClientUtilAsSingleton() when the generated client should also live for the application lifetime.

Usage

using Soenneker.Intercom.OpenApiClient;
using Soenneker.Intercom.OpenApiClient.Models;
using Soenneker.Intercom.OpenApiClientUtil.Abstract;

IntercomOpenApiClient client = await clientUtil.Get(cancellationToken);

AdminList? admins = await client.Admins.GetAsync(
    cancellationToken: cancellationToken);

Concurrent and repeated Get() calls on the same utility reuse its lazily created generated client. Cancellation affects first-time initialization; pass the token separately to generated request methods as shown above.

Authentication is supplied by the underlying HTTP provider, so the Kiota adapter does not add a second or conflicting header. Let the service container dispose the utility and provider.

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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.330 45 12/3/2026
11.0.329 54 12/3/2026
11.0.328 50 12/3/2026
11.0.327 54 12/3/2026
11.0.326 58 12/3/2026
11.0.325 52 12/2/2026
11.0.322 47 12/2/2026
11.0.321 57 12/2/2026
11.0.320 55 12/2/2026
11.0.319 57 12/2/2026
11.0.318 53 12/1/2026
11.0.317 79 12/1/2026
11.0.316 74 12/1/2026
11.0.315 92 12/1/2026
11.0.314 94 11/30/2026
11.0.313 97 11/30/2026
11.0.312 102 11/30/2026
11.0.311 103 11/27/2026
11.0.310 111 11/26/2026
11.0.309 102 11/25/2026
Loading failed

Updated Multiple NuGet packages