Soenneker.Zoho.HttpClients
4.0.136
Prefix Reserved
See the version list below for details.
dotnet add package Soenneker.Zoho.HttpClients --version 4.0.136
NuGet\Install-Package Soenneker.Zoho.HttpClients -Version 4.0.136
<PackageReference Include="Soenneker.Zoho.HttpClients" Version="4.0.136" />
<PackageVersion Include="Soenneker.Zoho.HttpClients" Version="4.0.136" />
<PackageReference Include="Soenneker.Zoho.HttpClients" />
paket add Soenneker.Zoho.HttpClients --version 4.0.136
#r "nuget: Soenneker.Zoho.HttpClients, 4.0.136"
#:package Soenneker.Zoho.HttpClients@4.0.136
#addin nuget:?package=Soenneker.Zoho.HttpClients&version=4.0.136
#tool nuget:?package=Soenneker.Zoho.HttpClients&version=4.0.136
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 | 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. |
-
net10.0
- Soenneker.Extensions.Configuration (>= 4.0.879)
- Soenneker.Hashing.XxHash (>= 4.0.90)
- Soenneker.Utils.HttpClientCache (>= 4.0.2063)
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 |
|---|---|---|
| 4.0.141 | 0 | 9/9/2026 |
| 4.0.140 | 0 | 9/9/2026 |
| 4.0.139 | 0 | 9/9/2026 |
| 4.0.138 | 0 | 9/8/2026 |
| 4.0.137 | 49 | 9/8/2026 |
| 4.0.136 | 54 | 9/8/2026 |
| 4.0.135 | 53 | 9/7/2026 |
| 4.0.134 | 59 | 9/7/2026 |
| 4.0.133 | 53 | 9/7/2026 |
| 4.0.132 | 51 | 9/7/2026 |
| 4.0.131 | 83 | 9/6/2026 |
| 4.0.130 | 131 | 9/5/2026 |
| 4.0.129 | 53 | 9/5/2026 |
| 4.0.128 | 91 | 9/4/2026 |
| 4.0.126 | 64 | 9/4/2026 |
| 4.0.125 | 59 | 9/4/2026 |
| 4.0.124 | 62 | 9/4/2026 |
| 4.0.123 | 61 | 9/4/2026 |
| 4.0.120 | 81 | 9/3/2026 |
| 4.0.119 | 129 | 9/1/2026 |