Get the list of blocked or unsubscribed transactional contacts
GET {{baseUrl}}/smtp/blockedContacts?startDate=veniam elit in&endDate=veniam elit in&limit=50&offset=0&senders=ullamco,dolor elit aute&sort=desc
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
startDate | string | Mandatory if endDate is used. Starting date (YYYY-MM-DD) from which you want to fetch the blocked or unsubscribed contacts | |
endDate | string | Mandatory if startDate is used. Ending date (YYYY-MM-DD) till which you want to fetch the blocked or unsubscribed contacts | |
limit | number | Number of documents returned per page | |
offset | number | Index of the first document on the page | |
senders | string | Comma separated list of emails of the senders from which contacts are blocked or unsubscribed | |
sort | string | Sort the results in the ascending/descending order of record creation. Default order is descending if sort is not passed |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"count":1,"contacts":[{"email":"abc@xyz.com","senderEmail":"ez312@gmal.com","reason":{"message":"Admin blocked","code":"adminBlocked"},"blockedAt":"2017-05-01T12:30:00.000Z"}]}