Create a campaign
This creates a draft campaign and a related email message in one request. Only aname value is required.
API referenceCLI reference
Query themes and components for your LMX
You can fetch your available themes and reusable components before building thelmx payload.
List themes API reference CLI referenceList components API reference CLI reference
Update the related email message with contentRevisionId
Use emailMessageId from when you created the campaign as the path parameter, and pass the emailMessageContentRevisionId as expectedRevisionId.
Apply styles or a theme in <Style />, and create an email using LMX elements.
Themes and components you queried in step 2 can be referenced by their IDs.
API referenceCLI reference
Upload an image asset
If your LMX includes<Image /> tags, upload image files with the Upload API
and use the returned finalUrl as the image src.
Create upload API referenceComplete upload API reference
Upload CLI reference
Target an audience segment
List your audience segments to find a segment ID, then apply it to a draft campaign with Update a campaign. SettingaudienceSegmentId clears any existing audienceFilter on the campaign.
API referenceCLI reference
Send a campaign preview
After updating the campaign’s email message, send a test preview to one or more addresses. Campaign previews acceptcontactProperties for personalization.
Use emailMessageId from when you created the campaign as the path parameter.
API reference

