Create an Email Message

Use the POST method to create a new email message.

Marketing Cloud Engagement has a new model for storing, finding, managing, creating, sharing, and distributing all content-related objects. Access the objects created with the new Content Builder tools using the REST API. Your existing SOAP API integrations only function with the Classic tools in the user interface.

Documentation for the Fuel Java SDK can be found at

You can provide the following values for the props property on the object:

  • Name

    • String datatype
    • Name of the object or property
  • CategoryID

    • Int32 datatype
    • Identifies the folder containing the email message
  • HTMLBody

    • String datatype
    • Contains HTML body of an email message.
  • TextBody

    • String datatype
    • Contains raw text body of a message
  • Subject

    • String datatype
    • Contains subject area information for a message
  • IsHTMLPaste

    • Boolean datatype
    • Set to true for all SDK-created emails
  • EmailType

    • String datatype
    • Specifies either HTML or TEXT email type
  • CharacterSet

    • String datatype
    • Indicates encoding used in an email message
  • CustomerKey

    • String datatype
    • User-supplied unique identifier for an object within an object type