Soenneker.HighLevel.Contacts
11.0.348
Prefix Reserved
See the version list below for details.
dotnet add package Soenneker.HighLevel.Contacts --version 11.0.348
NuGet\Install-Package Soenneker.HighLevel.Contacts -Version 11.0.348
<PackageReference Include="Soenneker.HighLevel.Contacts" Version="11.0.348" />
<PackageVersion Include="Soenneker.HighLevel.Contacts" Version="11.0.348" />
<PackageReference Include="Soenneker.HighLevel.Contacts" />
paket add Soenneker.HighLevel.Contacts --version 11.0.348
#r "nuget: Soenneker.HighLevel.Contacts, 11.0.348"
#:package Soenneker.HighLevel.Contacts@11.0.348
#addin nuget:?package=Soenneker.HighLevel.Contacts&version=11.0.348
#tool nuget:?package=Soenneker.HighLevel.Contacts&version=11.0.348
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 | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Soenneker.HighLevel.ClientUtil (>= 11.0.427)
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.349 | 0 | 12/1/2026 |
| 11.0.348 | 0 | 12/1/2026 |
| 11.0.347 | 0 | 12/1/2026 |
| 11.0.346 | 0 | 12/1/2026 |
| 11.0.345 | 0 | 11/30/2026 |
| 11.0.344 | 38 | 11/30/2026 |
| 11.0.343 | 41 | 11/30/2026 |
| 11.0.342 | 43 | 11/29/2026 |
| 11.0.341 | 50 | 11/29/2026 |
| 11.0.340 | 52 | 11/28/2026 |
| 11.0.339 | 103 | 11/22/2026 |
| 11.0.338 | 101 | 11/21/2026 |
| 11.0.337 | 120 | 11/19/2026 |
| 11.0.336 | 96 | 11/19/2026 |
| 11.0.335 | 105 | 11/19/2026 |
| 11.0.334 | 91 | 11/18/2026 |
| 11.0.333 | 91 | 11/18/2026 |
| 11.0.332 | 102 | 11/17/2026 |
| 11.0.331 | 104 | 11/15/2026 |
| 11.0.330 | 104 | 11/15/2026 |
Updated Soenneker.HighLevel.ClientUtil to 11.0.427