Soenneker.HighLevel.Contacts
4.0.269
Prefix Reserved
dotnet add package Soenneker.HighLevel.Contacts --version 4.0.269
NuGet\Install-Package Soenneker.HighLevel.Contacts -Version 4.0.269
<PackageReference Include="Soenneker.HighLevel.Contacts" Version="4.0.269" />
<PackageVersion Include="Soenneker.HighLevel.Contacts" Version="4.0.269" />
<PackageReference Include="Soenneker.HighLevel.Contacts" />
paket add Soenneker.HighLevel.Contacts --version 4.0.269
#r "nuget: Soenneker.HighLevel.Contacts, 4.0.269"
#:package Soenneker.HighLevel.Contacts@4.0.269
#addin nuget:?package=Soenneker.HighLevel.Contacts&version=4.0.269
#tool nuget:?package=Soenneker.HighLevel.Contacts&version=4.0.269
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 | 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
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.12)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.12)
- Soenneker.Extensions.String (>= 4.0.770)
- Soenneker.HighLevel.ClientUtil (>= 4.0.345)
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 |
|---|---|---|
| 4.0.269 | 0 | 10/1/2026 |
| 4.0.268 | 0 | 10/1/2026 |
| 4.0.267 | 0 | 10/1/2026 |
| 4.0.266 | 47 | 9/30/2026 |
| 4.0.265 | 59 | 9/29/2026 |
| 4.0.264 | 56 | 9/26/2026 |
| 4.0.263 | 51 | 9/26/2026 |
| 4.0.262 | 52 | 9/25/2026 |
| 4.0.260 | 77 | 9/24/2026 |
| 4.0.259 | 73 | 9/24/2026 |
| 4.0.258 | 89 | 9/24/2026 |
| 4.0.257 | 176 | 9/18/2026 |
| 4.0.256 | 107 | 9/17/2026 |
| 4.0.255 | 93 | 9/16/2026 |
| 4.0.254 | 93 | 9/16/2026 |
| 4.0.253 | 91 | 9/16/2026 |
| 4.0.252 | 86 | 9/15/2026 |
| 4.0.251 | 101 | 9/13/2026 |
| 4.0.250 | 94 | 9/13/2026 |
| 4.0.249 | 98 | 9/12/2026 |
Updated Soenneker.HighLevel.ClientUtil to 4.0.345