Soenneker.Intercom.OpenApiClient
11.0.182
Prefix Reserved
dotnet add package Soenneker.Intercom.OpenApiClient --version 11.0.182
NuGet\Install-Package Soenneker.Intercom.OpenApiClient -Version 11.0.182
<PackageReference Include="Soenneker.Intercom.OpenApiClient" Version="11.0.182" />
<PackageVersion Include="Soenneker.Intercom.OpenApiClient" Version="11.0.182" />
<PackageReference Include="Soenneker.Intercom.OpenApiClient" />
paket add Soenneker.Intercom.OpenApiClient --version 11.0.182
#r "nuget: Soenneker.Intercom.OpenApiClient, 11.0.182"
#:package Soenneker.Intercom.OpenApiClient@11.0.182
#addin nuget:?package=Soenneker.Intercom.OpenApiClient&version=11.0.182
#tool nuget:?package=Soenneker.Intercom.OpenApiClient&version=11.0.182
Soenneker.Intercom.OpenApiClient
Call Intercom endpoints through a Kiota-generated client with typed request builders and models.
Install
dotnet add package Soenneker.Intercom.OpenApiClient
Create a client
using System.Net.Http.Headers;
using Microsoft.Kiota.Abstractions.Authentication;
using Microsoft.Kiota.Http.HttpClientLibrary;
using Soenneker.Intercom.OpenApiClient;
var httpClient = new HttpClient
{
BaseAddress = new Uri("https://api.intercom.io/")
};
httpClient.DefaultRequestHeaders.Authorization =
new AuthenticationHeaderValue("Bearer", accessToken);
var adapter = new HttpClientRequestAdapter(
new AnonymousAuthenticationProvider(),
httpClient: httpClient);
var client = new IntercomOpenApiClient(adapter);
The HttpClient supplies authentication, so the Kiota adapter uses anonymous authentication. Reuse the transport rather than constructing one per request, and dispose it when its owning application component shuts down.
For application registration, lazy client reuse, and coordinated transport ownership, use Soenneker.Intercom.OpenApiClientUtil instead of constructing the generated client directly.
Call an endpoint
using Soenneker.Intercom.OpenApiClient.Models;
AdminList? admins = await client.Admins.GetAsync(
cancellationToken: cancellationToken);
Top-level properties such as Contacts, Companies, Conversations, Articles, and Admins expose the generated request builders. Types under Soenneker.Intercom.OpenApiClient.Models represent request and response bodies.
HTTP failures are surfaced through Kiota exceptions. Nullable results indicate that an endpoint returned 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.2.0)
- Microsoft.Kiota.Serialization.Form (>= 2.2.0)
- Microsoft.Kiota.Serialization.Json (>= 2.2.0)
- Microsoft.Kiota.Serialization.Multipart (>= 2.2.0)
- Microsoft.Kiota.Serialization.Text (>= 2.2.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.Intercom.OpenApiClient:
| 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.182 | 63 | 12/3/2026 |
| 11.0.180 | 113 | 12/2/2026 |
| 11.0.179 | 126 | 12/1/2026 |
| 11.0.178 | 199 | 11/27/2026 |
| 11.0.177 | 107 | 11/26/2026 |
| 11.0.176 | 111 | 11/25/2026 |
| 11.0.175 | 118 | 11/24/2026 |
| 11.0.174 | 119 | 11/20/2026 |
| 11.0.173 | 126 | 11/19/2026 |
| 11.0.172 | 135 | 11/18/2026 |
| 11.0.171 | 121 | 11/18/2026 |
| 11.0.170 | 99 | 11/18/2026 |
| 11.0.169 | 128 | 11/18/2026 |
| 11.0.168 | 106 | 11/17/2026 |
| 11.0.167 | 111 | 11/17/2026 |
| 11.0.166 | 139 | 11/14/2026 |
| 11.0.165 | 121 | 11/13/2026 |
| 11.0.164 | 105 | 11/12/2026 |
| 11.0.163 | 117 | 11/11/2026 |
| 11.0.162 | 141 | 11/11/2026 |
Update Soenneker.Intercom.OpenApiClient