File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -223,6 +223,33 @@ add_content_id
223223 message.add_attachment(' image.png' , open (' ./image.png' , ' rb' ))
224224 message.add_content_id(' image.png' , ' ID_IN_HTML' )
225225 message.set_html(' <html><body>TEXT BEFORE IMAGE<img src="cid:ID_IN_HTML"></img>AFTER IMAGE</body></html>' )
226+
227+ SendGrid's `WEB API v3 `_
228+ ------------------------
229+
230+ `APIKeys `_
231+ ~~~~~~~~~~
232+
233+ List all API Keys belonging to the authenticated user
234+
235+ .. code :: python
236+ client = sendgrid.SendGridAPIClient(os.environ.get(' SENDGRID_API_KEY' ))
237+ status, msg = client.apikeys.get()
238+
239+ `ASM Groups `_
240+ ~~~~~~~~~~~~~
241+
242+ Retrieve all suppression groups associated with the user.
243+
244+ .. code :: python
245+ client = sendgrid.SendGridAPIClient(os.environ.get(' SENDGRID_API_KEY' ))
246+ status, msg = client.asm_groups.get()
247+
248+ Get a single record
249+
250+ .. code :: python
251+
252+ status, msg = client.asm_groups.get(record_id)
226253
227254 SendGrid's `X-SMTPAPI `_
228255-----------------------
You can’t perform that action at this time.
0 commit comments