Skip to content

Commit 80b693a

Browse files
amalco2mtgray-sp
andauthored
Update content/docs/faq/cc-bcc-with-rest-api.md
Co-authored-by: Matt Gray <[email protected]>
1 parent 0eb8664 commit 80b693a

File tree

1 file changed

+23
-21
lines changed

1 file changed

+23
-21
lines changed

content/docs/faq/cc-bcc-with-rest-api.md

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -159,40 +159,42 @@ One method is to use substitution data for your templates that you want to have
159159

160160
Then, for the transmission, set the substitution data for the CC:
161161

162-
```
162+
```json
163163
{
164-
"options" : {
165-
"open_tracking" : true,
166-
"click_tracking" : true,
167-
"conversion_tracking" : false,
164+
"options": {
165+
"open_tracking": true,
166+
"click_tracking": true,
168167
"transactional": true
169168
},
170-
"campaign_id" : "mycampaign-msys",
171-
"return_path" : "[email protected]",
172-
"header_from" : "Single Recipient",
173-
"metadata" : {
169+
"campaign_id": "mycampaign-msys",
170+
"return_path": "[email protected]",
171+
"header_from": "Single Recipient",
172+
"metadata": {
174173
"key": "value"
175174
},
176-
"recipients" : [
175+
"recipients": [
177176
{
178-
"address" : {
177+
"address": {
179178
"email": "[email protected]"
180179
},
181-
"tags" : [
182-
"greeting", "prehistoric", "fred", "flintstone"
183-
],
184-
"header_to" : "Wilma Flintstone",
185-
"metadata" : {
186-
"place" : "Bedrock",
187-
"host" : "google.com"
180+
"tags": [
181+
"greeting",
182+
"prehistoric",
183+
"fred",
184+
"flintstone"
185+
],
186+
"header_to": "Wilma Flintstone",
187+
"metadata": {
188+
"place": "Bedrock",
189+
"host": "google.com"
188190
}
189191
}
190192
],
191193
"substitution_data": {
192-
"cc_data": "[email protected]"
194+
"cc_data": "[email protected]"
193195
},
194-
"content" : {
195-
"template_id": "cc_template_3"
196+
"content": {
197+
"template_id": "cc_template_3"
196198
}
197199
}
198200
```

0 commit comments

Comments
 (0)