Soenneker.Slack.OpenApiClientUtil 4.0.126

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

Provides lazily initialized Slack Web API clients for conversations, messages, files, users, teams, reactions, apps, workflows, and administration across one or more workspaces.

Installation

dotnet add package Soenneker.Slack.OpenApiClientUtil

Configuration

{
  "Slack": {
    "ApiKey": "xoxb-your-bot-token"
  }
}

Usage

using Soenneker.Slack.OpenApiClient.Models;
using Soenneker.Slack.OpenApiClientUtil.Abstract;
using Soenneker.Slack.OpenApiClientUtil.Registrars;

services.AddSlackOpenApiClientUtilAsSingleton();

var client = await slackClientUtil.Get(cancellationToken);
AuthTestResponse? identity = await client.Api.AuthTest.PostAsync(
    new AuthTestRequest(),
    cancellationToken: cancellationToken);

The parameterless Get() uses Slack:ApiKey and Slack:ClientBaseUrl. Pass connection values explicitly to work with multiple Slack tenants:

SlackOpenApiClient tenantClient = await slackOpenApiClientUtil.Get(tenantApiKey, tenantBaseUrl);

Generated clients are cached per token and base URL within the utility. AddSlackOpenApiClientUtilAsScoped() creates a separate generated-client cache per scope while retaining the singleton authenticated HTTP client provider.

Product 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. 
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
4.0.126 51 9/17/2026
4.0.125 46 9/17/2026
4.0.124 47 9/16/2026
4.0.123 48 9/16/2026
4.0.122 63 9/16/2026
4.0.121 71 9/16/2026
4.0.120 76 9/15/2026
4.0.119 84 9/15/2026
4.0.118 79 9/14/2026
4.0.117 92 9/13/2026
4.0.116 85 9/13/2026
4.0.115 91 9/13/2026
4.0.114 88 9/13/2026
4.0.113 89 9/12/2026
4.0.112 86 9/12/2026
4.0.111 106 9/9/2026
4.0.110 97 9/9/2026
4.0.109 97 9/8/2026
4.0.108 102 9/8/2026
4.0.107 101 9/8/2026
Loading failed