Skip to main content

Get the spam allow list

GET 

/api/accounts/:accountId/spam_allowlist

Returns the account mailbox's spam allow list: the addresses or domains whose mail is never 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​

Allow list.