Soenneker.Pipedrive.HttpClients 4.0.138

Prefix Reserved
dotnet add package Soenneker.Pipedrive.HttpClients --version 4.0.138
                    
NuGet\Install-Package Soenneker.Pipedrive.HttpClients -Version 4.0.138
                    
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.Pipedrive.HttpClients" Version="4.0.138" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Pipedrive.HttpClients" Version="4.0.138" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Pipedrive.HttpClients" />
                    
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.Pipedrive.HttpClients --version 4.0.138
                    
#r "nuget: Soenneker.Pipedrive.HttpClients, 4.0.138"
                    
#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.Pipedrive.HttpClients@4.0.138
                    
#: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.Pipedrive.HttpClients&version=4.0.138
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Pipedrive.HttpClients&version=4.0.138
                    
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.Pipedrive.HttpClients

Provides cached HttpClient instances for authenticated Pipedrive API v2 requests, including multi-account use.

Installation

dotnet add package Soenneker.Pipedrive.HttpClients

Configuration

{
  "Pipedrive": {
    "ApiKey": "your-oauth-access-token",
    "ClientBaseUrl": "https://api.pipedrive.com/api/v2/"
  }
}

Pipedrive:ApiKey is retained as the configuration key for compatibility, but its default bearer template expects an OAuth access token. A personal Pipedrive API token is not interchangeable; Pipedrive requires personal tokens in the api_token query parameter.

Usage

using Soenneker.Pipedrive.HttpClients.Abstract;
using Soenneker.Pipedrive.HttpClients.Registrars;

services.AddPipedriveOpenApiHttpClientAsSingleton();

IPipedriveOpenApiHttpClient pipedrive = serviceProvider
    .GetRequiredService<IPipedriveOpenApiHttpClient>();

HttpClient client = await pipedrive.Get(cancellationToken);
HttpResponseMessage response = await client.GetAsync("activities", cancellationToken);
response.EnsureSuccessStatusCode();

To work with multiple Pipedrive accounts, pass each account's OAuth access token explicitly:

HttpClient accountClient = await pipedrive.Get(accessToken, cancellationToken);

Each token receives its own cached client. Disposing the provider removes every client that provider created without invalidating clients owned by other provider instances.

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 (1)

Showing the top 1 NuGet packages that depend on Soenneker.Pipedrive.HttpClients:

Package Downloads
Soenneker.Pipedrive.OpenApiClientUtil

Provides cached, configured clients for Pipedrive API v2.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.138 38 9/13/2026
4.0.137 31 9/13/2026
4.0.136 46 9/13/2026
4.0.135 51 9/13/2026
4.0.134 48 9/12/2026
4.0.133 46 9/12/2026
4.0.132 36 9/12/2026
4.0.131 128 9/9/2026
4.0.130 107 9/9/2026
4.0.129 82 9/9/2026
4.0.128 87 9/9/2026
4.0.127 98 9/8/2026
4.0.126 120 9/8/2026
4.0.125 99 9/8/2026
4.0.124 100 9/7/2026
4.0.123 135 9/7/2026
4.0.122 91 9/7/2026
4.0.121 100 9/7/2026
4.0.120 120 9/5/2026
4.0.119 116 9/5/2026
Loading failed