> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://api.logicdialog.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://api.logicdialog.ai/_mcp/server.

# Approved reply is available

POST 

Sent to the public HTTPS replyWebhookUrl configured in Channels. Verify LogicDialog-Signature using HMAC-SHA256(timestamp + "." + exact raw body, outboundSecret), reject stale timestamps and compare in constant time. Return 2xx promptly after durable acceptance; deduplicate by id / Idempotency-Key. Delivery is at least once, retries retain the same ID. Only message.created is currently emitted to API clients; no general event subscription API exists. Drafts and internal acknowledgements are excluded. CHANNEL_WORKER_ENABLED=true (or EMAIL_WORKER_ENABLED=true) is needed for durable outbound delivery.

Reference: https://api.logicdialog.ai/api-reference/reply-webhooks/message-created

## Request

### Headers

- `LogicDialog-Signature` (string, required)
- `Idempotency-Key` (string, required)

### Payload

- `type` ("message.created", required)
- `id` (string, required) — Stable event ID for deduplication
- `conversationId` (string, required)
- `channel` (string, required)
- `customerId` (string, required)
- `message` (ReplyEventMessage, required)

## Types

### ReplyEventMessage

- `id` (string, required)
- `text` (string, required)
- `author` (enum, required)
  - Allowed values: `assistant`, `human`