POST /{mydomain}/messages.mime

Posts a message in MIME format. Note: you will need to build a MIME string yourself. Use a MIME library for your programming language to do this. Pass the resulting MIME string as message parameter.

ParameterDescription
toEmail address of the recipient(s). Example: "Bob <bob@host.com>". You can use commas to separate multiple recipients. Make sure to include all To, Cc and Bcc recipients of the message.
messageMIME string of the message. Make sure to use multipart/form-data to send this as a file upload.
o:tagTag string. See Tagging for more information.
o:deliverytimeDesired time of delivery. See Date Format. Note: Messages can be scheduled for a maximum of 3 days in the future.
o:dkimEnables/disabled DKIM signatures on per-message basis. Pass yes or no
o:testmodeEnables sending in test mode. Pass yes if needed. See Sending in Test Mode
o:trackingToggles tracking on a per-message basis, see Tracking Messages for details. Pass yes or no.
o:tracking-clicksToggles clicks tracking on a per-message basis. Has higher priority than domain-level setting. Pass yes, no or htmlonly.
o:tracking-opensToggles opens tracking on a per-message basis. Has higher priority than domain-level setting. Pass yes or no.
h:X-My-Headerh: prefix followed by an arbitrary value allows to append a custom MIME header to the message (X-My-Header in this case). For example, h:Reply-To to specify Reply-To address.
v:my-varv: prefix followed by an arbitrary name allows to attach a custom JSON data to the message. See Attaching Data to Messages for more information.

Servers

Path parameters

Name Type Required Description
mydomain String Yes

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/x-www-form-urlencoded"

Request body fields

Name Type Required Description
o:dkim String No
inline String No
o:tracking String No
o:require-tls String No
h:X-My-Header String No
subject String No
v:my-var String No
attachment String No
from String No
o:deliverytime String No
to String No
html String No
text String No
o:tracking-clicks String No
bcc String No
o:skip-verification String No
o:tag String No
o:testmode String No

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.