Skip to content
This repository was archived by the owner on Aug 27, 2021. It is now read-only.

Commit b07dc03

Browse files
authored
Merge pull request #1942 from sendgrid/develop
6/16/2016 Docs Updates
2 parents 252dd11 + a7f6648 commit b07dc03

File tree

10 files changed

+183
-69
lines changed

10 files changed

+183
-69
lines changed

source/API_Reference/Web_API_v3/Suppression_Management/groups.md

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,16 @@ There is a limit of 25 groups per user.
2929
{% endparameters %}
3030

3131
{% apiv3example post POST https://api.sendgrid.com/v3/asm/groups name=Product+Suggestions&description=Suggestions+for+products+our+users+might+like. %}
32-
{% v3response %}
32+
33+
{% apiv3requestbody %}
34+
{
35+
"name": "Product Suggestions",
36+
"description": "Suggestions for products our users might like.",
37+
"is_default": true
38+
}
39+
{% endapiv3requestbody %}
40+
41+
{% v3response %}
3342
HTTP/1.1 201 OK
3443

3544
{
@@ -117,6 +126,47 @@ HTTP/1.1 201 OK
117126

118127
* * * * *
119128

129+
{% anchor h2 %}
130+
GET
131+
{% endanchor %}
132+
133+
Retrieve information about multiple suppression groups.
134+
135+
This endpoint will return information for each group ID that you include in your request. To add a group ID to your request, simply append `&id=` followed by the group ID.
136+
137+
{% parameters get %}
138+
{% parameter id No Integer 'ID for a suppression group that you want to retrieve information for.' %}
139+
{% endparameters %}
140+
141+
{% apiv3example get GET https://api.sendgrid.com/v3/asm/groups?id={id1}&id={id2} %}
142+
143+
{% v3response %}
144+
HTTP/1.1 200 OK
145+
146+
[
147+
{
148+
"id": 100,
149+
"name": "Newsletters",
150+
"description": "Our monthly newsletter.",
151+
"last_email_sent_at": null,
152+
"is_default" : true,
153+
"unsubscribes": 400
154+
},
155+
{
156+
"id": 101,
157+
"name": "Alerts",
158+
"description 2": "Emails triggered by user-defined rules.",
159+
"last_email_sent_at": null,
160+
"is_default" : false,
161+
"unsubscribes": 1
162+
}
163+
]
164+
{% endv3response %}
165+
166+
{% endapiv3example %}
167+
168+
* * * * *
169+
120170
{% anchor h2 %}
121171
DELETE
122172
{% endanchor %}

source/API_Reference/Web_API_v3/Suppression_Management/suppressions.md

Lines changed: 121 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,80 @@ navigation:
66
show: true
77
---
88

9-
Suppressions are email addresses that can be added to [groups]({{ root_url }}/API_Reference/Web_API_v3/Suppression_Management/groups.html) to prevent certain types of emails from being delivered to those addresses.
9+
Suppressions are email addresses that can be added to [groups]({{root_url}}/API_Reference/Web_API_v3/Suppression_Management/groups.html) to prevent certain types of emails from being delivered to those addresses.
10+
11+
{% anchor h2 %}
12+
GET
13+
{% endanchor %}
14+
15+
Get all suppressions.
16+
17+
{% apiv3example get GET https://api.sendgrid.com/v3/asm/suppressions %}
18+
{% v3response %}
19+
HTTP/1.1 200
20+
[
21+
{
22+
"email":"[email protected]",
23+
"group_id": 1,
24+
"group_name": "Weekly News",
25+
"created_at": 1410986704
26+
},
27+
{
28+
"email":"[email protected]",
29+
"group_id": 2,
30+
"group_name": "Daily News",
31+
"created_at": 1411493671
32+
},
33+
{
34+
"email":"[email protected]",
35+
"group_id": 2,
36+
"group_name": "Daily News",
37+
"created_at": 1411493671
38+
}
39+
]
40+
{% endv3response %}
41+
{% endapiv3example %}
42+
43+
{% anchor h2 %}
44+
GET
45+
{% endanchor %}
46+
47+
Retrieve all unsubscribe groups that the given email address has been added to.
48+
49+
{% parameters post %}
50+
{% parameter email Yes 'String' 'Email address to search for across all groups.' %}
51+
{% endparameters %}
52+
53+
{% apiv3example get GET https://api.sendgrid.com/v3/asm/suppressions/{email} %}
54+
{% v3response %}
55+
HTTP/1.1 200
56+
{
57+
"suppressions": [
58+
{
59+
"description": "Optional description.",
60+
"id": 1,
61+
"is_default": true,
62+
"name": "Weekly News",
63+
"suppressed": true
64+
},
65+
{
66+
"description": "Some daily news.",
67+
"id": 2,
68+
"is_default": true,
69+
"name": "Daily News",
70+
"suppressed": true
71+
},
72+
{
73+
"description": "An old group.",
74+
"id": 2,
75+
"is_default": false,
76+
"name": "Old News",
77+
"suppressed": false
78+
}
79+
]
80+
}
81+
{% endv3response %}
82+
{% endapiv3example %}
1083

1184
{% anchor h2 %}
1285
POST
@@ -25,7 +98,12 @@ If the group has been deleted, this request will add the address to the global s
2598
{% apiv3example post POST https://api.sendgrid.com/v3/asm/groups/:group_id/suppressions recipient_emails=['[email protected]','[email protected]'] %}
2699
{% v3response %}
27100
HTTP/1.1 201
28-
{"recipient_emails":["[email protected]","[email protected]"]}
101+
{
102+
"recipient_emails": [
103+
104+
105+
]
106+
}
29107
{% endv3response %}
30108
{% endapiv3example %}
31109

@@ -40,7 +118,10 @@ Get suppressed addresses for a given group.
40118
{% apiv3example get GET https://api.sendgrid.com/v3/asm/groups/:group_id/suppressions %}
41119
{% v3response %}
42120
HTTP/1.1 200
43-
121+
[
122+
123+
124+
]
44125
{% endv3response %}
45126
{% endapiv3example %}
46127

@@ -57,3 +138,40 @@ Delete a recipient email from the suppressions list for a group.
57138
HTTP/1.1 204
58139
{% endv3response %}
59140
{% endapiv3example %}
141+
142+
{% anchor h2 %}
143+
POST
144+
{% endanchor %}
145+
146+
Use this endpoint to determine if a given list of emails exists in the given suppression group.
147+
148+
When given a list of email addresses and a group ID, this endpoint will return only the email addresses that have been unsubscribed from the given group.
149+
150+
{% parameters post %}
151+
{% parameter group_id Yes 'integer' 'The ID of the group that you would like to search.' %}
152+
{% endparameters %}
153+
154+
{% apiv3example post POST https://api.sendgrid.com/v3/asm/groups/:group_id/suppressions/search %}
155+
156+
{% apiv3requestbody %}
157+
{
158+
"recipient_emails": [
159+
160+
161+
162+
]
163+
}
164+
{% endapiv3requestbody %}
165+
166+
{% v3response %}
167+
HTTP/1.1 200
168+
169+
{
170+
"recipient_emails":[
171+
172+
173+
]
174+
}
175+
176+
{% endv3response %}
177+
{% endapiv3example %}

source/Classroom/Troubleshooting/Account_Administration/your_sendgrid_account_is_at_risk_for_suspension_what_should_i_do.md

Lines changed: 0 additions & 43 deletions
This file was deleted.

source/Classroom/Troubleshooting/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ <h2><a href="#Authentication-Email-Headers-and-Whitelabeling">Authentication, Em
4545
<li><a href="{{root_url}}Account_Administration/my_provision_was_declined_what_should_i_do.html">My provision was declined, what should I do?</a></li>
4646
<li><a href="{{root_url}}Account_Administration/you_cannot_change_your_package_at_this_time_because_your_account_is_not_active.html">Upgrade error message&#58; "You cannot change your package at this time because your account is not active."</a></li>
4747
<li><a href="{{root_url}}Account_Administration/your_account_is_still_being_provisioned_you_will_not_be_able_to_send_out_any_email.html">"Your account is still being provisioned, you may not be able to send emails"</a></li>
48-
<li><a href="{{root_url}}Account_Administration/your_sendgrid_account_is_at_risk_for_suspension_what_should_i_do.html">I got an email saying, "Your SendGrid Account Is At Risk For Suspension". What should I do?</a></li>
4948
</ul>
5049
</div>
5150
</div>

source/Glossary/spam_traps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ Spam traps, also called a “honeypots”, are email addresses created (or re-ac
1414

1515
Spam traps are important because so many large ISPs, spam filter providers and Domain Name System [blacklists]({{root_url}}/Glossary/blacklists.html) use them. In short, sending an email to a spam trap can lead directly to being blacklisted by the organization that set up the trap. Remember that blacklisting can ruin a business’s reputation and halt further email deliverability.
1616

17-
This [article]({{site.support_url}}/hc/en-us/articles/200182968) from our Support Help Center goes into specific details about spam traps.
17+
This [article]({{root_url}}/Classroom/Deliver/Undeliverable_Email/spam_trapped.html) from our Support Help Center goes into specific details about spam traps.
1818

1919
[To get even more information please check out our Email Infrastructure Guide.](http://resources.sendgrid.com/email-infrastructure-guide/?mc=SendGrid%20Documentation)

source/User_Guide/SendGrid_for_Mobile/index.html

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
---
2-
layout: page
3-
weight: 900
4-
title: Overview
2+
st:
3+
published_at: 2016-06-10
4+
type: User_Guide
55
seo:
6-
title: SendGrid for iPhone and iPad Overview
7-
description: Read about the SendGrid iPhone mobile app and how to use it.
6+
title: SendGrid for mobile
7+
description: Read about the SendGrid mobile app and how to use it.
8+
keywords: iphone, ipad, ios, android, google
9+
title: SendGrid for mobile
810
navigation:
911
show: true
1012
---
1113

1214
{% anchor h2 %}
13-
What is SendGrid for Mobile?
15+
What is SendGrid for mobile?
1416
{% endanchor %}
1517

1618
<p>
@@ -32,7 +34,7 @@
3234

3335
<ul>
3436
<li>An Android device, iPhone, iPod Touch, or iPad with iOS 8 or later</li>
35-
<li>A SendGrid account is required. You can sign up on our <a href="{{site.site_url}}/user/signup" target="_blank">website</a> or contact our friendly sales team at 888-985-7363.</li>
37+
<li>A SendGrid account is required. If you don't have an account, You can <a href="{{site.site_url}}/user/signup" target="_blank">sign up for one here</a>.</li>
3638
</ul>
3739

3840
<p style="text-align:center">

source/User_Guide/Transactional_Email/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525

2626
<ul>
2727
<li><a href="{{root_url}}/API_Reference/index.html">API Reference</a></li>
28-
<li><a href="{{root_url}}/Utilities/code_workshop.html">Code Workshops</a></li>
2928
<li><a href="{{root_url}}/Utilities/list_assist.html">List Assist</a></li>
3029
<li><a href="{{root_url}}/Utilities/smtpapi_validator.html">SMTPAPI Validator</a></li>
3130
</ul>

source/Utilities/code_workshop.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

source/Utilities/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ your email.
1212
Our Brand New [Deliverability Center]({{root_url}}/Utilities/deliverabilitycenter.html) is live and ready to help!
1313
Come check out our growing library of bounce errors and their solutions!
1414

15-
Check out [Code Workshop]({{root_url}}/Utilities/code_workshop.html) to
16-
generate email-sending code in a variety of languages.
1715

1816
The [SMTP API header validator]({{root_url}}/Utilities/smtpapi_validator.html) will help ensure that the SMTP API header you are using is valid.
1917

source/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ <h3>Event Webhook</h3>
9090
</a>
9191
</div>
9292
<div class="col-md-12">
93-
<a href="{{root_url}}/API_Reference/Webhooks/index.html">
93+
<a href="{{root_url}}/API_Reference/Webhooks/parse.html">
9494
<h3>Inbound Parse</h3>
9595
<p>
9696
Programmatically parse incoming emails.

0 commit comments

Comments
 (0)