Skip to main content

Get the spam block list

GET 

/api/accounts/:accountId/spam_blocklist

Returns the account mailbox's spam block list: the addresses or domains whose mail is always treated as spam. The list is kept by the platform, not by the Mail app, and is [] when the platform returns none.

The request is made with the session's platform access token, so a session without one gets 401. Platform failures return 424.

Request​

Responses​

Block list.