Managing Lists via the API in SuppressionList

Alex Wolfe
Alex Wolfe
  • Updated

Creating a New List

Before you can add items to your List, you must create it. Lists have the following attribute:

name: The name of the List. Use any name that makes sense to you.

To create a List, use the SuppressionList dashboard or send an HTTP POST request with the above parameter in the request body to:

https://app.suppressionlist.com/lists`/{{list_name}}`

Getting a Catalog of All Your Lists

See what Lists you have in your account. Use the SuppressionList dashboard or send an HTTP GET request to:

https://app.suppressionlist.com/lists

Removing a List

Use the SuppressionList dashboard or send an HTTP DELETE request to:

https://app.suppressionlist.com/lists/{{list_id}}

Once you have removed a List, it is gone forever. If a third-party system is making calls to the API to check this List, SuppressionList will respond with HTTP 404.

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.