Skip to content

Instantly share code, notes, and snippets.

@activeprospect-support
Last active November 14, 2018 15:48
Show Gist options
  • Save activeprospect-support/9e27e024b878c0a820a5 to your computer and use it in GitHub Desktop.
Save activeprospect-support/9e27e024b878c0a820a5 to your computer and use it in GitHub Desktop.
SL - Overview of Lists Within SuppressionList
$ curl -X POST https://app.suppressionlist.com/lists \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-d'{"name":"Email List","ttl":2592000}' \
-uAPI:fc36c8168cbb16784f6a29f89695dd92
HTTP/1.1 201 Created
Location: https://app.suppressionlist.com/lists/512d79a8bd9059be60000006
Content-Type: application/json; charset=utf-8
{
"id": "512d79a8bd9059be60000006",
"name": "Email List",
"url_name": "email_list",
"type": "md5",
"ttl": 2592000,
"count": 0,
"total_jobs": 0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment