/draftmessage/create
  • 1 Minute to read
  • Dark
    Light

/draftmessage/create

  • Dark
    Light

Article summary

Post
/draftmessage/create

Creates a new message as a draft

Body parameters
Expand All
object
id
integer (int64)
name
string
externalId
string
messageCategoryId
integer (int64)
message
object (MessageBase)
subject
string
emailBodyText
string
emailBodyHtml
string
smsText
string
faxText
string
emailHeaders
Array of object (Attribute)
object
name
string
value
string
attachments
Array of object (Attachment)
object
name
string
contentType
string
content
string
attachmentReferences
Array of object (AttachmentReference)
object
contentId
string
reference
string
encoding
string
encodingSMS
string
imageHandlingMode
string
Responses
200

Example response when dmarcTrue=true and domain not matching:

{
"errorActor": null,
"errorCode": "INVALID_PARAMETER",
"message": "reply-to email must contain valid email domain",
"parameterName": null,
"propertyName": null,
"value": null
}

Expand All
object
id
integer (int64)
name
string
externalId
string
messageCategoryId
integer (int64)
message
object (MessageBase)
subject
string
emailBodyText
string
emailBodyHtml
string
smsText
string
faxText
string
emailHeaders
Array of object (Attribute)
object
name
string
value
string
attachments
Array of object (Attachment)
object
name
string
contentType
string
content
string
attachmentReferences
Array of object (AttachmentReference)
object
contentId
string
reference
string
encoding
string
encodingSMS
string
imageHandlingMode
string
400

Was this article helpful?