Create a campaign
Create a draft marketing campaign and its associated email message.
emailMessageId with Update an email message to set subject, sender, preview text, and LMX content.
The audience (mailing list, segment, or filter), group, and scheduling can be set on create or later via Update a campaign.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
The campaign name.
"Spring announcement"
The ID of the group to add this campaign to. Defaults to the team's default group when omitted.
The ID of the mailing list to send to.
The ID of an audience segment. Setting this without also providing audienceFilter clears any existing audienceFilter. If both are provided, the filter is applied on top of the segment's filter.
A tree of audience conditions combined with match. Setting this without also providing audienceSegmentId clears any existing audienceSegmentId. When both are provided, this filter is applied on top of the segment's filter.
When the campaign should send. timestamp is required and must be in the future when method is schedule, and must be omitted when method is now.
Response
Campaign created.
The ID of the campaign.
The name of the campaign.
The status of the campaign.
"Draft"
ISO 8601 timestamp for when the campaign was created.
ISO 8601 timestamp for when the campaign was last updated.
The ID of the empty email message created for this campaign. Use POST /v1/email-messages/{emailMessageId} to set its fields and LMX content.
The contentRevisionId of the newly created email message. Pass this as expectedRevisionId on your first update.
The ID of the campaign group this campaign belongs to, if set.
The ID of the mailing list this campaign sends to, if set.
The ID of the audience segment this campaign targets, if set.
The filter rules that define the audience for this campaign, if set.
When the campaign is scheduled to send.

