-
Notifications
You must be signed in to change notification settings - Fork 1
/
data-full.json
69 lines (68 loc) · 1.87 KB
/
data-full.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"asm": {
"group_id": "[Create unsubscribe group id: https://mc.sendgrid.com/unsubscribe-groups] or leave empty",
"groups_to_display": [
"[list of group id]"
]
},
"attachments": [
{
"content": "",
"filename": "sf_city_hall.jpg",
"path": "https://digitalservices.sfgov.org/assets/sf_city_hall-bg.jpg",
"type": "image/jpg"
},
{
"content": "",
"filename": "sample.pdf",
"path": "http://www.africau.edu/images/default/sample.pdf",
"type": "application/pdf"
},
{
"content": "[BASE64 encoded content block here]",
"filename": "sample.pdf",
"path": "",
"type": "text/plain"
},
{
"filename": "test.pdf",
"path": "https://www.sf.gov/test.pdf",
"type": "application/pdf",
"headers": {
"api-key": "123ABC"
}
}
],
"template": {
"url": "https://static.sf.gov/templates/mail/helloworld.html",
"replacements": {
"replacement_key": "replacement_value"
}
},
"content": [
{
"type": "text/html",
"value": "<html><p>Hello, world! Welcome to DS</p> </html>"
},
{
"type": "text/custom",
"value": "Hello world - custom type"
}
],
"custom_args": {
"New Argument 1": "New Value 1",
"activationAttempt": "1",
"customerAccountNumber": "[CUSTOMER ACCOUNT NUMBER GOES HERE]"
},
"to": [
{
"email": "[Recipient Email Address]",
"name": "[Recipient Name]"
}
],
"from": {
"email": "[Your from address]",
"name": "[Your from name]"
},
"subject": "Hello, World!"
}