Skip to content

HighLevel: Emails schemas

40 HighLevel schemas with complete fields and constraints.

← Emails operations · All schemas

Create Email Campaign — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
editorContentstringOptionalOptional initial editor content to persist immediately after campaign creation. Provide HTML or plain-text string content.
editorTypestringRequired within parentEditor type for the campaign content. Use `html` for code-editor campaigns or `text` for plain-text campaigns.
One of: html, text
namestringRequired within parentCampaign name
parentFolderIdstringOptionalParent folder ID
templateIdstringOptionalExisting template ID to create the campaign from. Omit this field to create a blank campaign.
timeZonestringRequired within parentTimezone for the campaign
userIdstringRequired within parentID of the user performing this action
userNamestringOptionalName of the user performing this action

Create Email Campaign — response body

FieldTypePresenceDescription and constraints
$objectRoot
campaignCategorystringOptionalCampaign category
campaignTypestringOptionalCampaign type
createdAtstringRequired within parentCreated at timestamp
deletedbooleanRequired within parentWhether the campaign is deleted
idstringRequired within parentCampaign ID
namestringOptionalCampaign name
sourcestringOptionalSource of the campaign
sourceIdstringOptionalSource ID of the campaign
statusstringOptionalCampaign status
Known values: all, sent, failed, archived, draft, processing, scheduled, cancelled, paused
traceIdstringOptionalTrace ID of request
updatedAtstringRequired within parentLast updated timestamp
variationsarrayOptionalAB test variation identifiers (available only for AB test campaigns)
variations[]ModelEach itemExpand Create Email Campaign — response body — variations item

Referenced models: Create Email Campaign — response body — variations item

Create Email Campaign — response body — variations item

FieldTypePresenceDescription and constraints
$objectRoot
isWinnerbooleanRequired within parentWhether this is the winning variation
sourceIdstringRequired within parentVariation source ID for stats lookup

Create a template folder — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
namestringRequired within parentFolder name
userIdstringOptionalID of the user performing this action

Create a template folder — response body

FieldTypePresenceDescription and constraints
$objectRoot
createdAtstringOptionalCreated timestamp
idstringRequired within parentFolder ID
namestringRequired within parentFolder name
traceIdstringOptionalTrace ID of request
updatedAtstringOptionalUpdated timestamp

Create an email template — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
editorContentstringOptionalOptional initial editor content. Provide HTML or plain-text string content.
editorTypestringRequired within parentEditor type for the new template. Use `html` for code-editor templates or `text` for plain-text templates.
One of: html, text
fromEmailstringOptionalSender email address
fromNamestringOptionalSender name
namestringRequired within parentTemplate name
parentFolderIdstringOptionalParent folder ID
previewTextstringOptionalPreview text
subjectLinestringOptionalEmail subject line
userIdstringOptionalID of the user performing this action

Create an email template — response body

FieldTypePresenceDescription and constraints
$objectRoot
createdAtstringOptionalCreated timestamp
editorTypestringRequired within parentEditor type
Known values: html, text
fromEmailstringOptionalSender email address
fromNamestringOptionalSender name
idstringRequired within parentTemplate ID
isPlainTextbooleanRequired within parentWhether template is plain text
namestringRequired within parentTemplate name
parentFolderIdstringOptionalParent folder ID
previewTextstringOptionalPreview text
previewUrlstringOptionalPreview URL
subjectLinestringOptionalEmail subject line
traceIdstringOptionalTrace ID of request
updatedAtstringOptionalUpdated timestamp

Delete Campaign — response body

FieldTypePresenceDescription and constraints
$objectRoot
deletedbooleanRequired within parentWhether the campaign was deleted successfully
traceIdstringOptionalTrace ID of the request

Delete a template — response body

FieldTypePresenceDescription and constraints
$objectRoot
deletedbooleanRequired within parentWhether the template was deleted successfully
traceIdstringOptionalTrace ID of the request

Get Bulk Action Campaign by ID — response body

