---
title: "Messaging Preview"
method: POST
path: "/core/messaging/preview"
tags: ["Messaging Preview"]
---

# Messaging Preview

`POST /core/messaging/preview`

## Request

- Base URL: `https://api.anyreach.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.anyreach.ai/core/messaging/preview`
- Auth: HTTP bearer

## Headers

- `x-anyreach-org` string, nullable: Organization ID for user PATs (pat_ prefix tokens)

## Request body

- MessagingPreviewRequest: Body for POST /messaging/preview — dry-run render for the agent editor.
  - `channel` 'email' | 'text' | 'sms', required
  - `properties` object
  - `sample_agent_response` string
  - `context` object, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/anyreach/apis/anyreach-api.md) - [All operations](https://skmtc.dev/anyreach/apis/anyreach-api/llms.txt) - [OpenAPI document](https://skmtc.dev/anyreach/apis/anyreach-api/revisions/2eddf40c8c93?raw)
