{
  "openapi": "3.0.0",
  "info": {
    "title": "SecuMailer SendGrid compatible Mail API",
    "version": "0.9"
  },
  "servers": [
    {
      "url": "https://test-api.secumailer.com",
      "description": "Acceptance environment"
    },
    {
      "url": "https://api.secumailer.com",
      "description": "Production environment"
    }
  ],
  "paths": {
    "/v1/mail/send": {
      "post": {
        "tags": [
          "Mail Send"
        ],
        "summary": "Send Email with SecuMailer.",
        "description": "*The Mail Send operation allows you to send email over SecuMailers REST API*",
        "operationId": "PostMailSend",
        "parameters": [
          {
            "name": "Content-Encoding",
            "in": "header",
            "description": "[IGNORED] This option is accepted but will not yield any result.",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "gzip"
              ]
            }
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/PostMailSend"
        },
        "responses": {
          "202": {
            "description": "Accepted"
          },
          "400": {
            "$ref": "#/components/responses/PostMailSend400"
          },
          "401": {
            "$ref": "#/components/responses/PostMailSend401"
          },
          "403": {
            "$ref": "#/components/responses/PostMailSend403"
          },
          "404": {
            "$ref": "#/components/responses/PostMailSend404"
          },
          "405": {
            "$ref": "#/components/responses/PostMailSend405"
          },
          "413": {
            "$ref": "#/components/responses/PostMailSend413"
          },
          "500": {
            "$ref": "#/components/responses/PostMailSend500"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "MailFrom": {
        "title": "From Email Object",
        "required": [
          "email"
        ],
        "type": "object",
        "properties": {
          "email": {
            "type": "string",
            "description": "The email address from which messages are sent. This address should be a verified sender in your SecuMailer account. Email addresses specified in `personalizations` will override addresses set at the message level outside of the `personalizations` object.",
            "format": "email"
          },
          "name": {
            "type": "string",
            "description": "A name or title associated with the email address such as \"Support\" or \"Alex\"."
          }
        }
      },
      "MailTo": {
        "title": "To Email Object",
        "required": [
          "email"
        ],
        "type": "object",
        "properties": {
          "email": {
            "type": "string",
            "description": "An email address to which a message is sent. Email addresses specified in `personalizations` will override addresses set at the message level outside of the `personalizations` object.",
            "format": "email"
          },
          "name": {
            "type": "string",
            "description": "A name or title associated with the email address such as \"Alex\"."
          }
        }
      },
      "ErrorResponse": {
        "type": "object",
        "properties": {
          "errors": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "message": {
                  "type": "string",
                  "description": "An error message."
                },
                "field": {
                  "type": "string",
                  "description": "When applicable, this property value will be the field that generated the error.",
                  "nullable": true
                },
                "help": {
                  "type": "object",
                  "description": "When applicable, this property value will be helper text or a link to documentation to help you troubleshoot the error."
                }
              }
            }
          },
          "id": {
            "type": "string",
            "description": "When applicable, this property value will be an error ID."
          }
        }
      }
    },
    "responses": {
      "PostMailSend400": {
        "description": "Mail Send bad response.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            },
            "examples": {
              "Unauthorized request": {
                "value": {
                  "errors": [
                    {
                      "message": "invalid request",
                      "field": "null"
                    }
                  ]
                }
              }
            }
          }
        }
      },
      "PostMailSend401": {
        "description": "Mail Send unauthorized response.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            },
            "examples": {
              "Unauthorized request": {
                "value": {
                  "errors": [
                    {
                      "message": "authorization required",
                      "field": "null"
                    }
                  ]
                }
              }
            }
          }
        }
      },
      "PostMailSend403": {
        "description": "Mail Send forbidden response.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            },
            "examples": {
              "Unauthorized request": {
                "value": {
                  "errors": [
                    {
                      "message": "access forbidden",
                      "field": "null"
                    }
                  ]
                }
              }
            }
          }
        }
      },
      "PostMailSend404": {
        "description": "Mail Send not found response.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            },
            "examples": {
              "Unauthorized request": {
                "value": {
                  "errors": [
                    {
                      "message": "not found",
                      "field": "null"
                    }
                  ]
                }
              }
            }
          }
        }
      },
      "PostMailSend405": {
        "description": "Mail Send method not allowed response.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            },
            "examples": {
              "Unauthorized request": {
                "value": {
                  "errors": [
                    {
                      "message": "method not allowed",
                      "field": "null"
                    }
                  ]
                }
              }
            }
          }
        }
      },
      "PostMailSend413": {
        "description": "Mail Send content too large response.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            },
            "examples": {
              "Unauthorized request": {
                "value": {
                  "errors": [
                    {
                      "message": "content too large",
                      "field": "null"
                    }
                  ]
                }
              }
            }
          }
        }
      },
      "PostMailSend500": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            },
            "examples": {
              "Unauthorized request": {
                "value": {
                  "errors": [
                    {}
                  ]
                }
              }
            }
          }
        }
      }
    },
    "parameters": {
      "OnBehalfOf": {
        "name": "on-behalf-of",
        "in": "header",
        "description": "[IGNORED] Use the `on-behalf-of` header to make API calls for a particular Subuser through the parent account. You can use this header to automate bulk updates or to administer a Subuser without changing the authentication in your code. You will use the parent account's API key when using this header.",
        "required": false,
        "schema": {
          "type": "string"
        }
      },
      "BatchId": {
        "name": "batch_id",
        "in": "path",
        "description": "[IGNORED] Set this parameter to the batch ID that's associated with the mail send you want to retrieve.",
        "required": true,
        "schema": {
          "type": "string"
        }
      },
      "MailBodyCompression": {
        "name": "Content-Encoding",
        "in": "header",
        "description": "[IGNORED] This option is accepted but will not yield any result.",
        "required": false,
        "schema": {
          "type": "string",
          "enum": [
            "gzip"
          ]
        }
      }
    },
    "requestBodies": {
      "PostMailSend": {
        "content": {
          "application/json": {
            "schema": {
              "required": [
                "from",
                "personalizations"
              ],
              "type": "object",
              "properties": {
                "personalizations": {
                  "maxItems": 100,
                  "uniqueItems": false,
                  "type": "array",
                  "description": "An array of messages and their metadata. Each object within the `personalizations` array can be thought of as a mail envelope—it defines who should receive an individual message and how that message should be handled.  for more information.",
                  "items": {
                    "required": [
                      "to"
                    ],
                    "type": "object",
                    "properties": {
                      "from": {
                        "$ref": "#/components/schemas/MailFrom"
                      },
                      "to": {
                        "type": "array",
                        "description": "An array of recipients to whom the email will be sent. Each object in this array must contain a recipient's email address. Each object in the array may optionally contain a recipient's name.",
                        "items": {
                          "$ref": "#/components/schemas/MailTo"
                        }
                      },
                      "cc": {
                        "maxItems": 100,
                        "type": "array",
                        "description": "An array of recipients to whom a copy of the email will be sent. Each object in this array must contain a recipient's email address. Each object in the array may optionally contain a recipient's name.",
                        "items": {
                          "$ref": "#/components/schemas/MailTo"
                        }
                      },
                      "bcc": {
                        "maxItems": 100,
                        "type": "array",
                        "description": "An array of recipients to whom a blind carbon copy of your email will be sent. Each object in this array must contain a recipient's email address. Each object in the array may optionally contain a recipient's name.",
                        "items": {
                          "$ref": "#/components/schemas/MailTo"
                        }
                      },
                      "subject": {
                        "minLength": 1,
                        "type": "string",
                        "description": "The subject of your email. See line length limits specified in [RFC 2822](https://www.rfc-editor.org/rfc/rfc2822#section-2.1.1) for guidance on subject line character limits."
                      },
                      "headers": {
                        "type": "object",
                        "description": "A collection of JSON property name and property value pairs allowing you to specify handling instructions for your email. You may not override the following headers: `x-sg-id`, `x-sg-eid`, `received`, `dkim-signature`, `Content-Type`, `Content-Transfer-Encoding`, `To`, `From`, `Subject`, `Reply-To`, `CC`, `BCC`."
                      },
                      "substitutions": {
                        "maxProperties": 10000,
                        "type": "object",
                        "additionalProperties": {
                          "type": "string"
                        },
                        "description": "[IGNORED] A collection property names that will be substituted by their corresponding property values in the `subject`, `reply-to` and `content` portions of your message. Name and value pairs follow the pattern `\"substitution_tag\":\"value to substitute\"`. The total collective size of your substitutions may not exceed 10,000 bytes per personalization object."
                      },
                      "dynamic_template_data": {
                        "type": "object",
                        "description": "[IGNORED] A collection property names that will be substituted by their corresponding property values in the `subject`, `reply-to` and `content` portions of a Dynamic Template."
                      },
                      "custom_args": {
                        "maxProperties": 10000,
                        "type": "object",
                        "description": "[IGNORED] Values that are specific to this personalization that will be carried along with the email and its activity data. Substitutions will not be made on custom arguments, so any string that is assigned to this property will be assumed to be the custom argument that you would like to be used. This field may not exceed 10,000 bytes."
                      },
                      "send_at": {
                        "type": "integer",
                        "description": "A [unix timestamp](https://en.wikipedia.org/wiki/Unix_time) allowing you to specify when your email should be sent. A send cannot be scheduled more than 72 hours in advance."
                      }
                    }
                  }
                },
                "from": {
                  "$ref": "#/components/schemas/MailFrom"
                },
                "reply_to": {
                  "$ref": "#/components/schemas/MailTo"
                },
                "reply_to_list": {
                  "maxItems": 1000,
                  "uniqueItems": true,
                  "type": "array",
                  "description": "An array of recipients to whom replies will be sent. Each object in this array must contain a recipient's email address. Each object in the array may optionally contain a recipient's name. You can use either the `reply_to` property or `reply_to_list` property but not both.",
                  "items": {
                    "$ref": "#/components/schemas/MailTo"
                  }
                },
                "subject": {
                  "minLength": 1,
                  "type": "string",
                  "description": "The global or _message level_ subject of your email. Subject lines set in personalizations objects will override this global subject line. See line length limits specified in [RFC 2822](https://www.rfc-editor.org/rfc/rfc2822#section-2.1.1) for guidance on subject line character limits."
                },
                "content": {
                  "type": "array",
                  "description": "An array of objects, each containing a message body's content and [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types). You must specify at least one MIME type and may include multiple. To include more than one MIME type, add an object for each type to the array.",
                  "items": {
                    "required": [
                      "type",
                      "value"
                    ],
                    "type": "object",
                    "properties": {
                      "type": {
                        "minLength": 1,
                        "type": "string",
                        "description": "The MIME type of the content assigned in the `value` property of this object (e.g., `text/plain` or `text/html`)."
                      },
                      "value": {
                        "minLength": 1,
                        "type": "string",
                        "description": "The content of your message in the specified MIME type assigned in the `type` property of this object."
                      }
                    }
                  }
                },
                "attachments": {
                  "type": "array",
                  "description": "An array of objects where you can define any attachments to be included with the message. Each object contains a `content` property, which must be a Base64 encoded string of the attachment itself, and `type`, `filename`, `disposition`, and `content_id` properties that tell SecuMailer how to handle the attachment.",
                  "items": {
                    "required": [
                      "content",
                      "filename"
                    ],
                    "type": "object",
                    "properties": {
                      "content": {
                        "minLength": 1,
                        "type": "string",
                        "description": "The Base64 encoded content of the attachment."
                      },
                      "type": {
                        "minLength": 1,
                        "type": "string",
                        "description": "The MIME type of the content you are attaching (e.g., `image/jpeg` or `application/pdf`)."
                      },
                      "filename": {
                        "type": "string",
                        "description": "The attachment's filename, including the file extension."
                      },
                      "disposition": {
                        "type": "string",
                        "description": "The attachment's content-disposition specifies how you would like the attachment to be displayed. For example, `inline` results in the attached file being displayed automatically within the message while `attachment` results in the attached file requiring some action to be taken before it is displayed such as opening or downloading the file.",
                        "default": "attachment",
                        "enum": [
                          "inline",
                          "attachment"
                        ]
                      },
                      "content_id": {
                        "type": "string",
                        "description": "The attachment's content ID. The `content_id` is used when the `disposition` is set to `inline` and the attachment is an image, allowing the file to be displayed within the body of the email."
                      }
                    }
                  }
                },
                "template_id": {
                  "type": "string",
                  "description": "[IGNORED] An email template ID. A template that contains a subject and content—either text or html—will override any subject and content values specified at the `personalizations` or message level."
                },
                "headers": {
                  "type": "object",
                  "description": "A collection of JSON property name and property value pairs allowing you to specify handling instructions for your email. You may not override the following headers: `x-sg-id`, `x-sg-eid`, `received`, `dkim-signature`, `Content-Type`, `Content-Transfer-Encoding`, `To`, `From`, `Subject`, `Reply-To`, `CC`, `BCC`."
                },
                "categories": {
                  "maxItems": 10,
                  "uniqueItems": true,
                  "type": "array",
                  "description": "[IGNORED] An array of category names assigned to this message. Categories allow you to group messages by categories you define. Categories should be used sparingly to create general groups that are relevant to you. Categories are not meant to be used to track individual mail sends.",
                  "items": {
                    "maxLength": 255,
                    "type": "string"
                  }
                },
                "custom_args": {
                  "type": "string",
                  "description": "[IGNORED] Values that are specific to the entire send that will be carried along with the email and its activity data. Substitutions will not be made on custom arguments, so any string that is assigned to this property will be assumed to be the custom argument that you would like to be used. This parameter is overridden by `custom_args` set at the personalizations level. Total `custom_args` size may not exceed 10,000 bytes."
                },
                "send_at": {
                  "type": "integer",
                  "description": "A [unix timestamp](https://en.wikipedia.org/wiki/Unix_time) allowing you to specify when your email should be sent. A send cannot be scheduled more than 72 hours in advance. This property may be overridden by the `send_at` property set at the personalizations level."
                },
                "batch_id": {
                  "type": "string",
                  "description": "An ID representing a batch of emails to be sent at the same time. Including a `batch_id` in your request allows you to include this email in that batch."
                },
                "asm": {
                  "required": [
                    "group_id"
                  ],
                  "type": "object",
                  "properties": {
                    "group_id": {
                      "type": "integer",
                      "description": "[IGNORED] The unsubscribe group to associate with this email."
                    },
                    "groups_to_display": {
                      "maxItems": 25,
                      "type": "array",
                      "description": "[IGNORED] An array containing the unsubscribe groups that you would like to be displayed to a recipient on the unsubscribe preferences page. This page is displayed in the recipient's browser when they click the unsubscribe link in your message.",
                      "items": {
                        "type": "integer"
                      }
                    }
                  },
                  "description": "[IGNORED] An object allowing you to specify how to handle unsubscribes. An unsubscribe is the action an email recipient takes when they opt-out of receiving your messages. A suppression is the action you take as a sender to filter or suppress an unsubscribed address from your email send. From the perspective of the recipient, your suppression is the result of their unsubscribe."
                },
                "ip_pool_name": {
                  "maxLength": 64,
                  "minLength": 2,
                  "type": "string",
                  "description": "[IGNORED] The IP Pool that you would like to send this email from. IP Pools allow you to group your dedicated IP addresses in order to have more control over your deliverability."
                },
                "mail_settings": {
                  "type": "object",
                  "properties": {
                    "bypass_list_management": {
                      "type": "object",
                      "properties": {
                        "enable": {
                          "type": "boolean",
                          "description": "Indicates if this setting is enabled."
                        }
                      },
                      "description": "[IGNORED] Allows you to bypass all unsubscribe groups and suppressions to ensure that the email is delivered to every single recipient. This should only be used in emergencies when it is absolutely necessary that every recipient receives your email. This filter cannot be combined with any other bypass filters."
                    },
                    "bypass_spam_management": {
                      "type": "object",
                      "properties": {
                        "enable": {
                          "type": "boolean",
                          "description": "Indicates if this setting is enabled."
                        }
                      },
                      "description": "[IGNORED] Allows you to bypass the spam report list to ensure that the email is delivered to recipients. Bounce and unsubscribe lists will still be checked; addresses on these other lists will not receive the message. This filter cannot be combined with the `bypass_list_management` filter."
                    },
                    "bypass_bounce_management": {
                      "type": "object",
                      "properties": {
                        "enable": {
                          "type": "boolean",
                          "description": "Indicates if this setting is enabled."
                        }
                      },
                      "description": "[IGNORED] Allows you to bypass the bounce list to ensure that the email is delivered to recipients. Spam report and unsubscribe lists will still be checked; addresses on these other lists will not receive the message. This filter cannot be combined with the `bypass_list_management` filter."
                    },
                    "bypass_unsubscribe_management": {
                      "type": "object",
                      "properties": {
                        "enable": {
                          "type": "boolean",
                          "description": "Indicates if this setting is enabled."
                        }
                      },
                      "description": "[IGNORED] Allows you to bypass the global unsubscribe list to ensure that the email is delivered to recipients. Bounce and spam report lists will still be checked; addresses on these other lists will not receive the message. This filter applies only to global unsubscribes and will not bypass group unsubscribes. This filter cannot be combined with the `bypass_list_management` filter."
                    },
                    "footer": {
                      "type": "object",
                      "properties": {
                        "enable": {
                          "type": "boolean",
                          "description": "Indicates if this setting is enabled."
                        },
                        "text": {
                          "type": "string",
                          "description": "The plain text content of your footer."
                        },
                        "html": {
                          "type": "string",
                          "description": "The HTML content of your footer."
                        }
                      },
                      "description": "Inserts a custom footer at the bottom of the text and HTML bodies of your messages. Use the `html` and `text` properties to include the content of the footers to be inserted."
                    },
                    "sandbox_mode": {
                      "type": "object",
                      "properties": {
                        "enable": {
                          "type": "boolean",
                          "description": "Indicates if this setting is enabled."
                        }
                      },
                      "description": "[IGNORED] Sandbox Mode allows you to send a test email to ensure that your request body is valid and formatted correctly."
                    }
                  },
                  "description": "[IGNORED] A collection of different mail settings that you can use to specify how you would like this email to be handled. Mail settings provide extra functionality to your mail send."
                },
                "tracking_settings": {
                  "type": "object",
                  "properties": {
                    "click_tracking": {
                      "type": "object",
                      "properties": {
                        "enable": {
                          "type": "boolean",
                          "description": "Indicates if this setting is enabled."
                        },
                        "enable_text": {
                          "type": "boolean",
                          "description": "Indicates if this setting should be included in the `text/plain` portion of your email."
                        }
                      },
                      "description": "[IGNORED] Allows you to track if a recipient clicked a link in your email."
                    },
                    "open_tracking": {
                      "type": "object",
                      "properties": {
                        "enable": {
                          "type": "boolean",
                          "description": "Indicates if this setting is enabled."
                        },
                        "substitution_tag": {
                          "type": "string",
                          "description": "Allows you to specify a substitution tag that you can insert in the body of your email at a location that you desire. This tag will be replaced by the open tracking pixel."
                        }
                      },
                      "description": "[IGNORED] Allows you to track if the email was opened by including a single transparent pixel image in the body of the message content. When the message is opened, a request for the pixel is sent. That request indicates to SecuMailer  that the message was opened."
                    },
                    "subscription_tracking": {
                      "type": "object",
                      "properties": {
                        "enable": {
                          "type": "boolean",
                          "description": "Indicates if this setting is enabled."
                        },
                        "text": {
                          "type": "string",
                          "description": "Text to be appended to the email with the subscription tracking link."
                        },
                        "html": {
                          "type": "string",
                          "description": "HTML to be appended to the email with the subscription tracking link."
                        },
                        "substitution_tag": {
                          "type": "string",
                          "description": "A tag that will be replaced with the unsubscribe URL. If this property is used, it will override both the `text` and `html` properties. The URL of the link will be placed at the substitution tag's location in the message body with no additional formatting."
                        }
                      },
                      "description": "[IGNORED] Allows you to insert a subscription management link at the bottom of the text and HTML bodies of your email. If you would like to specify the location of the link within your email, you may use the `substitution_tag` property."
                    },
                    "ganalytics": {
                      "type": "object",
                      "properties": {
                        "enable": {
                          "type": "boolean",
                          "description": "Indicates if this setting is enabled."
                        },
                        "utm_source": {
                          "type": "string",
                          "description": "Name of the referrer source. (e.g., Google, SomeDomain.com, or Marketing Email)"
                        },
                        "utm_medium": {
                          "type": "string",
                          "description": "Name of the marketing medium. (e.g., Email)"
                        },
                        "utm_term": {
                          "type": "string",
                          "description": "Used to identify any paid keywords."
                        },
                        "utm_content": {
                          "type": "string",
                          "description": "Used to differentiate your campaign from advertisements."
                        },
                        "utm_campaign": {
                          "type": "string",
                          "description": "The name of the campaign."
                        }
                      },
                      "description": "[IGNORED] Allows you to enable tracking provided by Google Analytics."
                    }
                  },
                  "description": "[IGNORED] Settings to determine how you would like to track the metrics of how your recipients interact with your email."
                }
              }
            },
            "examples": {
              "MailSendNoTemplate": {
                "description": "A Mail Send request with directly included content and no template.",
                "value": {
                  "personalizations": [
                    {
                      "to": [
                        {
                          "email": "alex@example.com",
                          "name": "Alex"
                        },
                        {
                          "email": "bola@example.com",
                          "name": "Bola"
                        }
                      ],
                      "cc": [
                        {
                          "email": "charlie@example.com",
                          "name": "Charlie"
                        }
                      ],
                      "bcc": [
                        {
                          "email": "dana@example.com",
                          "name": "Dana"
                        }
                      ]
                    },
                    {
                      "from": {
                        "email": "sales@example.com",
                        "name": "Example Sales Team"
                      },
                      "to": [
                        {
                          "email": "ira@example.com",
                          "name": "Ira"
                        }
                      ],
                      "bcc": [
                        {
                          "email": "lee@example.com",
                          "name": "Lee"
                        }
                      ]
                    }
                  ],
                  "from": {
                    "email": "orders@example.com",
                    "name": "Example Order Confirmation"
                  },
                  "reply_to": {
                    "email": "customer_service@example.com",
                    "name": "Example Customer Service Team"
                  },
                  "subject": "Your Example Order Confirmation",
                  "content": [
                    {
                      "type": "text/html",
                      "value": "<p>Hello from SecuMailer!</p>"
                    }
                  ],
                  "attachments": [
                    {
                      "content": "PCFET0NUWVBFIGh0bWw+CjxodG1sIGxhbmc9ImVuIj4KCiAgICA8aGVhZD4KICAgICAgICA8bWV0YSBjaGFyc2V0PSJVVEYtOCI+CiAgICAgICAgPG1ldGEgaHR0cC1lcXVpdj0iWC1VQS1Db21wYXRpYmxlIiBjb250ZW50PSJJRT1lZGdlIj4KICAgICAgICA8bWV0YSBuYW1lPSJ2aWV3cG9ydCIgY29udGVudD0id2lkdGg9ZGV2aWNlLXdpZHRoLCBpbml0aWFsLXNjYWxlPTEuMCI+CiAgICAgICAgPHRpdGxlPkRvY3VtZW50PC90aXRsZT4KICAgIDwvaGVhZD4KCiAgICA8Ym9keT4KCiAgICA8L2JvZHk+Cgo8L2h0bWw+Cg==",
                      "filename": "index.html",
                      "type": "text/html",
                      "disposition": "attachment"
                    }
                  ],
                  "categories": [
                    "cake",
                    "pie",
                    "baking"
                  ],
                  "send_at": 1617260400,
                  "batch_id": "AsdFgHjklQweRTYuIopzXcVBNm0aSDfGHjklmZcVbNMqWert1znmOP2asDFjkl",
                  "asm": {
                    "group_id": 12345,
                    "groups_to_display": [
                      12345
                    ]
                  },
                  "ip_pool_name": "transactional email",
                  "mail_settings": {
                    "bypass_list_management": {
                      "enable": false
                    },
                    "footer": {
                      "enable": false
                    },
                    "sandbox_mode": {
                      "enable": false
                    }
                  },
                  "tracking_settings": {
                    "click_tracking": {
                      "enable": true,
                      "enable_text": false
                    },
                    "open_tracking": {
                      "enable": true,
                      "substitution_tag": "%open-track%"
                    },
                    "subscription_tracking": {
                      "enable": false
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "tags": []
}