FieldTypePresenceDescription and constraints
$objectRoot
completedAtstringOptionalProcessing completion timestamp
createdAtstringRequired within parentCreated at timestamp
deletedbooleanRequired within parentWhether the campaign is deleted
editorContentUrlstringOptionalURL to fetch the rendered campaign content as HTML. Issue a GET against this URL to retrieve the body.
editorTypestringOptionalEditor type for this campaign
Known values: html, builder, text
fromEmailstringOptionalSender email address
fromNamestringOptionalSender name
idstringRequired within parentCampaign ID
isPlainTextbooleanOptionalWhether the campaign uses plain text
namestringOptionalCampaign name
previewTextstringOptionalPreview text
replyToAddressstringOptionalReply-to email address
scheduleTypestringOptionalSchedule type (NOW, SCHEDULED, or DRIP)
Known values: NOW, SCHEDULED, DRIP
sourcestringOptionalSource of the campaign
sourceIdstringOptionalSource ID of the campaign
statusstringRequired within parentCampaign status
Known values: processing, scheduled, paused, complete, cancelled
subjectstringOptionalEmail subject line
traceIdstringOptionalTrace ID of the request
updatedAtstringRequired within parentLast updated timestamp

Get Campaign Statistics — response body

FieldTypePresenceDescription and constraints
$objectRoot
locationIdstringRequired within parentLocation ID
sourcestringRequired within parentSource type
Known values: email-campaigns, workflow-campaigns, bulk-actions
sourceIdstringRequired within parentSource ID
statsJSONRequired within parentEmail performance metrics
stats (allOf 1)ModelAll variants applyExpand Get Campaign Statistics — response body — stats accepted, bounce Rate, click Rate, clicked, complained, complaint Rate, delivered, failed, open Rate, opened, permanent Fail, rejected, replied, reply Rate, sent, temporary Fail, unsubscribe Rate, unsubscribed
subSourceIdstringOptionalWorkflow action ID
traceIdstringOptionalTrace ID of the request

Referenced models: Get Campaign Statistics — response body — stats accepted, bounce Rate, click Rate, clicked, complained, complaint Rate, delivered, failed, open Rate, opened, permanent Fail, rejected, replied, reply Rate, sent, temporary Fail, unsubscribe Rate, unsubscribed

Get Campaign Statistics — response body — stats accepted, bounce Rate, click Rate, clicked, complained, complaint Rate, delivered, failed, open Rate, opened, permanent Fail, rejected, replied, reply Rate, sent, temporary Fail, unsubscribe Rate, unsubscribed

