Soenneker.Resend.OpenApiClient 4.0.129

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

Generated request builders and models for Resend email, domains, contacts, audiences, broadcasts, templates, topics, events, logs, webhooks, and API keys.

Installation

dotnet add package Soenneker.Resend.OpenApiClient

Usage

using Microsoft.Kiota.Abstractions.Authentication;
using Microsoft.Kiota.Http.HttpClientLibrary;
using Soenneker.Resend.OpenApiClient;

using var httpClient = new HttpClient();
httpClient.DefaultRequestHeaders.Authorization =
    new System.Net.Http.Headers.AuthenticationHeaderValue("Bearer", apiKey);
httpClient.DefaultRequestHeaders.UserAgent.ParseAdd("MyApplication/1.0");

var adapter = new HttpClientRequestAdapter(
    new AnonymousAuthenticationProvider(),
    httpClient: httpClient)
{
    BaseUrl = "https://api.resend.com"
};

var client = new ResendOpenApiClient(adapter);
var domains = await client.Domains.GetAsync(
    cancellationToken: cancellationToken);

Resend API keys use the bearer scheme. Resend also requires a User-Agent header for direct HTTP requests. The anonymous Kiota authentication provider is intentional because the supplied HttpClient already carries both required headers.

List endpoints support cursor pagination. Use their limit, after, and before query parameters where exposed rather than assuming a response contains every item.

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.Resend.OpenApiClient:

Package Downloads
Soenneker.Resend.ClientUtil

Provides a lazily initialized, authenticated Resend API client.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.130 0 9/2/2026
4.0.129 209 8/31/2026
4.0.128 469 8/26/2026
4.0.127 319 8/25/2026
4.0.126 102 8/24/2026
4.0.125 162 8/22/2026
4.0.124 553 8/20/2026
4.0.123 507 8/15/2026
4.0.122 128 8/15/2026
4.0.121 157 8/13/2026
4.0.120 100 8/12/2026
4.0.119 104 8/11/2026
4.0.118 361 8/8/2026
4.0.117 588 7/29/2026
4.0.116 391 7/28/2026
4.0.115 435 7/23/2026
4.0.114 224 7/21/2026
4.0.113 186 7/21/2026
4.0.112 119 7/20/2026
4.0.111 426 7/17/2026
Loading failed

Correct Resend client documentation