---
title: "Debug Preview Broadcast"
method: POST
path: "/api/scheduled-notifications/admin/prayer-wall-daily/debug/preview-broadcast"
tags: ["Email Notifications"]
---

# Debug Preview Broadcast

`POST /api/scheduled-notifications/admin/prayer-wall-daily/debug/preview-broadcast`

Debug: fetch Resend template, substitute name/prayer/prayer_request, return subject and HTML.
Does not create or send a broadcast. Requires x-api-key header for authentication.

## Headers

- `x-api-key` string, required

## Request body

- PrayerWallBroadcastVarsRequest — Body for preview-broadcast and send-broadcast debug endpoints.
  - `name` string
  - `prayer` string
  - `prayer_request` string
  - `title` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/usecreed/apis/creed-api.md) · [All operations](https://skmtc.net/usecreed/apis/creed-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/usecreed/creed-api/revisions/523833f9e819/schema)
