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":"test@email.com"}' \ | |
| -uAPI:fc36c8168cbb16784f6a29f89695dd92 |
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 PUT https://app.suppressionlist.com/lists/512d79a8bd9059be60000006/jobs/512fabcf82d28b2462000009/kill \ | |
| -H 'Accept: application/json' \ | |
| -H 'Content-Type: application/json' \ | |
| -uAPI:fc36c8168cbb16784f6a29f89695dd92 | |
| HTTP/1.1 200 OK | |
| Content-Type: application/json; charset=utf-8 | |
| { | |
| "id": "512fabcf82d28b2462000009", |
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 GET https://app.suppressionlist.com/lists/512d79a8bd9059be60000006/jobs/512fabcf82d28b2462000009 \ | |
| -H 'Accept: application/json' \ | |
| -uAPI:fc36c8168cbb16784f6a29f89695dd92 | |
| HTTP/1.1 200 OK | |
| Content-Type: application/json; charset=utf-8 | |
| { | |
| "id": "512fabcf82d28b2462000009", | |
| "user_name": "Alex", |
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 GET https://app.suppressionlist.com/lists/512d79a8bd9059be60000006/jobs \ | |
| -H 'Accept: application/json' \ | |
| -uAPI:fc36c8168cbb16784f6a29f89695dd92 | |
| HTTP/1.1 200 OK | |
| Content-Type: application/json; charset=utf-8 | |
| [ | |
| { | |
| "id": "512fabcf82d28b2462000009", |
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 DELETE https://app.suppressionlist.com/lists/512d79a8bd9059be60000008 \ | |
| -H 'Accept: application/json' \ | |
| -uAPI:fc36c8168cbb16784f6a29f89695dd92 | |
| HTTP/1.1 204 No Content |
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 GET https://app.suppressionlist.com/lists \ | |
| -H 'Accept: application/json' \ | |
| -uAPI:fc36c8168cbb16784f6a29f89695dd92 | |
| HTTP/1.1 200 OK | |
| Content-Type: application/json; charset=utf-8 | |
| [ | |
| { | |
| "id": "512d79a8bd9059be60000006", |
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 \ | |
| -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 |
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
| https://app.suppressionlist.com/exists/{{list_id}}/{{query term}}: |
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
| HTTP/1.1 404 Not Found | |
| Content-Type: application/json; charset=utf-8 | |
| { | |
| "specified_lists": ["my_list","my_other_list","my_third_list"], | |
| "key":"test@email.com", | |
| "found":false | |
| } |
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
| HTTP/1.1 200 OK | |
| Content-Type: application/json; charset=utf-8 | |
| { | |
| "specified_lists":["my_list","my_other_list","my_third_list"], | |
| "key":"test@email.com", | |
| "found":true, | |
| "exists_in_lists":["my_list","my_third_list"] | |
| } | |