Soenneker.Intercom.HttpClients 11.0.207

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

Reuse an authenticated HTTP client for Intercom's API, with configurable base URL and authentication header formatting.

Install

dotnet add package Soenneker.Intercom.HttpClients

Configure

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

ApiKey is required. The defaults target https://api.intercom.io and send Authorization: Bearer <access token>.

Optional overrides:

{
  "Intercom": {
    "ClientBaseUrl": "https://api.intercom.io",
    "AuthHeaderName": "Authorization",
    "AuthHeaderValueTemplate": "Bearer {token}"
  }
}

AuthHeaderValueTemplate must contain {token} where the API key should be inserted.

Register

using Soenneker.Intercom.HttpClients.Registrars;

services.AddIntercomOpenApiHttpClientAsSingleton();

Use AddIntercomOpenApiHttpClientAsScoped() only when each scope should own its transport. Provider instances use isolated cache keys, so disposing one scope removes only its own client.

Usage

using Soenneker.Intercom.HttpClients.Abstract;

HttpClient client = await intercomHttpClient.Get(cancellationToken);

HttpResponseMessage response = await client.GetAsync(
    "contacts",
    cancellationToken);
response.EnsureSuccessStatusCode();

Repeated Get() calls on the same provider reuse its client. The provider owns that client; let the service container dispose the provider rather than disposing the returned instance directly.

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.Intercom.HttpClients:

Package Downloads
Soenneker.Intercom.OpenApiClientUtil

Provides a lazily created Intercom 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 64 12/3/2026
11.0.206 84 12/3/2026
11.0.205 85 12/3/2026
11.0.204 81 12/3/2026
11.0.203 83 12/2/2026
11.0.201 73 12/2/2026
11.0.200 101 12/2/2026
11.0.199 93 12/2/2026
11.0.198 94 12/2/2026
11.0.197 95 12/1/2026
11.0.196 87 12/1/2026
11.0.195 94 12/1/2026
11.0.194 98 12/1/2026
11.0.193 106 11/30/2026
11.0.192 93 11/30/2026
11.0.191 127 11/30/2026
11.0.190 91 11/30/2026
11.0.189 105 11/29/2026
11.0.188 199 11/19/2026
11.0.187 101 11/19/2026
Loading failed

Updated Multiple NuGet packages