...
Adding new list Anchor Adding new list Adding new list
The addList operation adds a Recipient List in your account.
...
name: Specify the column name for the name associated with email addresses.
Code Block | ||||
---|---|---|---|---|
| ||||
{
"apiUrl":"https://api.sendgrid.com/api/newsletter",
"apiUser":"UserName",
"apiKey":"PassWord",
"list":"test"
} |
Editing a list Anchor Editing a list Editing a list
The editList operation rename a Recipient List.
...
newlist: Required - Specify the new name for the Recipient List.
Code Block | ||||
---|---|---|---|---|
| ||||
{
"apiUrl":"https://api.sendgrid.com/api/newsletter",
"apiUser":"UserName",
"apiKey":"PassWord",
"list":"test",
"newlist":"newtest"
} |
Getting a list Anchor Getting a list Getting a list
The getList operation gets all Recipient List.
...
list : Check for this particular list.
Code Block | ||||
---|---|---|---|---|
| ||||
{
"apiUrl":"https://api.sendgrid.com/api/newsletter",
"apiUser":"UserName",
"apiKey":"PassWord",
"list":"test"
} |
Deleting a list Anchor Deleting a list Deleting a list
The deleteList operation removes a Recipient List from your account.
...
list : Required - Remove this Recipient List.
Code Block | ||||
---|---|---|---|---|
| ||||
{
"apiUrl":"https://api.sendgrid.com/api/newsletter",
"apiUser":"UserName",
"apiKey":"PassWord",
"list":"test"
} |
Sample configuration
Following is a sample proxy service that illustrates how to connect to SendGrid with the init
operation and use the addList operation. You can use this sample as a template for using other operations in this category.
...