---
title: "Post Move Mail Message"
method: POST
path: "/v1/mail/messages/{message_id}/move"
tags: ["public"]
---

# Post Move Mail Message

`POST /v1/mail/messages/{message_id}/move`

## Request

- Base URL: `https://api.fatheron.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://api.fatheron.dev/v1/mail/messages/{message_id}/move`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

## Path parameters

- `message_id` string, required

## Headers

- `Authorization` string, nullable
- `X-API-Key` string, nullable

## Cookies

- `fh_access_token` string, nullable

## Request body

- MoveMailRequest: Move a message by folder role (archive/trash) or explicit IMAP folder id.
  - `target` 'archive' | 'trash', nullable
  - `folder` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/fatheron/apis/fat-heron-builders-api.md) · [All operations](https://skmtc.dev/fatheron/apis/fat-heron-builders-api/llms.txt) · [OpenAPI document](https://skmtc.dev/fatheron/apis/fat-heron-builders-api/revisions/82bc021b1102?raw)
