Soenneker.Resend.OpenApiClient 4.0.159

Prefix Reserved
dotnet add package Soenneker.Resend.OpenApiClient --version 4.0.159
                    
NuGet\Install-Package Soenneker.Resend.OpenApiClient -Version 4.0.159
                    
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.159" />
                    
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.159" />
                    
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.159
                    
#r "nuget: Soenneker.Resend.OpenApiClient, 4.0.159"
                    
#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.159
                    
#: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.159
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Resend.OpenApiClient&version=4.0.159
                    
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.159 73 10/16/2026
4.0.158 269 10/15/2026
4.0.156 178 10/14/2026
4.0.150 81 10/13/2026
4.0.149 81 10/13/2026
4.0.148 83 10/12/2026
4.0.147 403 10/11/2026
4.0.146 88 10/10/2026
4.0.145 685 9/29/2026
4.0.144 355 9/25/2026
4.0.143 217 9/24/2026
4.0.142 97 9/24/2026
4.0.141 455 9/18/2026
4.0.140 277 9/15/2026
4.0.139 562 9/12/2026
4.0.138 163 9/11/2026
4.0.137 256 9/10/2026
4.0.136 328 9/8/2026
4.0.135 557 9/4/2026
4.0.134 284 9/4/2026
Loading failed

Update Soenneker.Resend.OpenApiClient