---
title: "Reply All Message"
method: POST
path: "/v0/inboxes/{inbox_id}/messages/{message_id}/reply-all"
tags: ["InboxesMessages"]
---

# Reply All Message

`POST /v0/inboxes/{inbox_id}/messages/{message_id}/reply-all`

## Request

- Base URL: `https://api.agentmail.to`
- URL: `https://api.agentmail.to/v0/inboxes/{inbox_id}/messages/{message_id}/reply-all`
- Auth: HTTP bearer

**CLI:**
```bash
agentmail inboxes:messages reply-all --inbox-id <inbox_id> --message-id <message_id> --text "Reply text"
```

## Path parameters

- `inbox_id` string, required: The ID of the inbox.
- `message_id` string, required: ID of message.

## Request body

- ReplyAllMessageRequest
  - `labels` string[]: Labels of message.
  - `reply_to` union
    - string
    - string[]
  - `text` string: Plain text body of message.
  - `html` string: HTML body of message.
  - `attachments` SendAttachment[]: Attachments to include in message.
    - `filename` string: Filename of attachment.
    - `content_type` string: Content type of attachment.
    - `content_disposition` 'inline' | 'attachment': Content disposition of attachment.
    - `content_id` string: Content ID of attachment.
    - `content` string, nullable: Base64 encoded content of attachment.
    - `url` string, nullable: URL to the attachment.
  - `headers` SendMessageHeaders: Headers to include in message.

## Response `200`

- SendMessageResponse
  - `message_id` string, required: ID of message.
  - `thread_id` string, required: ID of thread.

## Other responses

- `400`
- `403`
- `404`

---

[API](https://skmtc.dev/agentmail-to/apis/agentmail-cli-speakeasy-api.md) - [All operations](https://skmtc.dev/agentmail-to/apis/agentmail-cli-speakeasy-api/llms.txt) - [OpenAPI document](https://skmtc.dev/agentmail-to/apis/agentmail-cli-speakeasy-api/revisions/869b7f1c360c?raw)
