sending

Send email (transactional or marketing)

Applies governance, then passes through to the queue service; supports single, batch, audience, campaign, scheduled, and template-variable sends. Billed per recipient.

post/send-email

Request

  • Base URL: https://api.mailly.site (the document declares no server; this is the origin it was published from)
  • URL: https://api.mailly.site/send-email
  • Auth: HTTP bearer

Request body

audienceobject

Audience filter {include, exclude}

campaignKeystring

Campaign key that uses a frozen audience

campaignNamestring
subjectstring

Email subject

htmlstring

HTML body

textstring

Plain-text body

fromEmailstring

From address (must be on a verified sending domain)

fromNamestring
replyTostring
ccstring
bccstring
topicstring

Unsubscribe and frequency-cap topic

emailType'transactional' | 'lifecycle' | 'marketing'
dryRunboolean

Validate only, do not deliver

testSendboolean
scheduledAtnumber

Scheduled send time in Unix seconds

frequencyCapDaysnumber
frequencyCapMaxnumber
topicExclusionDaysnumber
recipientReasonstring
templateKeystring
templateVersionnumber
sourceAppstring
businessGoalstring
utmobject
messageIdstring
inReplyTostring
referencesstring[]
variablesobject

Inline {{var}} template variables

Response

Send result (passed through from the Queue service, JSON)

Changes

No recorded changes to this operation across all 1 revision of this API.