v1

latestOpenAPI 3.0.3MIT2026-07-1410794124.7 KB
Emails

Send Bulk Emails CSV

Send to a list of contacts submitted in a CSV data file. The first column in the CSV must be the email address and the CSV must contain a header row. Additional fields can be included with a named header row and can be merged with the template using {merge} tags in the content.

         Example CSV:
        
         email, firstname, lastname
         test1@gmail.com, michael, smith
         test2@gmail.com, janet, smith
        
         Merge file must not be empty. Required Access Level: SendHttp
post/emails/mergefile

Request body

Example request

{
  "Content": {
    "Merge": {
      "city": "New York",
      "age": "34"
    },
    "Headers": {
      "city": "New York",
      "age": "34"
    },
    "EnvelopeFrom": "John Doe <email@domain.com>",
    "From": "John Doe <email@domain.com>",
    "ReplyTo": "John Doe <email@domain.com>",
    "Subject": "Hello!",
    "TemplateName": "Template01",
    "AttachFiles": [
      "preuploaded.jpg"
    ]
  },
  "Options": {
    "PoolName": "My Custom Pool",
    "ChannelName": "Channel01"
  }
}

Response

OK

TransactionIDstring string

ID number of transaction

MessageIDstring string

Unique identifier for this email.

Example response

{
  "TransactionID": "TransactionID",
  "MessageID": "-HHGPM_9RPhSMiaJq_ab4g3"
}