Soenneker.HighLevel.Contacts 11.0.314

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.HighLevel.Contacts --version 11.0.314
                    
NuGet\Install-Package Soenneker.HighLevel.Contacts -Version 11.0.314
                    
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.HighLevel.Contacts" Version="11.0.314" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.HighLevel.Contacts" Version="11.0.314" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.HighLevel.Contacts" />
                    
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.HighLevel.Contacts --version 11.0.314
                    
#r "nuget: Soenneker.HighLevel.Contacts, 11.0.314"
                    
#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.HighLevel.Contacts@11.0.314
                    
#: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.HighLevel.Contacts&version=11.0.314
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.HighLevel.Contacts&version=11.0.314
                    
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.HighLevel.Contacts

Upsert, search, retrieve, update, and delete HighLevel contacts through typed request and response models.

Install

dotnet add package Soenneker.HighLevel.Contacts

Register

using Soenneker.HighLevel.Contacts.Registrars;

services.AddHighLevelContactsUtilAsScoped();

The scoped registration keeps the underlying HighLevel client provider singleton, so disposing a scope does not tear down clients reused by later scopes. Use AddHighLevelContactsUtilAsSingleton() when the contact service itself should live for the application lifetime.

Set HighLevel:LogEnabled to true to emit operation-level logs. API keys are supplied per method call, allowing one service instance to work with multiple HighLevel accounts.

Upsert a contact

using Soenneker.HighLevel.Contacts.Abstract;
using Soenneker.HighLevel.OpenApiClient.Models;

var contact = new UpsertContactDto
{
    LocationId = locationId,
    Email = "person@example.com",
    FirstName = "Morgan",
    LastName = "Lee"
};

UpsertContactsSuccessfulResponseDto? response = await contacts.Upsert(
    apiKey,
    contact,
    cancellationToken);

Upsert and Update normalize a non-null email address to lowercase on the supplied model before sending it.

Look up a contact

ContactsByIdSuccessfulResponseDto? byId = await contacts.GetById(
    apiKey,
    contactId,
    cancellationToken);

ContactsSearchSchema? byEmail = await contacts.GetByEmail(
    apiKey,
    "person@example.com",
    locationId,
    cancellationToken);

GetByEmail performs an advanced search limited to one result and returns the first contact, or null when the response contains no match.

Other operations

ContactsSearchSuccessfulResponseDto? matches = await contacts.Search(
    apiKey,
    searchRequest,
    cancellationToken);

UpdateContactsSuccessfulResponseDto? updated = await contacts.Update(
    apiKey,
    contactId,
    updateRequest,
    cancellationToken);

DeleteContactsSuccessfulResponseDto? deleted = await contacts.Delete(
    apiKey,
    contactId,
    cancellationToken);

HighLevel error responses are surfaced as exceptions by the generated client; a nullable result means the API returned no usable response body, not that an error was suppressed.

Product 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.

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.321 31 11/3/2026
11.0.320 28 11/3/2026
11.0.319 35 11/3/2026
11.0.318 50 11/3/2026
11.0.317 47 11/3/2026
11.0.316 53 11/2/2026
11.0.315 58 11/2/2026
11.0.314 58 11/2/2026
11.0.313 68 10/31/2026
11.0.312 59 10/31/2026
11.0.311 57 10/31/2026
11.0.310 64 10/29/2026
11.0.309 61 10/29/2026
11.0.308 73 10/28/2026
11.0.307 64 10/27/2026
11.0.306 66 10/27/2026
11.0.305 61 10/27/2026
11.0.304 57 10/27/2026
11.0.303 67 10/27/2026
11.0.302 65 10/27/2026
Loading failed

Updated Soenneker.HighLevel.ClientUtil to 11.0.388