Soenneker.Slack.OpenApiClientUtil 4.0.123

Prefix Reserved
dotnet add package Soenneker.Slack.OpenApiClientUtil --version 4.0.123
                    
NuGet\Install-Package Soenneker.Slack.OpenApiClientUtil -Version 4.0.123
                    
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.123" />
                    
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.123" />
                    
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.123
                    
#r "nuget: Soenneker.Slack.OpenApiClientUtil, 4.0.123"
                    
#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.123
                    
#: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.123
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Slack.OpenApiClientUtil&version=4.0.123
                    
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.123 0 9/16/2026
4.0.122 22 9/16/2026
4.0.121 38 9/16/2026
4.0.120 48 9/15/2026
4.0.119 58 9/15/2026
4.0.118 54 9/14/2026
4.0.117 64 9/13/2026
4.0.116 60 9/13/2026
4.0.115 66 9/13/2026
4.0.114 63 9/13/2026
4.0.113 64 9/12/2026
4.0.112 62 9/12/2026
4.0.111 98 9/9/2026
4.0.110 93 9/9/2026
4.0.109 94 9/8/2026
4.0.108 98 9/8/2026
4.0.107 97 9/8/2026
4.0.106 94 9/8/2026
4.0.105 96 9/8/2026
4.0.104 98 9/7/2026
Loading failed