Questions · Published 2026-11-29 · Updated 2026-11-29 · AgentiSend
Resend SDKs: Node, Python, Go, PHP, Java, Ruby, Rust
Resend SDKs for Node, Python, Go, PHP, Java, Ruby and Rust: each official package and version, read from its registry on 2026-11-28.
Resend SDKs for Node, Python, Go, PHP, Java, Ruby and Rust are the official clients. Each package name and version below was read from its registry on 2026-11-28. Resend's SDK index lists 10 clients on that date, including Laravel, .NET and a Chat SDK adapter.
We make AgentiSend. The section labelled for us says which of those published builds can point at this API, and it stops there. A method runs here only when the compatibility client says so. We are not Resend, and this page is not Resend support.
Official packages
The version column is the registry's latest on 2026-11-28. "Another host" is Yes only when the linked source at that version reads a host setting. The Guide column is our send page for that language, which is a different client.
| Language | Package | Version | Install | Host setting | Another host | Guide |
|---|---|---|---|---|---|---|
| Node.js | resend | 6.41.0 | npm install resend | RESEND_BASE_URL, or baseUrl on the constructor | Yes | Node.js |
| PHP | resend/resend-php | 1.19.0 | composer require resend/resend-php | RESEND_BASE_URL | Yes | PHP |
| Laravel | resend/resend-laravel | 1.7.0 | composer require resend/resend-laravel | RESEND_BASE_URL on the PHP client. ResendServiceProvider calls Resend::client | Yes | Laravel |
| Python | resend | 2.56.2 | pip install resend | RESEND_API_URL (not RESEND_BASE_URL) | Yes | Python |
| Ruby | resend | 1.22.0 | gem install resend | RESEND_BASE_URL | Yes | Ruby |
| Go | github.com/resend/resend-go/v4 | 4.15.0 | go get github.com/resend/resend-go/v4 | RESEND_BASE_URL, or set Client.BaseURL after NewClient | Yes | Go |
| Java | com.resend:resend-java | 4.4.0 | implementation 'com.resend:resend-java:+' | None. HttpClient.BASE_API is https://api.resend.com | No | Java |
| Rust | resend-rs | 0.38.0 | cargo add resend-rs | RESEND_BASE_URL, or ConfigBuilder::base_url. A value that is not a URL panics | Yes | Rust |
| .NET | Resend | 0.29.0 | dotnet add package Resend | ResendClientOptions.ApiUrl (default https://api.resend.com) | Yes | .NET |
| Chat SDK adapter | @resend/chat-sdk-adapter | 0.6.1 | npm install @resend/chat-sdk-adapter | Not a send client. Host setting not read | No | — |
The Go send guide installs go get github.com/resend/resend-go/v4. The module proxy's latest for that path on 2026-11-28 was 4.15.0. The same proxy still serves github.com/resend/resend-go/v3 at v3.17.0 (2026-08-24) and github.com/resend/resend-go/v2 at v2.28.0 (2025-10-29). An import of github.com/resend/resend-go/v2 or /v3 is not the package the guide installs.
The Java send guide writes implementation 'com.resend:resend-java:+' and a Maven LATEST. Maven Central's latest that day was com.resend:resend-java 4.4.0. Tag v4.4.0 of the Java repository sets BASE_API to https://api.resend.com and the tree at that tag has no other host setting.
Send one email
The samples are the official send guides, shortened to the call. onboarding@resend.dev and delivered@resend.dev are Resend's addresses, from those guides.
Node, from Send emails with Node.js:
npm install resendimport { Resend } from 'resend';
const resend = new Resend(process.env.RESEND_API_KEY);
const { data, error } = await resend.emails.send({
from: 'Acme <onboarding@resend.dev>',
to: ['delivered@resend.dev'],
subject: 'Hello',
html: '<p>Hello</p>',
});Python, from Send emails with Python. The client raises on failure. It does not return an error object.
pip install resendimport os
import resend
resend.api_key = os.environ["RESEND_API_KEY"]
email = resend.Emails.send({
"from": "Acme <onboarding@resend.dev>",
"to": ["delivered@resend.dev"],
"subject": "Hello",
"html": "<strong>Hello</strong>",
})Go, from Send emails with Go:
go get github.com/resend/resend-go/v4client := resend.NewClient("re_xxxxxxxxx")
sent, err := client.Emails.Send(&resend.SendEmailRequest{
From: "Acme <onboarding@resend.dev>",
To: []string{"delivered@resend.dev"},
Subject: "Hello",
Html: "<strong>Hello</strong>",
})PHP, Ruby, Rust and .NET use the same four fields. The install line for each is in the table. PHP is Resend::client('re_xxxxxxxxx') then $resend->emails->send(...). Ruby sets Resend.api_key and calls Resend::Emails.send. Rust builds CreateEmailBaseOptions and awaits resend.emails.send. .NET calls EmailSendAsync on IResend.
The Node send guide also lists a react field on emails.send. Rendering a component and then sending the HTML is React Email MCP.
Three names that are easy to mix up
Python reads RESEND_API_URL. The request URL is resend.api_url plus the path (resend/request.py at the version in the table). Setting RESEND_BASE_URL does nothing for that package.
The .NET send guide sets ApiToken from RESEND_APITOKEN. In ResendClient.cs at the version in the table, an empty token falls back to RESEND_API_KEY. The host is a different property, ApiUrl, and that guide does not set it.
Rust reads RESEND_BASE_URL and panics when the variable is set to something that is not a URL (src/config.rs at the version in the table). Leave it unset to keep https://api.resend.com, or set a full URL.
Pointing a Resend SDK at AgentiSend
8 of the 10 official clients can set the host. The published Java SDK cannot. The Chat SDK adapter is not a send client, and its host setting was not read.
For a row marked Yes, point the host setting at this API and put an AgentiSend key in the key variable that client already reads. The base URL is https://api.agentisend.com.
export RESEND_BASE_URL=https://api.agentisend.com
export RESEND_API_KEY="$AGENTISEND_API_KEY"Python is the exception named above:
export RESEND_API_URL=https://api.agentisend.com.NET sets the property instead of an environment variable:
o.ApiUrl = "https://api.agentisend.com";That change is the send. It is not a claim about every other method. 113 methods are on the compatibility client: 86 implemented, 4 aliased, 23 not available. emails.send is implemented. That client is the Node method list. A Python, Go, PHP, Ruby, Rust or .NET call is not given a second status here. The full table is Resend SDK compatibility.
The same send on this API is POST /emails. GET /emails/{id} reads that message back. POST /emails/batch is the batch. The reference sample for the send is:
curl -sS -X POST https://api.agentisend.com/emails \
-H "Authorization: Bearer $AGENTISEND_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"from":"billing@yourdomain.com","to":"delivered@simulator.agentisend.com","subject":"Your receipt","text":"Thanks — the details are attached."}'201
{
"id": "9c8f8f0e-3d1a-4d3f-9a1e-2b7c1a0f5e42",
"simulated": true,
"warnings": []
}Our own install lines, for Node, Python, PHP and Go, are on SDKs. Java, Ruby, Rust and .NET guides post JSON with the language's HTTP client and do not add a package for this API. The import that keeps Resend's Node method names is agentisend/compat-resend, on Resend-compatible email API.
Yearly plans are 52% cheaper than Resend, compared with Resend's monthly price because Resend sells no yearly plan. Lifetime plans are up to 75% cheaper than Resend for the same emails. The tables are on Resend alternative pricing.
Community SDKs
The official index also names three community repositories. They are not in the table, and this page does not claim a host setting or a registry version for them. The links are in the source list.
Sources
Official index: https://resend.com/docs/sdks, fetched 2026-11-28.
- Node.js: resend 6.41.0, source, send guide, repository.
- PHP: resend/resend-php 1.19.0, source, send guide, repository.
- Laravel: resend/resend-laravel 1.7.0, source, send guide, repository.
- Python: resend 2.56.2, source, send guide, repository.
- Ruby: resend 1.22.0, source, send guide, repository.
- Go: github.com/resend/resend-go/v4 4.15.0, source, send guide, repository.
- Java: com.resend:resend-java 4.4.0, source, send guide, repository.
- Rust: resend-rs 0.38.0, source, send guide, repository.
- .NET: Resend 0.29.0, source, send guide, repository.
- Chat SDK adapter: @resend/chat-sdk-adapter 0.6.1, source, send guide, repository.
Older Go modules the proxy still serves, which the current send guide does not install:
- `github.com/resend/resend-go/v3` v3.17.0, published 2026-08-24.
- `github.com/resend/resend-go/v2` v2.28.0, published 2025-10-29.
Community SDKs named on the same index. No registry version was read for these:
- Elixir: https://github.com/elixir-saas/resend-elixir.
- NestJS: https://github.com/jiangtaste/nestjs-resend.
- Dart: https://github.com/coderaveHQ/dart_resend.
FAQ
What is the Resend Java SDK?
The Maven coordinate is com.resend:resend-java. The version column is Maven Central's latest on the date in the first sentence. The published jar has no host setting.
How do I install the Resend Python SDK?
pip install resend. The module reads RESEND_API_KEY for the key and RESEND_API_URL for the host.
What is the Resend Go SDK module?
The send guide installs github.com/resend/resend-go/v4. The note under the table names the older major modules the proxy still serves.
Does Resend have a PHP SDK and a Laravel package?
Yes. Composer packages resend/resend-php and resend/resend-laravel are both on the official index. Laravel's service provider constructs the PHP client, so the PHP host variable applies.
Does Resend publish a Ruby gem and a Rust crate?
Yes. The gem name is resend. The crate name is resend-rs. Both read RESEND_BASE_URL.
Does Resend have a .NET SDK?
Yes. The NuGet package id is Resend. Set ResendClientOptions.ApiUrl to change the host. The send guide's sample does not set that property.
Can I use a Resend SDK with AgentiSend?
Yes, when that SDK's row says another host is Yes. Point the host setting at this API and use an AgentiSend key. A method runs here only when the compatibility guide marks it implemented. The published Java SDK cannot change its host.
Where is the endpoint list?
Resend API docs is one row per Resend call, with the compatibility client's status. AgentiSend API docs is our own reference. The links are under Next.