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
Go Frameworks
Gin
Echo
Fiber
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.

