Soenneker.Zapier.Webhooks 4.0.49

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

Soenneker.Zapier.Webhooks

Sends JSON payloads to Zapier webhook URLs and returns Zapier's response body.

Install

dotnet add package Soenneker.Zapier.Webhooks

Registration

using Soenneker.Zapier.Webhooks.Registrars;

services.AddZapierWebhookUtilAsSingleton();

Scoped registration is also available:

services.AddZapierWebhookUtilAsScoped();

Both registrations reuse the singleton HTTP client cache.

Usage

Use the complete webhook URL supplied by Zapier:

public sealed class LeadNotifier
{
    private readonly IZapierWebhookUtil _webhooks;

    public LeadNotifier(IZapierWebhookUtil webhooks)
    {
        _webhooks = webhooks;
    }

    public ValueTask<string> Notify(string webhookUrl, string email, CancellationToken cancellationToken)
    {
        return _webhooks.Trigger(webhookUrl, new
        {
            eventName = "lead.created",
            email,
            occurredAt = DateTimeOffset.UtcNow
        }, cancellationToken);
    }
}

The payload is serialized with System.Net.Http.Json. A non-success HTTP response throws HttpRequestException; a successful response is returned as a string. Cancellation can stop the pending HTTP operation but cannot undo a webhook Zapier has already accepted.

API

API What it does Result / important behavior
IZapierWebhookUtil.Trigger(webhookUrl, payload, cancellationToken) Sends a JSON payload to a Zapier webhook URL. The response body returned by Zapier.
ZapierWebhookUtilRegistrar.AddZapierWebhookUtilAsSingleton(services) Adds IZapierWebhookUtil as a singleton service. The same service collection, so additional registrations can be chained.
ZapierWebhookUtilRegistrar.AddZapierWebhookUtilAsScoped(services) Adds IZapierWebhookUtil as a scoped service. The same service collection, so additional registrations can be chained.
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

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.49 41 9/17/2026
4.0.48 54 9/16/2026
4.0.47 50 9/16/2026
4.0.46 46 9/16/2026
4.0.45 81 9/15/2026
4.0.44 68 9/15/2026
4.0.43 108 9/13/2026
4.0.42 80 9/13/2026
4.0.41 82 9/13/2026
4.0.40 87 9/12/2026
4.0.38 116 9/9/2026
4.0.37 96 9/9/2026
4.0.36 100 9/8/2026
4.0.35 100 9/7/2026
4.0.34 104 9/7/2026
4.0.33 118 9/5/2026
4.0.32 103 9/4/2026
4.0.31 100 9/4/2026
4.0.30 92 9/4/2026
4.0.27 109 9/3/2026
Loading failed