Skip to the page

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 [flags]
Needs the scopesuppressions:read
Only reads

Flags

  • --qstring

    Only addresses that contain this text. Up to 500 characters.

  • --reasonstring

    Only entries with this reason: bounce, complaint or manual.

    One ofbouncecomplaintmanual

  • --limitinteger

    How many entries to return, from 1 to 100. Without it you get 25.

  • --cursorstring

    The next value of the page before, to read the page after it. Up to 500 characters.

Returns

The command prints the answer: as JSON when its output goes to a file or another program, and as a table or a list of fields in a terminal. When the API refuses, the error goes to the error stream and the command ends with a code that names the failure. Output and scripts lists the codes.

  • object"list"

    Always list.

  • dataobject[]

    The entries on this page, newest first.

  • data[].object"suppression"

    Always suppression.

  • data[].idstring

    The id of the entry.

  • data[].emailstring

    The address that is not sent to.

  • data[].reasonstring

    Why it is on the list: bounce, complaint or manual when you put it there.

    One ofbouncecomplaintmanual

  • data[].detailstring | null

    More about the reason, or null.

  • data[].removableboolean

    Whether the entry can be removed. An address that complained cannot.

  • data[].createdAtstring

    When the address was put on the list.

  • hasMoreboolean

    Whether more entries follow this page.

  • nextstring | null

    The value to send as cursor for the next page, or null at the end.

  • connectedboolean

    Whether sending is connected. Without it the list is empty.