Create an Email
Marketing Cloud 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 Marketing Cloud.
This page contains information about using the SOAP API to create an email message.
Why Create an Email
By using the SOAP API to create your email, you can integrate the process of creating an email with your system or development environment. This allows you to create email messages outside of Marketing Cloud.
How To Create an Email
Use the sample code below as a model to construct your own email creation call:
Sample .NET Code
Sample Java Code (Axis 1.4)
Sample PHP Code
Sample Ruby on Rails Code
Sample SOAP Envelope
If you want to include dynamic content in your email messages, use AMPscript to dynamically assign content. You cannot create content areas containing dynamic script via the SOAP API.