FieldTypePresenceDescription and constraints
$objectRoot
acceptedJSONRequired within parent
accepted (anyOf 1)numberAlternativeEmails accepted by the mail server
accepted (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
bounceRateJSONRequired within parent
bounceRate (anyOf 1)numberAlternativeBounce rate as percentage of sent
bounceRate (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
clickRateJSONRequired within parent
clickRate (anyOf 1)numberAlternativeClick rate as percentage of delivered
clickRate (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
clickedJSONRequired within parent
clicked (anyOf 1)numberAlternativeLinks clicked
clicked (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
complainedJSONRequired within parent
complained (anyOf 1)numberAlternativeSpam complaints
complained (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
complaintRateJSONRequired within parent
complaintRate (anyOf 1)numberAlternativeComplaint rate as percentage of delivered
complaintRate (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
deliveredJSONRequired within parent
delivered (anyOf 1)numberAlternativeEmails delivered to inbox
delivered (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
failedJSONRequired within parent
failed (anyOf 1)numberAlternativeFailed emails
failed (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
openRateJSONRequired within parent
openRate (anyOf 1)numberAlternativeOpen rate as percentage of delivered
openRate (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
openedJSONRequired within parent
opened (anyOf 1)numberAlternativeEmails opened
opened (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
permanentFailJSONRequired within parent
permanentFail (anyOf 1)numberAlternativeHard bounces
permanentFail (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
rejectedJSONRequired within parent
rejected (anyOf 1)numberAlternativeRejected emails
rejected (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
repliedJSONRequired within parent
replied (anyOf 1)numberAlternativeReplies received
replied (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
replyRateJSONRequired within parent
replyRate (anyOf 1)numberAlternativeReply rate as percentage of delivered
replyRate (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
sentJSONRequired within parent
sent (anyOf 1)numberAlternativeTotal emails sent (delivered + accepted + bounced)
sent (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
temporaryFailJSONRequired within parent
temporaryFail (anyOf 1)numberAlternativeSoft bounces
temporaryFail (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
unsubscribeRateJSONRequired within parent
unsubscribeRate (anyOf 1)numberAlternativeUnsubscribe rate as percentage of delivered
unsubscribeRate (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
unsubscribedJSONRequired within parent
unsubscribed (anyOf 1)numberAlternativeUnsubscribes
unsubscribed (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Get Email Campaign by ID — response body

FieldTypePresenceDescription and constraints
$objectRoot
campaignCategorystringOptionalCampaign category
campaignTypestringOptionalCampaign delivery type
createdAtstringRequired within parentCreated at timestamp
deletedbooleanRequired within parentWhether the campaign is deleted
editorContentUrlstringOptionalURL to fetch the rendered campaign content as HTML. Issue a GET against this URL to retrieve the body.
editorTypestringOptionalOriginal editor type the campaign was created with
Known values: html, builder, text
fromEmailstringOptionalSender email address
fromNamestringOptionalSender name
idstringRequired within parentCampaign ID
isPlainTextbooleanOptionalWhether the campaign uses plain text
namestringOptionalCampaign name
previewTextstringOptionalPreview text
replyToAddressstringOptionalReply-to email address
sourcestringOptionalSource of the campaign
sourceIdstringOptionalSource ID of the campaign
statusstringOptionalCampaign status
Known values: all, sent, failed, archived, draft, processing, scheduled, cancelled, paused
subjectstringOptionalEmail subject line
traceIdstringOptionalTrace ID of the request
updatedAtstringRequired within parentLast updated timestamp
variationsarrayOptionalAB test variation identifiers (available only for AB test campaigns)
variations[]ModelEach itemExpand Create Email Campaign — response body — variations item

Referenced models: Create Email Campaign — response body — variations item

Get Email Template by ID — response body

FieldTypePresenceDescription and constraints
$objectRoot
createdAtstringOptionalCreated timestamp
deletedbooleanRequired within parentWhether the template is deleted
editorContentUrlstringOptionalURL to fetch the rendered template content as HTML. Issue a GET against this URL to retrieve the body.
editorTypestringRequired within parentEditor type
Known values: html, builder, text
fromEmailstringOptionalSender email address
fromNamestringOptionalSender name
idstringRequired within parentTemplate ID
isPlainTextbooleanRequired within parentWhether template is plain text
namestringRequired within parentTemplate name
parentFolderIdstringOptionalParent folder ID
previewTextstringOptionalPreview text
subjectstringOptionalEmail subject line
traceIdstringOptionalTrace ID of request
updatedAtstringOptionalUpdated timestamp

Get Workflow Campaign by ID — response body

FieldTypePresenceDescription and constraints
$objectRoot
createdAtstringRequired within parentCreated at timestamp
deletedbooleanOptionalWhether the campaign is deleted
idstringRequired within parentCampaign ID
namestringOptionalCampaign name
sourcestringOptionalSource of the campaign
sourceIdstringOptionalSource ID of the campaign
statusstringOptionalCampaign status
Known values: published, draft
subSourcesarrayOptionalSub-sources (email-sending steps) within this workflow. Each entry's `id` can be passed as the `subSourceId` query parameter to the campaign stats endpoint to retrieve per-step stats.
subSources[]ModelEach itemExpand Get Workflow Campaign by ID — response body — sub Sources item
traceIdstringOptionalTrace ID of the request
updatedAtstringRequired within parentUpdated at timestamp

Referenced models: Get Workflow Campaign by ID — response body — sub Sources item

Get Workflow Campaign by ID — response body — sub Sources item

FieldTypePresenceDescription and constraints
$objectRoot
createdAtstringOptionalTimestamp when this step was added to the workflow
editorContentUrlstringOptionalURL to fetch the rendered step content as HTML. Issue a GET against this URL to retrieve the body.
editorTypestringOptionalEditor type for this step
Known values: html, builder, text
fromEmailstringOptionalSender email address
fromNamestringOptionalSender name
idstringRequired within parentSub-source identifier (workflow step). Pass this value as the `subSourceId` query parameter on the campaign stats endpoint to retrieve stats scoped to this step.
isPlainTextbooleanOptionalWhether this step uses plain text
namestringOptionalWorkflow step name
previewTextstringOptionalPreview text
subjectstringOptionalEmail subject line
updatedAtstringOptionalTimestamp when this step was last updated

Import an email template — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
importProviderstringRequired within parentImport provider (URL-based providers only)
One of: mailchimp, active_campaign
importUrlstringRequired within parentPublic import URL
namestringOptionalTemplate name
parentFolderIdstringOptionalParent folder ID
userIdstringOptionalID of the user performing this action

List Bulk Action Campaigns — response body

FieldTypePresenceDescription and constraints
$objectRoot
campaignsarrayRequired within parentList of bulk action campaigns
campaigns[]ModelEach itemExpand List Bulk Action Campaigns — response body — campaigns item
totalJSONRequired within parent
total (anyOf 1)numberAlternativeTotal count of bulk action campaigns
total (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
traceIdstringOptionalTrace ID of the request

Referenced models: List Bulk Action Campaigns — response body — campaigns item

List Bulk Action Campaigns — response body — campaigns item

FieldTypePresenceDescription and constraints
$objectRoot
completedAtstringOptionalProcessing completion timestamp
createdAtstringRequired within parentCreated at timestamp
deletedbooleanRequired within parentWhether the campaign is deleted
emailMetadataJSONOptionalEmail metadata
emailMetadata (allOf 1)ModelAll variants applyExpand List Bulk Action Campaigns — response body — campaigns item email Metadata from, name, subject, template Id
idstringRequired within parentCampaign ID
namestringOptionalCampaign name
scheduleTypestringOptionalSchedule type (NOW, SCHEDULED, or DRIP)
Known values: NOW, SCHEDULED, DRIP
sourcestringOptionalSource of the campaign
sourceIdstringOptionalSource ID of the campaign
statusstringRequired within parentCampaign status
Known values: processing, scheduled, paused, complete, cancelled
updatedAtstringRequired within parentLast updated timestamp

Referenced models: List Bulk Action Campaigns — response body — campaigns item email Metadata from, name, subject, template Id

List Bulk Action Campaigns — response body — campaigns item email Metadata from, name, subject, template Id

FieldTypePresenceDescription and constraints
$objectRoot
fromstringOptionalSender (name and email)
namestringOptionalSender name
subjectstringOptionalEmail subject line
templateIdstringOptionalEmail template ID

List Email Campaigns — response body

FieldTypePresenceDescription and constraints
$objectRoot
campaignsarrayRequired within parentList of email campaigns
campaigns[]ModelEach itemExpand List Email Campaigns — response body — campaigns item
totalJSONRequired within parent
total (anyOf 1)numberAlternativeTotal count of email campaigns
total (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
traceIdstringOptionalTrace ID of the request

Referenced models: List Email Campaigns — response body — campaigns item

List Email Campaigns — response body — campaigns item

FieldTypePresenceDescription and constraints
$objectRoot
campaignCategorystringOptionalCampaign category
campaignTypestringOptionalCampaign type
createdAtstringRequired within parentCreated at timestamp
deletedbooleanRequired within parentWhether the campaign is deleted
idstringRequired within parentCampaign ID
namestringOptionalCampaign name
sourcestringOptionalSource of the campaign
sourceIdstringOptionalSource ID of the campaign
statusstringOptionalCampaign status
Known values: all, sent, failed, archived, draft, processing, scheduled, cancelled, paused
updatedAtstringRequired within parentLast updated timestamp
variationsarrayOptionalAB test variation identifiers (available only for AB test campaigns)
variations[]ModelEach itemExpand Create Email Campaign — response body — variations item

Referenced models: Create Email Campaign — response body — variations item

List Workflow Campaigns — response body

FieldTypePresenceDescription and constraints
$objectRoot
campaignsarrayRequired within parentList of workflow campaigns
campaigns[]ModelEach itemExpand List Workflow Campaigns — response body — campaigns item
totalJSONRequired within parent
total (anyOf 1)numberAlternativeTotal count of campaigns
total (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
traceIdstringOptionalTrace ID of the request

Referenced models: List Workflow Campaigns — response body — campaigns item

List Workflow Campaigns — response body — campaigns item

FieldTypePresenceDescription and constraints
$objectRoot
createdAtstringRequired within parentCreated at timestamp
deletedbooleanOptionalWhether the campaign is deleted
idstringRequired within parentCampaign ID
namestringOptionalCampaign name
sourcestringOptionalSource of the campaign
sourceIdstringOptionalSource ID of the campaign
statusstringOptionalCampaign status
Known values: published, draft
updatedAtstringRequired within parentUpdated at timestamp

List templates — emails list Email Templates — response body

FieldTypePresenceDescription and constraints
$objectRoot
itemsarrayRequired within parentList of template and folder resources
items[]ModelEach itemExpand List templates — emails list Email Templates — response body — items item
totalJSONRequired within parent
total (anyOf 1)numberAlternativeTotal count of templates and folders
total (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
traceIdstringOptionalTrace ID of the request

Referenced models: List templates — emails list Email Templates — response body — items item

List templates — emails list Email Templates — response body — items item

FieldTypePresenceDescription and constraints
$objectRoot
childCountJSONOptional
childCount (anyOf 1)numberAlternativeChildren count for folder resources
childCount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
createdAtstringOptionalCreated timestamp
editorTypestringOptionalEditor type for template resources
Known values: html, builder, text
hasChildrenbooleanOptionalWhether folder has child resources
idstringRequired within parentResource ID
isPlainTextbooleanOptionalWhether template is plain text
namestringRequired within parentResource name
parentFolderIdstringOptionalParent folder ID
previewUrlstringOptionalPreview URL
typestringRequired within parentResource type
Known values: template, folder
updatedAtstringOptionalLast updated timestamp

Schedule Campaign — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
abTestConfigJSONOptionalA/B test configuration. Can be combined with any scheduleType except rss.
abTestConfig (allOf 1)ModelAll variants applyExpand Schedule Campaign — request body — body / abTestConfig / testType: email Content, subject Line, winning Criteria: open Rate, click Rate
emailMetaJSONRequired within parentEmail subject, sender, and content metadata
emailMeta (allOf 1)ModelAll variants applyExpand Schedule Campaign — request body — body email Meta attachments, from Email, from Name, preview Text, reply To Address, subject
recipientsJSONRequired within parentWho receives the email. Must provide either contactIds or filter.
recipients (allOf 1)ModelAll variants applyExpand Schedule Campaign — request body — body / recipients / type: contact, tag, segment
rssConfigJSONOptionalRSS feed configuration. Required when scheduleType is rss.
rssConfig (allOf 1)ModelAll variants applyExpand Schedule Campaign — request body — body / rssConfig / repeatAfter: every day, every week, every month, start At Day: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday
scheduleConfigJSONOptionalSchedule configuration for immediate, scheduled, batch, and smart_send types. Required when scheduleType is not rss.
scheduleConfig (allOf 1)ModelAll variants applyExpand Schedule Campaign — request body — body schedule Config batch, email Preference Id, resend, send At, tracking
scheduleTypestringRequired within parentHow to schedule the campaign
One of: immediate, scheduled, batch, rss, smart_send
sendDaysarrayOptionalDays of the week to allow sending. Used for batch and RSS scheduleTypes.
sendDays[]stringEach itemOne of: Mon, Tue, Wed, Thu, Fri, Sat, Sun
timeZonestringRequired within parentIANA timezone
userIdstringRequired within parentID of the user performing this action
userNamestringOptionalName of the user performing this action

Referenced models: Schedule Campaign — request body — body / abTestConfig / testType: email Content, subject Line, winning Criteria: open Rate, click Rate, Schedule Campaign — request body — body email Meta attachments, from Email, from Name, preview Text, reply To Address, subject, Schedule Campaign — request body — body / recipients / type: contact, tag, segment, Schedule Campaign — request body — body / rssConfig / repeatAfter: every day, every week, every month, start At Day: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Schedule Campaign — request body — body schedule Config batch, email Preference Id, resend, send At, tracking

Schedule Campaign — request body — body / abTestConfig / testType: email Content, subject Line, winning Criteria: open Rate, click Rate

FieldTypePresenceDescription and constraints
$objectRoot
testDurationnumberRequired within parentSeconds to run the test before picking a winner
testSizenumberRequired within parentPercentage of contacts in the test group (0-100)
testTypestringRequired within parentWhat is being tested
One of: emailContent, subjectLine
variationCountnumberRequired within parentNumber of variations
variationsarrayRequired within parentA/B test variations
variations[]ModelEach itemExpand Schedule Campaign — request body — body / abTestConfig / testType: email Content, subject Line, winning Criteria: open Rate, click Rate variations item
winningCriteriastringRequired within parentHow to pick the winner
One of: openRate, clickRate

Referenced models: Schedule Campaign — request body — body / abTestConfig / testType: email Content, subject Line, winning Criteria: open Rate, click Rate variations item

Schedule Campaign — request body — body / abTestConfig / testType: email Content, subject Line, winning Criteria: open Rate, click Rate variations item

FieldTypePresenceDescription and constraints
$objectRoot
documentIdstringOptionalTemplate/document ID for this variation
subjectstringOptionalSubject line for this variation

Schedule Campaign — request body — body / recipients / type: contact, tag, segment

FieldTypePresenceDescription and constraints
$objectRoot
contactIdsarrayOptionalContact IDs to send to. Required when type is contact.
contactIds[]stringEach item
freezeListbooleanOptionalFreeze the contact list at schedule time — new matching contacts will not be added later
Default: true
segmentstringOptionalSegment type for pre-built segments. Required when type is segment.
One of: engaged_last_7_days, engaged_last_30_days, engaged_last_60_days, engaged_last_5_campaigns, unengaged_last_5_campaigns
tagIdsarrayOptionalTag IDs to filter recipients by. Required when type is tag.
tagIds[]stringEach item
typestringRequired within parentRecipient selection type
One of: contact, tag, segment

Schedule Campaign — request body — body / rssConfig / repeatAfter: every day, every week, every month, start At Day: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday

FieldTypePresenceDescription and constraints
$objectRoot
firstExecutionDatestringOptionalOverride first execution date/time
namestringRequired within parentRSS schedule name
repeatAfterstringRequired within parentHow often to check the feed
One of: every_day, every_week, every_month
repeatAfterTimestringRequired within parentTime of day to execute
rssFeedLimitnumberOptionalMax number of RSS items per email
rssFeedURLstringRequired within parentRSS feed URL
startAtDaystringOptionalDay of week for weekly RSS
One of: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday
startAtMonthDaystringOptionalDay of month for monthly RSS

Schedule Campaign — request body — body / scheduleConfig / batch, emailPreferenceId, resend, sendAt, tracking / batch / intervalUnit: minutes, hours, days

FieldTypePresenceDescription and constraints
$objectRoot
batchSizenumberRequired within parentNumber of contacts to process per batch
intervalnumberRequired within parentDelay between batches
intervalUnitstringRequired within parentUnit for the interval
One of: minutes, hours, days
skipDaysarrayOptionalDays to skip sending
skipDays[]stringEach itemOne of: Mon, Tue, Wed, Thu, Fri, Sat, Sun
windowEndstringOptionalLatest time to send batches
windowStartstringOptionalEarliest time to send batches

Schedule Campaign — request body — body email Meta attachments, from Email, from Name, preview Text, reply To Address, subject

FieldTypePresenceDescription and constraints
$objectRoot
attachmentsarrayOptionalAttachment download URLs
attachments[]stringEach item
fromEmailstringRequired within parentSender email address
fromNamestringRequired within parentSender display name
previewTextstringOptionalPreview text shown in inbox after subject
replyToAddressstringOptionalReply-to email address
subjectstringRequired within parentEmail subject line

Schedule Campaign — request body — body schedule Config batch, email Preference Id, resend, send At, tracking

FieldTypePresenceDescription and constraints
$objectRoot
batchJSONOptionalBatch/drip configuration. Required when scheduleType is batch. Ignored otherwise.
batch (allOf 1)ModelAll variants applyExpand Schedule Campaign — request body — body / scheduleConfig / batch, emailPreferenceId, resend, sendAt, tracking / batch / intervalUnit: minutes, hours, days
emailPreferenceIdstringOptionalEmail preference type ID for categorizing this campaign
resendJSONOptionalAuto-resend to contacts who did not open
resend (allOf 1)ModelAll variants applyExpand Schedule Campaign — request body — body schedule Config batch, email Preference Id, resend, send At, tracking resend enabled, subject, wait Hours
sendAtstringOptionalDate/time to send. Required for scheduled, batch, and smart_send. Ignored for immediate.
trackingJSONOptionalClick and UTM tracking options
tracking (allOf 1)ModelAll variants applyExpand Schedule Campaign — request body — body schedule Config batch, email Preference Id, resend, send At, tracking tracking click Tracking, utm Tracking

Referenced models: Schedule Campaign — request body — body / scheduleConfig / batch, emailPreferenceId, resend, sendAt, tracking / batch / intervalUnit: minutes, hours, days, Schedule Campaign — request body — body schedule Config batch, email Preference Id, resend, send At, tracking resend enabled, subject, wait Hours, Schedule Campaign — request body — body schedule Config batch, email Preference Id, resend, send At, tracking tracking click Tracking, utm Tracking

Schedule Campaign — request body — body schedule Config batch, email Preference Id, resend, send At, tracking resend enabled, subject, wait Hours

FieldTypePresenceDescription and constraints
$objectRoot
enabledbooleanOptionalEnable resend to contacts who did not open
subjectstringOptionalOverride subject line for the resend email
waitHoursnumberOptionalHours to wait before resending. Required when enabled is true.

Schedule Campaign — request body — body schedule Config batch, email Preference Id, resend, send At, tracking tracking click Tracking, utm Tracking

FieldTypePresenceDescription and constraints
$objectRoot
clickTrackingbooleanOptionalEnable click tracking on links
utmTrackingbooleanOptionalEnable UTM parameters on links

Schedule Campaign — response body

FieldTypePresenceDescription and constraints
$objectRoot
campaignIdstringRequired within parentCampaign ID
sourceIdJSONRequired within parent
sourceId (anyOf 1)stringAlternativeSource ID for fetching campaign statistics
sourceId (anyOf 2)nullAlternative
traceIdstringOptionalTrace ID of the request

Update Email Campaign — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
editorContentstringOptionalEditor content to update. Required only when updating campaign content, and must be provided together with editorType. Provide HTML or plain-text string content.
editorTypestringOptionalEditor type for campaign content. Required only when updating campaign content, and must be provided together with editorContent.
One of: html, text
namestringOptionalCampaign name
userIdstringOptionalID of the user performing this action

Update an email template — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
archivedbooleanOptionalWhether template is archived
editorContentstringOptionalEditor content to update. Required only when updating template content, and must be provided together with editorType. Provide HTML or plain-text string content.
editorTypestringOptionalType of editor content. Required only when updating template content, and must be provided together with editorContent.
One of: html, text
fromEmailstringOptionalSender email address
fromNamestringOptionalSender name
namestringOptionalTemplate name
parentFolderIdstringOptionalParent folder ID. Pass `null` to move template to the root level.
previewTextstringOptionalPreview text
subjectLinestringOptionalEmail subject line
userIdstringOptionalID of the user performing this action

Update an email template — response body

FieldTypePresenceDescription and constraints
$objectRoot
archivedbooleanRequired within parentWhether template is archived
createdAtstringOptionalCreated timestamp
editorTypestringOptionalTemplate type
Known values: html, text
fromEmailstringRequired within parentSender email address
fromNamestringRequired within parentSender name
idstringRequired within parentTemplate ID
isPlainTextbooleanOptionalWhether template is plain text
namestringRequired within parentTemplate name
parentFolderIdstringOptionalParent folder ID
previewTextstringRequired within parentPreview text
previewUrlstringRequired within parentPreview URL
subjectLinestringRequired within parentEmail subject line
traceIdstringOptionalTrace ID of request
updatedAtstringOptionalLast updated timestamp

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.