---
title: "List captured test emails"
method: GET
path: "/auth/v1/test-emails"
tags: ["Auth"]
---

# List captured test emails

`GET /auth/v1/test-emails`

## Request

- Base URL: `https://api.run402.com`
- URL: `https://api.run402.com/auth/v1/test-emails`
- Auth: API key in header `apikey` and HTTP bearer

Service-key-only inbox for messages addressed to `.test.invalid` test users. Captures are newest-first and retained as a bounded per-project ring.

## Query parameters

- `to` string, email
- `limit` integer
- `cursor` string

## Response `200`

Captured test email page

- AuthTestEmailsResponse
  - `emails` AuthTestEmailCapture[], required
    - `id` string, required
    - `to_email` string, email, required
    - `from_address` string, nullable
    - `subject` string, nullable
    - `body_text` string, nullable
    - `body_html` string, nullable
    - `template` string, nullable
    - `kind` 'auth' | 'mailbox' | 'platform' | 'ses_backstop', required
    - `created_at` string, date-time, required
  - `has_more` boolean, required
  - `next_cursor` string, nullable, required

---

[API](https://skmtc.dev/run402/apis/run402-api.md) · [All operations](https://skmtc.dev/run402/apis/run402-api/llms.txt) · [OpenAPI document](https://skmtc.dev/run402/apis/run402-api/revisions/893607557f50?raw)
