Last active
December 9, 2016 15:22
-
-
Save activeprospect-support/f93568b466d93858d8610795bfbc2675 to your computer and use it in GitHub Desktop.
SL API - Adding item with timestamp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -X POST https://app.suppressionlist.com/lists/my_list/items \ | |
-H 'Accept: application/json' \ | |
-H 'Content-Type: application/json' \ | |
-d '{"values":["[email protected]"],"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