> ## Documentation Index
> Fetch the complete documentation index at: https://ahasend.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> AhaSend stores all message data in the EU. See /facts.
> The API base URL is https://api.ahasend.com. Send the API key in the Authorization: Bearer header. See /api-reference/authentication.
> Use send.ahasend.com for SMTP. Ports 25, 587 and 2525 use STARTTLS. Port 465 is not supported. See /smtp.
> For send-only integrations, create an API Key v2 under Credentials → Add and scope it to messages:send:{your-domain}. See /send-api/credentials and /api-reference/scopes.

# Transactional Email, SMTP Relay and Campaigns Docs

> AhaSend docs: send transactional email with the REST API, SMTP relay, CLI or SDKs, send campaigns with Campaign Builder, and track events with webhooks.

AhaSend is a European email service for developers: send transactional email through a REST API, SMTP relay, CLI or the official Node.js and Go SDKs, and newsletters and campaigns with Campaign Builder, with data stored in the EU and 1,000 free emails per month shared by both.

> [!NOTE]
>
> **New to AhaSend?** Start with our [Quickstart Guide](https://ahasend.com/docs/quickstart.md) to send your first email in under 5 minutes, or [create your free account](https://dash.ahasend.com/user/register) to get 1,000 free emails per month.

## Official SDKs

> [card] [Node.js and TypeScript SDK](https://ahasend.com/docs/guides/nodejs-sdk.md)
>
> Install @ahasend/sdk, send a sandbox email and handle each recipient result.

> [card] [Go SDK](https://ahasend.com/docs/guides/go-sdk.md)
>
> Install ahasend-go, send a sandbox email and verify webhook signatures.

Choose a [framework or platform guide](https://ahasend.com/docs/guides.md) for the full integration, or use the [CLI quickstart](https://ahasend.com/docs/cli/quickstart.md) to send from your terminal.

## Why Choose AhaSend?

### Built for Developers

* **[Clean, intuitive REST APIs](https://ahasend.com/docs/api-reference.md)** and [SMTP relay](https://ahasend.com/docs/smtp.md)
* **[Campaign Builder](https://ahasend.com/docs/campaigns.md)** on every plan: contacts, lists, templates and campaign reports, on separate marketing infrastructure
* **[Powerful CLI tool](https://ahasend.com/docs/cli.md)** for development, testing, and automation
* **Sandbox Mode** for [SMTP](https://ahasend.com/docs/send-api/sandbox.md) and [API](https://ahasend.com/docs/send-api/sandbox.md) testing and development
* **[Engineering-led support](mailto:support@ahasend.com)** from real developers, not chatbots

### Blazing Fast Delivery

* Typical delivery under one second to Gmail and under five seconds to other major mailbox providers.
* **Independent**: Our own infrastructure, not a reseller of other services.
* See [service status](https://status.ahasend.com) for current availability.

### Fair & Transparent Pricing

* Free, Pro and Max plans with included monthly volume and usage-based overage; no long-term contracts. See [pricing](https://ahasend.com/pricing).
* **[Free dedicated IPs](https://ahasend.com/docs/scale/dedicated-ips.md)** for high-volume senders (300k+ emails/month)

### Enterprise-Ready Security

* **[SSO](https://ahasend.com/docs/security/sso.md)** with OpenID Connect (OIDC)
* **[Scoped API credentials](https://ahasend.com/docs/api-reference/scopes.md)** with granular permissions
* **[IP allow lists](https://ahasend.com/docs/security/ip-allow-lists.md)** to lock API keys to your own infrastructure
* **[Customizable data retention policies](https://ahasend.com/docs/retention.md)**
  * [Retention ranges depend on your plan](https://ahasend.com/docs/retention.md): message data 0–30 days, metadata 1–30 days. Zero data retention needs approval.
  * [Indefinite retention](https://ahasend.com/docs/retention/s3.md) of data, metadata and delivery log on your own S3.
* **[GDPR compliant](https://ahasend.com/dpa)**

## Quick Start Options

> [card] [REST API](https://ahasend.com/docs/send-api/send-email.md)
>
> Send emails using our modern HTTP API. Perfect for web applications and microservices.

> [card] [SMTP Relay](https://ahasend.com/docs/smtp.md)
>
> Use our SMTP servers with any email library or application. Compatible with all programming languages.

> [card] [CLI Tool](https://ahasend.com/docs/cli.md)
>
> Command-line interface for developers. Send emails, manage webhooks, test integrations locally.

> [card] [Transactional Templates](https://ahasend.com/docs/send-api/templates.md)
>
> Store a design once and send it by ID with values per recipient.

> [card] [Campaign Builder](https://ahasend.com/docs/campaigns.md)
>
> Newsletters and campaigns to contact lists, in the dashboard, through the API or with your AI tool.

> [card] [Marketing Domains](https://ahasend.com/docs/domains.md#sending-type)
>
> Marketing mail through the API or SMTP needs a marketing domain: separate infrastructure and its own limit, apart from your transactional mail.

## Popular Integration Guides

> [card] [Next.js](https://ahasend.com/docs/guides/nextjs.md)
>
> Send from server routes and actions.

> [card] [Express](https://ahasend.com/docs/guides/express.md)
>
> Add a protected send route and verified webhooks.

> [card] [Hono](https://ahasend.com/docs/guides/hono.md)
>
> Send email from a Hono server.

> [card] [Go with Gin](https://ahasend.com/docs/guides/gin.md)
>
> Use the Go SDK in your Gin handlers.

> [card] [Django](https://ahasend.com/docs/guides/django.md)
>
> Send from Django through SMTP with STARTTLS.

> [card] [Laravel](https://ahasend.com/docs/guides/laravel.md)
>
> Configure Laravel’s SMTP mailer.

> [card] [WordPress](https://ahasend.com/docs/guides/wordpress.md)
>
> Set up the existing email API plugin.

> [card] [Drupal](https://ahasend.com/docs/guides/drupal.md)
>
> Add the API v2 transport to Symfony Mailer.

> [card] [Symfony](https://ahasend.com/docs/guides/symfony.md)
>
> Use the SMTP bridge and Flex recipe.

Browse [all framework, platform and AI-tool guides](https://ahasend.com/docs/guides.md).

## Core Features

> [card] [Email Tracking](https://ahasend.com/docs/tracking/open-tracking.md)
>
> Record open and click events.

> [card] [Webhooks](https://ahasend.com/docs/integrations/webhooks.md)
>
> Receive delivery, bounce and engagement events.

> [card] [Inbound Routing](https://ahasend.com/docs/integrations/routing.md)
>
> Forward parsed incoming email to your application.

> [card] [Suppressions](https://ahasend.com/docs/bounces.md)
>
> Understand bounces, blocked recipients and suppression expiry.

## Need Help?

> [card] [API Reference](https://ahasend.com/docs/api-reference.md)
>
> Complete API documentation with examples and interactive playground

> [card] [Support](mailto:support@ahasend.com)
>
> Get help from real engineers - no chatbots, no automated replies

> [!TIP]
>
> Replace placeholder values with your API keys and verified domain. Use [sandbox mode](https://ahasend.com/docs/send-api/sandbox.md) while testing.

## What's Next?

1. **[Create your account](https://dash.ahasend.com/user/register)** and get 1,000 free emails
2. **[Set up your domain](https://ahasend.com/docs/domains.md)**, authorizing AhaSend to send emails on your behalf
3. Use our **[APIs](https://ahasend.com/docs/send-api/send-email.md)** or **[SMTP](https://ahasend.com/docs/smtp.md)** to send your first email
4. **[Configure webhooks](https://ahasend.com/docs/integrations/webhooks.md)** to track email events in real-time
5. **[Send a campaign](https://ahasend.com/docs/campaigns.md)** to a contact list when you have a newsletter to send

Ready to start sending emails that actually reach the inbox? Let's get you set up! 🚀

## Domain, Delivery and Migration Guides

* [DNS provider guides](https://ahasend.com/docs/dns.md): record names and setup steps for Cloudflare, GoDaddy, Namecheap, Route 53, Hetzner, IONOS, STRATO, TransIP, OVHcloud, Squarespace and Vercel.
* [SPF, DKIM and DMARC](https://ahasend.com/docs/email-authentication.md): what each check proves and how domain alignment works.
* [Bounces and suppressions](https://ahasend.com/docs/bounces.md) and [SMTP error codes](https://ahasend.com/docs/smtp/errors.md): understand a failed send and choose the next step.
* [Deliverability best practices](https://ahasend.com/docs/deliverability.md): sender reputation, warm-up, sending subdomains, Gmail and Yahoo requirements, and one-click unsubscribe.
* Migrate from [SendGrid](https://ahasend.com/docs/migrations/sendgrid.md), [Mailgun](https://ahasend.com/docs/migrations/mailgun.md), [Postmark](https://ahasend.com/docs/migrations/postmark.md), [Resend](https://ahasend.com/docs/migrations/resend.md) or [Amazon SES](https://ahasend.com/docs/migrations/amazon-ses.md), including suppression imports.
* [Troubleshooting and FAQ](https://ahasend.com/docs/troubleshooting.md): domain checks, missing messages, port 465, permission errors and blocked recipients.
* [Email glossary](https://ahasend.com/docs/glossary.md) and [credential security](https://ahasend.com/docs/security.md): definitions and practical steps to protect your account.

## Related Guides

* [Start sending](https://ahasend.com/docs/quickstart.md), [Domain setup](https://ahasend.com/docs/domains.md), [Send-only API keys](https://ahasend.com/docs/send-api/credentials.md).
* [Sending guide](https://ahasend.com/docs/send-api/send-email.md), [SMTP settings](https://ahasend.com/docs/smtp.md), [CLI quickstart](https://ahasend.com/docs/cli/quickstart.md).
* [SDK and framework guides](https://ahasend.com/docs/guides.md), [Plans and limits](https://ahasend.com/docs/facts.md), [Product releases](https://ahasend.com/docs/changelog.md).
* [Retention rules](https://ahasend.com/docs/retention.md), [Tracking setup](https://ahasend.com/docs/tracking/open-tracking.md), [Sandbox behavior](https://ahasend.com/docs/send-api/sandbox.md).
* [Suppression durations](https://ahasend.com/docs/bounces.md#suppression-duration), [Dedicated IP availability](https://ahasend.com/docs/scale/dedicated-ips.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.