MillionSend Docs

Reply to a thread email

POST
/inboxes/{inbox_id}/threads/{thread_id}/emails/{email_id}/reply

Replies from the inbox address in the thread, with In-Reply-To and References set: to the email's Reply-To or sender (or, for an email the inbox sent, its recipients), plus everyone else on it with reply_all. Bcc is never copied. Accepts an Idempotency-Key. When the inbox's rules hold the reply (or requires_approval is true) it is kept as a draft for a person to approve and the answer is 202 with the Draft.

Path Parameters

inbox_id*string
Formatuuid
thread_id*string
Formatuuid
email_id*string
Formatuuid

Request Body

application/json
  1. body
html?string

HTML body

text?string

Plain-text body

subject?string

1-2000 characters on one line; defaults to the thread subject with Re: or Fwd:

cc?|array<string>

An address or a list of them; "Name " works too

bcc?|array<string>

An address or a list of them; "Name " works too

reply_all?boolean

Also copy the message's other recipients (cc), never its bcc

requires_approval?boolean

MillionSend extension: hold the email as a draft that a person approves (202 with the Draft)

Response Body

Sent

application/json
  1. response
id*string
Formatuuid
direction*"outbound"
Value in"outbound"
from*string
to*array<string>
cc*array<string>
bcc*array<string>
reply_to*array<string>
subject*string
message_id*string

Always null on a send

html*string
text*string
attachments*array<>
read*boolean
received_at*string
status*string
email_id*string
Formatuuid
thread_id*string
Formatuuid
inbox_id*string
Formatuuid
Example Request
curl -X POST 'https://api.millionsend.com/inboxes/497f6eca-6276-4993-bfeb-53cbbbba6f08/threads/497f6eca-6276-4993-bfeb-53cbbbba6f08/emails/497f6eca-6276-4993-bfeb-53cbbbba6f08/reply' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "direction": "outbound",  "from": "string",  "to": [    "string"  ],  "cc": [    "string"  ],  "bcc": [    "string"  ],  "reply_to": [    "string"  ],  "subject": "string",  "message_id": "string",  "html": "string",  "text": "string",  "attachments": [    {      "id": "string",      "filename": "string",      "size": 0    }  ],  "read": true,  "received_at": "string",  "status": "string",  "email_id": "8e6bf5ae-e456-4654-87f8-33e2156caffc",  "thread_id": "1de43264-67cb-48af-89f9-e865c375bb84",  "inbox_id": "5127f22b-d152-46dd-aeaa-3a852d9fbfc2"}