List emails
Post /blacklists/list
Parameters:
Name | Description | Type | Mandatory |
---|---|---|---|
type |
Type of blacklist. Values available:
|
String | Yes |
list | Available for unsubscribe and complaints, if you have create a custom list. By default all unsubscribe or complaints will be returned) | String | No |
pageSize | Number of item returned | Int | No |
page | Page number | Int | No |
order | Order of the return (0 (ASC) or 1 (DESC) / based on date value) | Int | No |
Response:
Name | Description | Type | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
type |
An array with information about each email on blacklist
|
Array | |||||||||||||||
total | Total of items on the blacklist | Int |
Programming language:
Request exemple:
1 2 3 4 5 6 | { "pageSize" : 10, "page" : 1, "order" : 1 } |
Response exemple:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | { "bounces" : [ { "email" : "email1@example.com" , "date" : 1438765958, "reason" : "" }, { "email" : "email2@example.com" , "date" : 1438765958, "reason" : "" } ], "total" : 200 } |