Skip to content

Instantly share code, notes, and snippets.

@activeprospect-support
Last active December 9, 2016 15:22
Show Gist options
  • Save activeprospect-support/f93568b466d93858d8610795bfbc2675 to your computer and use it in GitHub Desktop.
Save activeprospect-support/f93568b466d93858d8610795bfbc2675 to your computer and use it in GitHub Desktop.
SL API - Adding item with timestamp
$ curl -X POST https://app.suppressionlist.com/lists/my_list/items \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-d '{"values":["test@email.com"],"timestamp":"2015-08-26T17:29:32Z"}'
-uAPI:fc36c8168cbb16784f6a29f89695dd92
Response
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"accepted": 1,
"rejected": 0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment