List suppressed addresses
The addresses the workspace does not send to: the ones that bounced, the ones that complained and the ones added by hand. Newest first, a page at a time: pass next as cursor for the following page.
opensend.suppressions.list(input?)opensend suppressions listInput
qstringOnly addresses that contain this text. Up to 500 characters.
reasonstringOnly entries with this reason:
bounce,complaintormanual.One of
bouncecomplaintmanuallimitintegerHow many entries to return, from 1 to 100. Without it you get 25.
cursorstringThe
nextvalue of the page before, to read the page after it. Up to 500 characters.
Returns
The call resolves to the answer, already parsed. A call the API refuses throws OpenSendError with the code and the message of the answer. SDK lists the errors of the client itself.
object"list"Always
list.dataobject[]The entries on this page, newest first.
data[].object"suppression"Always
suppression.data[].idstringThe id of the entry.
data[].emailstringThe address that is not sent to.
data[].reasonstringWhy it is on the list:
bounce,complaintormanualwhen you put it there.One of
bouncecomplaintmanualdata[].detailstring | nullMore about the reason, or
null.data[].removablebooleanWhether the entry can be removed. An address that complained cannot.
data[].createdAtstringWhen the address was put on the list.
hasMorebooleanWhether more entries follow this page.
nextstring | nullThe value to send as
cursorfor the next page, ornullat the end.connectedbooleanWhether sending is connected. Without it the list is empty.