AgentController

Create a correctly threaded reply draft

Builds the same recipients and RFC In-Reply-To/References headers as immediate reply, saves them as a draft, and preserves the required threading headers across later agent draft updates.

post/agent/emails/{emailId}/reply-draft

Request

  • Base URL: https://api.mailslurp.com
  • URL: https://api.mailslurp.com/agent/emails/{emailId}/reply-draft
  • Auth: API key in header x-api-key

Path parameters

emailIdstring uuid required

Request body

bodystring required

Body of the reply email you want to send

isHTMLboolean required

Is the reply HTML

fromstring nullable

The from header that should be used. Optional

replyTostring nullable

The replyTo header that should be used. Optional

customHeadersobject nullable

Optional custom headers

charsetstring nullable

The charset that your message should be sent with. Optional. Default is UTF-8

attachmentsstring[] nullable

List of uploaded attachments to send with the reply. Optional.

templateVariablesobject nullable

Template variables if using a template

templatestring uuid nullable

Template ID to use instead of body. Will use template variable map to fill defined variable slots.

sendStrategy'SINGLE_MESSAGE' nullable

How an email should be sent based on its recipients

useInboxNameboolean nullable

Optionally use inbox name as display name for sender email address

htmlboolean

Response

Created

Changes

No recorded changes to this operation across all 1 revision of this API.