Skip to content

POST · Bearer

POST /api/v1/inboxes/:id/messages/:msgId/reply

Summary

Reply on the same thread. Inbound mail goes to Reply-To or From. Mail you sent goes to the original To. Subject is Re: unless it already starts with re:. From stays the inbox address, including when the message arrived at a plus address. In-Reply-To and References use the original Message-ID (the last 20 ids). One of text or html is required (400 missing_body). reply_all adds the other recipients, merges cc, drops this inbox, and dedupes (400 missing_to if nobody remains). Allow and block lists are checked; 403 recipient_blocked sends nothing. client_id retries return the original message with idempotent true and do not send again. Idempotency-Key works the same way as on send (example: Idempotency-Key: reply-001). An ambiguous failure returns HTTP 409 idempotency_outcome_unknown. A replay returns HTTP 200 with idempotent true and Idempotent-Replayed: true. The message id in the path is part of the request, so the same key on a different message is 409 idempotency_key_conflict. Unknown messages return 404 message_not_found. A paused inbox returns 403 inbox_paused. A high trailing 7-day bounce or complaint rate returns HTTP 403 sending_paused and does not send or store the message. Sending resumes automatically when the trailing 7-day rate falls below the pause threshold. include_signature defaults to true. The inbox signature is placed above a quoted original. HTTP 422 outbound_spam_blocked includes reasons when outbound spam enforcement blocks the send. Nothing is sent or stored. A reply to a thread the recipient started is exempt.

Request

{
  "text": "Tuesday still works.",
  "cc": [
    "copy@example.com"
  ],
  "client_id": "reply-001"
}

Response

HTTP 200. Sample values illustrate the schema.

{
  "id": "msg_example",
  "inbox_id": "inb_example",
  "thread_id": "thr_example",
  "folder": "inbox",
  "direction": "inbound",
  "from": "ada@example.com",
  "to": [
    "string"
  ],
  "subject": "Hello",
  "text": "Tuesday works.",
  "html": null,
  "extracted_text": "string",
  "alias": null,
  "aliases": [
    "string"
  ],
  "extracted_html": "string",
  "preview": "string",
  "verification": {
    "codes": [
      "string"
    ],
    "links": [
      {
        "url": "https://example.com/hooks/cooper",
        "text": "Tuesday works."
      }
    ]
  },
  "delivery_events": [
    {
      "type": "string",
      "recipient": "string",
      "created_at": "2026-10-18T12:00:00.000Z",
      "detail": "string"
    }
  ],
  "cc": [
    "string"
  ],
  "bcc": [
    "string"
  ],
  "reply_to": null,
  "in_reply_to": null,
  "references": [
    "string"
  ],
  "labels": [
    "string"
  ],
  "auth": {
    "spf": null,
    "dkim": null,
    "dmarc": null
  }
}

Errors

  • HTTP 400 missing_body
  • HTTP 400 missing_to
  • HTTP 403 recipient_blocked
  • HTTP 409 idempotency_outcome_unknown
  • HTTP 409 idempotency_key_conflict
  • HTTP 404 message_not_found
  • HTTP 403 inbox_paused
  • HTTP 403 sending_paused
  • HTTP 422 outbound_spam_blocked

Idempotency

Idempotency-Key is 1 to 256 characters of letters, digits, and - . _ ~. The same key and the same request within 24 hours returns the original response with HTTP 200 and Idempotent-Replayed: true. A different request is HTTP 409 idempotency_key_conflict. A second call while the first is running is HTTP 409 idempotency_request_in_progress. An empty or invalid key is HTTP 400 invalid_idempotency_key. A definitive refusal removes the key. An ambiguous failure keeps it and the same request returns HTTP 409 idempotency_outcome_unknown. client_id is checked first when both are set. Done keys expire after 24 hours. Unknown keys are kept for 7 days.