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

# Reply to a message

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

## Request

- Base URL: `https://api.agentboxd.com`
- URL: `https://api.agentboxd.com/v1/inboxes/{id}/messages/{messageId}/reply`
- Auth: HTTP bearer

`{ text?, html?, attachments?, reply_all?, send_at?, data?, type?, agent_signature? }`. Sets `In-Reply-To` and `References`, adds `Re:`, stays in the thread. `send_at` and `agent_signature` work as on send.

Permission: `messages:send`.

## Path parameters

- `id` string, uuid, required
- `messageId` string, uuid, required

## Request body

- object
  - `text` string
  - `html` string
  - `attachments` object[]
    - `filename` string, required
    - `content_type` string, required
    - `content_base64` string, required
  - `reply_all` boolean
  - `labels` string[]
  - `send_at` string, date-time
  - `data` unknown
  - `type` 'message' | 'task' | 'event'
  - `agent_signature` string

## Response `202`

OK

- object

## Other responses

- `4XX`: Error
- `5XX`: Error

---

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