Skip to main content
Each guide focuses on one framework, runtime, platform, or development tool and shows the relevant server-side integration, credential boundary, and deployment details. Framework guides cover sending and webhook verification where the platform supports them; development-tool guides focus on grounding, review, and sandbox testing. Already have a mailer in your framework, such as Nodemailer or ActionMailer? Point it at the SMTP relay instead: four settings, no new code. If your stack is not covered here at all, the Quickstart shows the plain REST API, which works anywhere.

Start with Your Language

Node.js SDK

@ahasend/sdk gives you a typed client, automatic retries, idempotency keys, and webhook adapters for Express, Fastify, and Next.js.

Go SDK

ahasend-go gives you a typed client, built-in retries and idempotency, and a Standard Webhooks verifier for any net/http router.

Web Frameworks

Express

Fastify

NestJS

Next.js

Nuxt

SvelteKit

Also covered: Hono, Koa, ElysiaJS, Encore.ts, Remix, Astro, and Vite.

Go Frameworks

Gin

Echo

Fiber

Also covered: chi and gorilla/mux, plus Azure Functions and Cloud Run functions for Go on serverless.

Runtimes and Deployment

The SDK runs on Node.js, Deno, Bun, Cloudflare workerd, and Vercel Edge. These guides cover what each platform changes: where secrets live, how deploys work, and what to watch for.

Bun

Deno Deploy

Cloudflare Workers

AWS Lambda

Vercel

Railway

AI Development Tools

AI agents write email code quickly and invent APIs just as quickly. These guides show how to give each tool the verified AhaSend SDK as standing context, then check the result in sandbox mode before it can send anything real.

Bolt.new

Claude

Cursor

GitHub Copilot

Lovable

v0

Windsurf

What Every Guide Assumes

1

A Verified Sending Domain

The from address must be on a domain you have verified. See Domain Setup if you have not done this yet.
2

An API Key with Send Scope

Create one in the dashboard with the messages:send:all scope, or scope it to a single domain to limit the blast radius if it leaks. The guides read it from AHASEND_API_KEY, alongside AHASEND_ACCOUNT_ID and, for webhooks, AHASEND_WEBHOOK_SECRET.
3

Sandbox Mode for Testing

Add sandbox: true to any send request and the API validates and accepts it without delivering mail. Use sandbox_result to rehearse a bounce or a suppression. See Sandbox Mode.

Reference

API Reference

Every endpoint, parameter, and response, including the webhook event payloads.

CLI

Send test messages and forward webhook events to localhost from your terminal while building an integration.