Soenneker.WorkOs.OpenApiClient
11.0.179
Prefix Reserved
dotnet add package Soenneker.WorkOs.OpenApiClient --version 11.0.179
NuGet\Install-Package Soenneker.WorkOs.OpenApiClient -Version 11.0.179
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.WorkOs.OpenApiClient" Version="11.0.179" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.WorkOs.OpenApiClient" Version="11.0.179" />
<PackageReference Include="Soenneker.WorkOs.OpenApiClient" />
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.WorkOs.OpenApiClient --version 11.0.179
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.WorkOs.OpenApiClient, 11.0.179"
#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.WorkOs.OpenApiClient@11.0.179
#: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.WorkOs.OpenApiClient&version=11.0.179
#tool nuget:?package=Soenneker.WorkOs.OpenApiClient&version=11.0.179
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Soenneker.WorkOs.OpenApiClient
A Kiota client for WorkOS organizations, users, directory sync, SSO, audit logs, webhooks, and User Management.
Installation
dotnet add package Soenneker.WorkOs.OpenApiClient
Usage
using System.Net.Http.Headers;
using Microsoft.Kiota.Abstractions.Authentication;
using Microsoft.Kiota.Http.HttpClientLibrary;
using Soenneker.WorkOs.OpenApiClient;
using Soenneker.WorkOs.OpenApiClient.Models;
var httpClient = new HttpClient();
httpClient.DefaultRequestHeaders.Authorization =
new AuthenticationHeaderValue("Bearer", "sk_example_123456789");
var authProvider = new AnonymousAuthenticationProvider();
var adapter = new HttpClientRequestAdapter(authProvider, httpClient: httpClient)
{
BaseUrl = "https://api.workos.com"
};
var client = new WorkOsOpenApiClient(adapter);
OrganizationList? result = await client.Organizations.GetAsync(request =>
{
request.QueryParameters.Limit = 10;
});
foreach (Organization organization in result?.Data ?? [])
{
Console.WriteLine($"{organization.Id}: {organization.Name}");
}
Use a secret API key from the WorkOS environment whose organizations and users you intend to manage. Keep browser-facing AuthKit flows and API keys separated; API keys must remain on a trusted server.
| Product | Versions 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.
-
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.WorkOs.OpenApiClient:
| Package | Downloads |
|---|---|
|
Soenneker.WorkOs.OpenApiClientUtil
Provides a cached WorkOS Kiota client backed by a shared configured HTTP transport. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.179 | 0 | 12/4/2026 |
| 11.0.178 | 77 | 12/3/2026 |
| 11.0.177 | 129 | 12/2/2026 |
| 11.0.176 | 69 | 12/2/2026 |
| 11.0.175 | 225 | 12/1/2026 |
| 11.0.174 | 186 | 11/30/2026 |
| 11.0.173 | 243 | 11/28/2026 |
| 11.0.172 | 131 | 11/26/2026 |
| 11.0.171 | 128 | 11/25/2026 |
| 11.0.170 | 135 | 11/24/2026 |
| 11.0.169 | 185 | 11/20/2026 |
| 11.0.168 | 140 | 11/19/2026 |
| 11.0.167 | 209 | 11/18/2026 |
| 11.0.165 | 157 | 11/18/2026 |
| 11.0.164 | 125 | 11/17/2026 |
| 11.0.163 | 125 | 11/17/2026 |
| 11.0.162 | 97 | 11/17/2026 |
| 11.0.161 | 174 | 11/14/2026 |
| 11.0.160 | 131 | 11/13/2026 |
| 11.0.159 | 152 | 11/12/2026 |
Loading failed
Update Soenneker.WorkOs.OpenApiClient