> ## 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 in the EU, or send-us.ahasend.com as a US connection point forwarding to the EU. 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 API and SMTP Relay Docs

> AhaSend developer docs: send transactional email with the REST API, SMTP relay, CLI or SDKs, verify your sending domain, and track events with webhooks.

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

<Info>
  **New to AhaSend?** Start with our [Quickstart Guide](/docs/quickstart) 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.
</Info>

## Official SDKs

<CardGroup cols={2}>
  <Card title="Node.js and TypeScript SDK" icon="node-js" href="/docs/guides/nodejs-sdk">
    Install @ahasend/sdk, send a sandbox email and handle each recipient result.
  </Card>

  <Card title="Go SDK" icon="golang" href="/docs/guides/go-sdk">
    Install ahasend-go, send a sandbox email and verify webhook signatures.
  </Card>
</CardGroup>

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

## Why Choose AhaSend?

### Built for Developers

* **[Clean, intuitive REST APIs](/docs/api-reference)** and [SMTP relay](/docs/smtp)
* **[Powerful CLI tool](/docs/cli)** for development, testing, and automation
* **Sandbox Mode** for [SMTP](/docs/send-api/sandbox) and [API](/docs/send-api/sandbox) 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](/docs/scale/dedicated-ips)** for high-volume senders (300k+ emails/month)

### Enterprise-Ready Security

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

## Quick Start Options

<CardGroup cols={3}>
  <Card title="REST API" icon="code" href="/docs/send-api/send-email">
    Send emails using our modern HTTP API. Perfect for web applications and microservices.
  </Card>

  <Card title="SMTP Relay" icon="envelope" href="/docs/smtp">
    Use our SMTP servers with any email library or application. Compatible with all programming languages.
  </Card>

  <Card title="CLI Tool" icon="terminal" href="/docs/cli">
    Command-line interface for developers. Send emails, manage webhooks, test integrations locally.
  </Card>
</CardGroup>

## Popular Integration Guides

<CardGroup cols={3}>
  <Card title="Next.js" icon="layer-group" href="/docs/guides/nextjs">Send from server routes and actions.</Card>
  <Card title="Express" icon="node-js" href="/docs/guides/express">Add a protected send route and verified webhooks.</Card>
  <Card title="Hono" icon="server" href="/docs/guides/hono">Send email from a Hono server.</Card>
  <Card title="Go with Gin" icon="golang" href="/docs/guides/gin">Use the Go SDK in your Gin handlers.</Card>
  <Card title="Django" icon="python" href="/docs/guides/django">Send from Django through SMTP with STARTTLS.</Card>
  <Card title="Laravel" icon="php" href="/docs/guides/laravel">Configure Laravel’s SMTP mailer.</Card>
  <Card title="WordPress" icon="wordpress" href="/docs/guides/wordpress">Set up the existing email API plugin.</Card>
  <Card title="Drupal" icon="drupal" href="/docs/guides/drupal">Configure the module and Mail System.</Card>
  <Card title="Symfony" icon="php" href="/docs/guides/symfony">Use the SMTP bridge and Flex recipe.</Card>
</CardGroup>

Browse [all framework, platform and AI-tool guides](/docs/guides).

## Core Features

<CardGroup cols={2}>
  <Card title="Email Tracking" icon="chart-line" href="/docs/tracking/open-tracking">Record open and click events.</Card>
  <Card title="Webhooks" icon="webhook" href="/docs/integrations/webhooks">Receive delivery, bounce and engagement events.</Card>
  <Card title="Inbound Routing" icon="route" href="/docs/integrations/routing">Forward parsed incoming email to your application.</Card>
  <Card title="Suppressions" icon="shield-xmark" href="/docs/bounces">Understand bounces, blocked recipients and suppression expiry.</Card>
</CardGroup>

## Need Help?

<CardGroup cols={2}>
  <Card title="API Reference" icon="book-open" href="/docs/api-reference">
    Complete API documentation with examples and interactive playground
  </Card>

  <Card title="Support" icon="life-ring" href="mailto:support@ahasend.com">
    Get help from real engineers - no chatbots, no automated replies
  </Card>
</CardGroup>

<Tip>
  Replace placeholder values with your API keys and verified domain. Use [sandbox mode](/docs/send-api/sandbox) while testing.
</Tip>

## What's Next?

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

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

## Domain, Delivery and Migration Guides

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

## Related Guides

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


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