---
title: "Send a Better Auth transactional email via the backend mailer"
method: POST
path: "/api/auth/email/send"
tags: ["auth-email"]
---

# Send a Better Auth transactional email via the backend mailer

`POST /api/auth/email/send`

## Request body

- AuthEmailRequest
  - `type` 'reset_password' | 'verify_email' | 'change_email', required
  - `to` string, email, required
  - `url` string, required

## Response `204`

Successful Response

## Other responses

- `400` — url does not point at a trusted frontend origin
- `401` — Authentication required
- `403` — Service token is missing the required scope
- `422` — Validation Error
- `503` — Service-token verification is not configured

---

[API](https://skmtc.net/significant-gravitas/apis/autogpt-agent-server.md) · [All operations](https://skmtc.net/significant-gravitas/apis/autogpt-agent-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/significant-gravitas/autogpt-agent-server/versions/382041c7ecb2/schema)
