---
title: "Admin Email Preview"
method: GET
path: "/api/admin/email-preview"
tags: ["admin"]
---

# Admin Email Preview

`GET /api/admin/email-preview`

## Request

- Base URL: `https://www.awardflightdaily.com` (the document declares no server; this is the origin it was published from)
- URL: `https://www.awardflightdaily.com/api/admin/email-preview`
- Auth: none declared

Full email preview with RT pairing, grouped cards, transfer costs, and open jaw support.

trip_type: 'one_way', 'round_trip', or 'open_jaw'
open_jaw: 'same' (strict RT), 'country', 'continent' — for RT/OJ, how to expand return airports
banks: comma-separated bank keys (chase,amex,etc.) for transfer cost display
airlines: comma-separated IATA airline codes (NH,JL,CX) to filter operating carrier
max_stops: 0=direct only, 1=include 1-stop connections, 2=include 2-stop connections
enrich_cash: if true, fetch live cash prices from FlightAPI.io for CPP comparison

## Query parameters

- `alert_name` string, nullable
- `origin` string, nullable
- `destination` string, nullable
- `cabin` string, nullable
- `max_miles` integer, nullable
- `trip_type` string, nullable
- `sources` string, nullable
- `date_from` string, nullable
- `date_to` string, nullable
- `home_airport` string, nullable
- `min_days` integer, nullable
- `max_days` integer, nullable
- `return_origin` string, nullable
- `return_destination` string, nullable
- `airlines` string, nullable
- `open_jaw` string, nullable
- `banks` string, nullable
- `max_stops` integer, nullable
- `enrich_cash` boolean, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/awardflightdaily/apis/award-flight-database.md) · [All operations](https://skmtc.dev/awardflightdaily/apis/award-flight-database/llms.txt) · [OpenAPI document](https://skmtc.dev/awardflightdaily/apis/award-flight-database/revisions/93e62de446f9?raw)
