Skip to content

Commit

Permalink
Merge pull request #7192 from braze-inc/BD-2948
Browse files Browse the repository at this point in the history
BD-2948: Update email message response example
  • Loading branch information
lydia-xie committed Apr 9, 2024
2 parents 7e5da70 + 0de5bec commit f6f8c5c
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions _docs/_api/endpoints/export/campaigns/get_campaign_details.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,19 @@ The `messages` response will contain information about each message. The followi
```json
{
"channel": "email",
"name": (string) the name of the variant,
"extras": (array) the email extras,
"subject": (string) the subject,
"body": (string) the HTML body,
"from": (string) the from address and display name,
"reply_to": (string) the reply-to for message, if different than "from" address,
"title": (string) the name of the email,
"extras": (hash) any key-value pairs provided
"amp_body": (string) the AMP HTML body,
"preheader": (string) the preheader,
"custom_plain_text": (string) the custom plain text,
"should_inline_css": (boolean) whether there should be inline CSS,
"should_whitespace_header": (boolean) whether there should be a whitespace header,
"email_headers": (array) list of email headers
}
```

Expand Down Expand Up @@ -185,7 +192,7 @@ The `messages` response will contain information about each message. The followi
```json
{
"channel": "whats_app",
"subscription_group_id": (string) the API ID of the subscription group selected in the WhatsApp message
"subscription_group_id": (string) the API ID of the subscription group selected in the WhatsApp message,
"from": (array) list of strings of the numbers associated with the subscription group,
"layout": (string) the name of the WhatsApp template being sent (text or media or quick-reply),
"header_text": (string, optional) the text, if present, of the header of the message being sent,
Expand Down

0 comments on commit f6f8c5c

Please sign in to comment.