curl -X POST "https://api.wirebox.sh/api/v1/mailboxes/eva/messages/msg_01J8ABC123XYZ/reply" \
-H "Authorization: Bearer $WIREBOX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "Happy to help — your quota has been raised."
}'
from wirebox import Wirebox
with Wirebox() as wirebox:
eva = wirebox.get_identity("eva")
res = eva.reply_email(
"msg_01J8ABC123XYZ",
text="Happy to help — your quota has been raised.",
)
print("Reply message ID:", res.id)
import { Wirebox } from "@wirebox-sh/sdk";
const wirebox = new Wirebox();
const eva = await wirebox.getIdentity("eva");
const res = await eva.replyEmail("msg_01J8ABC123XYZ", {
text: "Happy to help — your quota has been raised.",
});
console.log("Reply message ID:", res.id);
wirebox mail reply msg_01J8ABC123XYZ \
--identity eva \
--text "Happy to help — your quota has been raised."
{
"id": "msg_01J8REPLY456ABC",
"thread_id": "thrd_01J8XYZ987ABC"
}
Mail
Reply to Message
Reply to an existing email, preserving thread context and RFC headers.
POST
/
api
/
v1
/
mailboxes
/
{email_address}
/
messages
/
{message_id}
/
reply
curl -X POST "https://api.wirebox.sh/api/v1/mailboxes/eva/messages/msg_01J8ABC123XYZ/reply" \
-H "Authorization: Bearer $WIREBOX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "Happy to help — your quota has been raised."
}'
from wirebox import Wirebox
with Wirebox() as wirebox:
eva = wirebox.get_identity("eva")
res = eva.reply_email(
"msg_01J8ABC123XYZ",
text="Happy to help — your quota has been raised.",
)
print("Reply message ID:", res.id)
import { Wirebox } from "@wirebox-sh/sdk";
const wirebox = new Wirebox();
const eva = await wirebox.getIdentity("eva");
const res = await eva.replyEmail("msg_01J8ABC123XYZ", {
text: "Happy to help — your quota has been raised.",
});
console.log("Reply message ID:", res.id);
wirebox mail reply msg_01J8ABC123XYZ \
--identity eva \
--text "Happy to help — your quota has been raised."
{
"id": "msg_01J8REPLY456ABC",
"thread_id": "thrd_01J8XYZ987ABC"
}
Path Parameters
string
required
Full mailbox address (
eva@wireboxmail.com) or local agent handle (eva).string
required
Unique ID of the message being replied to (
msg_ prefix).Headers
string
Optional client-generated token (UUID v4 or random ASCII string) that makes retries safe: replaying a request with the same key returns the original
201 response with an Idempotent-Replayed: true header instead of sending a second email.Body Parameters
string
Plain-text reply body. At least one of
text or html is required.string
HTML formatted reply body.
boolean
default:"false"
Reply to every recipient of the original message instead of only the sender.
string | string[]
Override recipient(s). Defaults to the original sender.
string | string[]
Optional CC recipients.
string | string[]
Optional BCC recipients.
object[]
Optional reply attachments. Each object requires
filename and content_type, plus either content (base64 string) or url (publicly fetchable URL). content_id is optional.object
Optional custom RFC headers as a key/value map.
Wirebox sets the RFC
In-Reply-To and References headers automatically so the reply stays grouped in the original conversation thread.Response
string
Unique identifier of the sent reply (
msg_ prefix).string
Conversation thread the reply belongs to.
curl -X POST "https://api.wirebox.sh/api/v1/mailboxes/eva/messages/msg_01J8ABC123XYZ/reply" \
-H "Authorization: Bearer $WIREBOX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "Happy to help — your quota has been raised."
}'
from wirebox import Wirebox
with Wirebox() as wirebox:
eva = wirebox.get_identity("eva")
res = eva.reply_email(
"msg_01J8ABC123XYZ",
text="Happy to help — your quota has been raised.",
)
print("Reply message ID:", res.id)
import { Wirebox } from "@wirebox-sh/sdk";
const wirebox = new Wirebox();
const eva = await wirebox.getIdentity("eva");
const res = await eva.replyEmail("msg_01J8ABC123XYZ", {
text: "Happy to help — your quota has been raised.",
});
console.log("Reply message ID:", res.id);
wirebox mail reply msg_01J8ABC123XYZ \
--identity eva \
--text "Happy to help — your quota has been raised."
{
"id": "msg_01J8REPLY456ABC",
"thread_id": "thrd_01J8XYZ987ABC"
}