Soenneker.Zoho.OpenApiClientUtil
11.0.211
Prefix Reserved
See the version list below for details.
dotnet add package Soenneker.Zoho.OpenApiClientUtil --version 11.0.211
NuGet\Install-Package Soenneker.Zoho.OpenApiClientUtil -Version 11.0.211
<PackageReference Include="Soenneker.Zoho.OpenApiClientUtil" Version="11.0.211" />
<PackageVersion Include="Soenneker.Zoho.OpenApiClientUtil" Version="11.0.211" />
<PackageReference Include="Soenneker.Zoho.OpenApiClientUtil" />
paket add Soenneker.Zoho.OpenApiClientUtil --version 11.0.211
#r "nuget: Soenneker.Zoho.OpenApiClientUtil, 11.0.211"
#:package Soenneker.Zoho.OpenApiClientUtil@11.0.211
#addin nuget:?package=Soenneker.Zoho.OpenApiClientUtil&version=11.0.211
#tool nuget:?package=Soenneker.Zoho.OpenApiClientUtil&version=11.0.211
Soenneker.Zoho.OpenApiClientUtil
Provides cached ZohoOpenApiClient instances for access-token and data-center combinations.
Installation
dotnet add package Soenneker.Zoho.OpenApiClientUtil
Configuration
{
"Zoho": {
"AccessToken": "your-oauth-access-token",
"ClientBaseUrl": "https://www.zohoapis.com/crm/v8/"
}
}
The US CRM v8 base URL is used when ClientBaseUrl is omitted. Use the api_domain returned by Zoho's token endpoint for other data centers. Zoho:ApiKey remains supported as a legacy alias for Zoho:AccessToken.
Registration
services.AddZohoOpenApiClientUtilAsSingleton();
Scoped registration is also available:
services.AddZohoOpenApiClientUtilAsScoped();
The scoped provider borrows the singleton HTTP transport. Disposing it releases its generated clients without removing the shared transport.
Usage
public sealed class ZohoUserReader
{
private readonly IZohoOpenApiClientUtil _zoho;
public ZohoUserReader(IZohoOpenApiClientUtil zoho)
{
_zoho = zoho;
}
public async Task PrintUsers(CancellationToken cancellationToken)
{
ZohoOpenApiClient client = await _zoho.Get(cancellationToken);
var response = await client.Users.GetAsync(cancellationToken: cancellationToken);
foreach (var user in response?.Users ?? [])
Console.WriteLine($"{user.FullName} ({user.Email})");
}
}
Pass connection values explicitly when serving multiple Zoho tenants or data centers:
ZohoOpenApiClient tenantClient = await zohoClientUtil.Get(
tenantAccessToken,
"https://www.zohoapis.eu/crm/v8/",
cancellationToken);
The provider caches one generated client per access-token/base-URL pair. It does not obtain or refresh OAuth tokens.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Soenneker.Zoho.HttpClients (>= 11.0.206)
- Soenneker.Zoho.OpenApiClient (>= 11.0.62)
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 |
|---|---|---|
| 11.0.212 | 86 | 11/11/2026 |
| 11.0.211 | 82 | 11/11/2026 |
| 11.0.210 | 70 | 11/11/2026 |
| 11.0.209 | 82 | 11/11/2026 |
| 11.0.208 | 216 | 11/4/2026 |
| 11.0.207 | 90 | 11/3/2026 |
| 11.0.206 | 95 | 11/3/2026 |
| 11.0.205 | 97 | 11/3/2026 |
| 11.0.204 | 91 | 11/3/2026 |
| 11.0.203 | 93 | 11/3/2026 |
| 11.0.202 | 92 | 11/3/2026 |
| 11.0.201 | 97 | 11/3/2026 |
| 11.0.200 | 88 | 11/2/2026 |
| 11.0.199 | 98 | 11/2/2026 |
| 11.0.198 | 99 | 11/2/2026 |
| 11.0.197 | 104 | 10/31/2026 |
| 11.0.196 | 104 | 10/31/2026 |
| 11.0.195 | 99 | 10/30/2026 |
| 11.0.194 | 126 | 10/28/2026 |
| 11.0.193 | 97 | 10/27/2026 |
Updated Soenneker.Zoho.HttpClients to 11.0.206