Soenneker.Zoho.HttpClients
11.0.208
Prefix Reserved
dotnet add package Soenneker.Zoho.HttpClients --version 11.0.208
NuGet\Install-Package Soenneker.Zoho.HttpClients -Version 11.0.208
<PackageReference Include="Soenneker.Zoho.HttpClients" Version="11.0.208" />
<PackageVersion Include="Soenneker.Zoho.HttpClients" Version="11.0.208" />
<PackageReference Include="Soenneker.Zoho.HttpClients" />
paket add Soenneker.Zoho.HttpClients --version 11.0.208
#r "nuget: Soenneker.Zoho.HttpClients, 11.0.208"
#:package Soenneker.Zoho.HttpClients@11.0.208
#addin nuget:?package=Soenneker.Zoho.HttpClients&version=11.0.208
#tool nuget:?package=Soenneker.Zoho.HttpClients&version=11.0.208
Soenneker.Zoho.HttpClients
Provides cached HttpClient instances configured for Zoho CRM OAuth access tokens and data-center API origins.
Installation
dotnet add package Soenneker.Zoho.HttpClients
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 response for other data centers, such as https://www.zohoapis.eu/crm/v8/. Zoho:ApiKey remains supported as a legacy alias for Zoho:AccessToken.
The default authorization header is Authorization: Zoho-oauthtoken {token}. AuthHeaderName and AuthHeaderValueTemplate are available for nonstandard integrations.
Registration
services.AddZohoOpenApiHttpClientAsSingleton();
Scoped registration is also available:
services.AddZohoOpenApiHttpClientAsScoped();
Usage
public sealed class ZohoUserReader
{
private readonly IZohoOpenApiHttpClient _zoho;
public ZohoUserReader(IZohoOpenApiHttpClient zoho)
{
_zoho = zoho;
}
public async Task<string> GetUsers(CancellationToken cancellationToken)
{
HttpClient client = await _zoho.Get(cancellationToken);
return await client.GetStringAsync("users?type=AllUsers", cancellationToken);
}
}
Pass connection values explicitly when serving multiple Zoho tenants or data centers:
HttpClient tenantClient = await zohoHttpClient.Get(
tenantAccessToken,
"https://www.zohoapis.eu/crm/v8/",
cancellationToken);
The provider caches a separate client per access-token/base-URL pair and removes the clients it owns when disposed. It does not obtain or refresh OAuth tokens; Zoho access tokens expire and should be refreshed by the application.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Soenneker.Extensions.Configuration (>= 11.0.917)
- Soenneker.Hashing.XxHash (>= 11.0.135)
- Soenneker.Utils.HttpClientCache (>= 11.0.2152)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.Zoho.HttpClients:
| Package | Downloads |
|---|---|
|
Soenneker.Zoho.OpenApiClientUtil
Provides cached Zoho CRM OpenAPI clients for access-token and data-center combinations. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.208 | 88 | 11/11/2026 |
| 11.0.207 | 145 | 11/11/2026 |
| 11.0.206 | 102 | 11/11/2026 |
| 11.0.205 | 100 | 11/11/2026 |
| 11.0.204 | 81 | 11/11/2026 |
| 11.0.203 | 82 | 11/11/2026 |
| 11.0.202 | 300 | 11/3/2026 |
| 11.0.201 | 110 | 11/3/2026 |
| 11.0.200 | 100 | 11/3/2026 |
| 11.0.199 | 103 | 11/3/2026 |
| 11.0.198 | 103 | 11/3/2026 |
| 11.0.197 | 107 | 11/3/2026 |
| 11.0.196 | 222 | 10/27/2026 |
| 11.0.195 | 123 | 10/27/2026 |
| 11.0.194 | 119 | 10/27/2026 |
| 11.0.192 | 110 | 10/26/2026 |
| 11.0.191 | 94 | 10/26/2026 |
| 11.0.190 | 96 | 10/26/2026 |
| 4.0.189 | 127 | 10/26/2026 |
| 4.0.188 | 238 | 10/15/2026 |
Updated Multiple NuGet packages