---
title: "Reply to a message"
method: POST
path: "/v1/inboxes/{id}/reply/{messageId}"
tags: ["Messages"]
---

# Reply to a message

`POST /v1/inboxes/{id}/reply/{messageId}`

## Request

- Base URL: `https://anjal.app`
- URL: `https://anjal.app/v1/inboxes/{id}/reply/{messageId}`
- Auth: API key in header `X-API-Key`

Replies preserve the thread (In-Reply-To + References) and the original recipient.

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `plainBody` string
  - `htmlBody` string
  - `cc` union: Extra Cc recipient(s) on top of the thread's original recipient.
    - string, email
    - string[]
  - `bcc` union: Bcc recipient(s).
    - string, email
    - string[]
  - `labels` union: Labels as an array or a comma-separated string. Stored lowercase and deduplicated; at most 32 labels of at most 64 characters, no commas.
    - string[]
    - string
  - `trackOpens` boolean: Add an open-tracking pixel (HTML body only). See `SendExtras`.

## Response `200`

Sent

## Other responses

- `400`: Validation error, or IDEMPOTENCY_KEY_INVALID
- `409`: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request) or `IDEMPOTENCY_IN_PROGRESS` (the first request with this key is still running).

---

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