You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| description | no | Field for describing what this transmission is for the user | String |
104
-
| campaign | no | Field for assigning a given transmission to a specific campaign, which is a logical container for similar transmissions | String |
105
-
| metadata | no | Field for adding arbitrary key/value pairs which will be included in open/click tracking | Object (Simple) |
106
-
| substitutionData | no | Field for adding transmission level substitution data, which can be used in a variety of fields and in content | Object (Complex) |
107
-
| trackOpens | no | Field for enabling/disabling transmission level open tracking (default: true) | Boolean |
108
-
| trackClicks | no | Field for enabling/disabling transmission level click tracking (default: true) | Boolean |
109
-
| useDraftTemplate | no | Field for allowing the sending of a transmission using a draft of a stored template (default: false) | Boolean |
110
-
| replyTo | no | Field for specifying the email address that should be used when a recipient hits the reply button | String |
111
-
| subject | yes | Field for setting the subject line of a given transmission | String |
112
-
| from | yes**| Field for setting the from line of a given transmission | String or Object |
113
-
| html | yes**| Field for setting the HTML content of a given transmission | String |
114
-
| text | yes**| Field for setting the Plain Text content of a given transmission | String |
115
-
| rfc822 | no**| Field for setting the RFC-822 encoded content of a given transmission | String |
116
-
| template | no**| Field for specifying the Template ID of a stored template to be used when sending a given transmission | String |
117
-
| customHeaders | no | Field for specifying additional headers to be applied to a given transmission (other than Subject, From, To, and Reply-To) | Object (Simple) |
118
-
| recipients | yes**| Field for specifying who a given transmission should be sent to | Array of Objects |
119
-
| recipientList | no**| Field for specifying a stored recipient list ID to be used for a given transmission | String |
104
+
| Field Name | Required? | Description | Data Type |
| attachments | no | Field for attaching files - see Attachment Attributes in the [Transmssions API docs](https://developers.sparkpost.com/api/#/reference/transmissions)| Array of Objects |
107
+
| campaign | no | Field for assigning a given transmission to a specific campaign, which is a logical container for similar transmissions | String |
108
+
| customHeaders | no | Field for specifying additional headers to be applied to a given transmission (other than Subject, From, To, and Reply-To) | Object (Simple) |
109
+
| description | no | Field for describing what this transmission is for the user | String |
110
+
| from | yes**| Field for setting the from line of a given transmission | Object |
111
+
| html | yes**| Field for setting the HTML content of a given transmission | String |
112
+
| inlineCss | no | Field for enabling/disabling CSS inlining | Boolean |
113
+
| inlineImages | no | Field for providing inline images - see Inline Image Attributes in the [Transmssions API docs](https://developers.sparkpost.com/api/#/reference/transmissions)| Array of Objects |
114
+
| metadata | no | Field for adding arbitrary key/value pairs which will be included in open/click tracking | Object (Simple) |
115
+
| recipientList | no**| Field for specifying a stored recipient list ID to be used for a given transmission | String |
116
+
| recipients | yes**| Field for specifying who a given transmission should be sent to | Array of Objects |
117
+
| replyTo | no | Field for specifying the email address that should be used when a recipient hits the reply button | String |
118
+
| rfc822 | no**| Field for setting the RFC-822 encoded content of a given transmission | String |
119
+
| subject | yes | Field for setting the subject line of a given transmission | String |
120
+
| substitutionData | no | Field for adding transmission level substitution data, which can be used in a variety of fields and in content | Object (Complex) |
121
+
| template | no**| Field for specifying the Template ID of a stored template to be used when sending a given transmission | String |
122
+
| text | yes**| Field for setting the Plain Text content of a given transmission | String |
123
+
| trackClicks | no | Field for enabling/disabling transmission level click tracking (default: true) | Boolean |
124
+
| trackOpens | no | Field for enabling/disabling transmission level open tracking (default: true) | Boolean |
125
+
| transactional | no | Field for marking email as transactional (default: false) | Boolean |
126
+
| useDraftTemplate | no | Field for allowing the sending of a transmission using a draft of a stored template (default: false) | Boolean |
120
127
121
128
** - If using inline content then html or text are required. If using RFC-822 Inline Content, then rfc822 is required. If using a stored recipient list, then recipientList is required. If using a stored template, then template is required but from is not as the values from the template will be used.
0 commit comments