---
title: "Reply to an email"
method: POST
path: "/inbox/messages/{id}/reply"
tags: ["inbox"]
---

# Reply to an email

`POST /inbox/messages/{id}/reply`

## Request

- Base URL: `https://api.mailly.site` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mailly.site/inbox/messages/{id}/reply`
- Auth: HTTP bearer

Uses the governed, billed send path; on success the reply is written to the same thread with direction=outbound. Supports the `Idempotency-Key` header (8-200 characters of letters, digits, . _ : -).

## Path parameters

- `id` string, required: Email ID

## Request body

- object
  - `text` string
  - `html` string
  - `subject` string
  - `to` string: Override recipient
  - `fromName` string
  - `attachments` object[]

## Response `200`

Reply result (passed through from the send path, JSON)

## Other responses

- `400`: Invalid parameters
- `401`: Missing or invalid API key
- `404`: Resource not found
- `500`: Server error

---

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