Skip to content

Commit b52c904

Browse files
authored
Merge pull request #25 from OneSignal/update-email-properties
Adds email_preheader and include_unsubscribed email fields
2 parents e659bf0 + ddadd21 commit b52c904

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

api.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -869,6 +869,17 @@
869869
"writeOnly": true,
870870
"nullable": true
871871
},
872+
"email_preheader": {
873+
"type": "string",
874+
"description": "Channel: Email\nThe preheader text of the email.\nPreheader is the preview text displayed immediately after an email subject that provides additional context about the email content.\nIf not specified, will default to null.\n",
875+
"writeOnly": true,
876+
"nullable": true
877+
},
878+
"include_unsubscribed": {
879+
"type": "boolean",
880+
"description": "Channel: Email\nDefault is `false`. This field is used to send transactional notifications. If set to `true`, this notification will also be sent to unsubscribed emails. If a `template_id` is provided, the `include_unsubscribed` value from the template will be inherited. If you are using a third-party ESP, this field requires the ESP's list of unsubscribed emails to be cleared.",
881+
"writeOnly": true
882+
},
872883
"sms_from": {
873884
"type": "string",
874885
"description": "Channel: SMS\nPhone Number used to send SMS. Should be a registered Twilio phone number in E.164 format.\n",

0 commit comments

Comments
 (0)