Skip to main content

Replace the spam allow list

POST 

/api/accounts/:accountId/spam_allowlist

Replaces the account mailbox's spam allow list on the platform with allowlist, an array of addresses or domains. The whole list is replaced, so send every entry, not just new ones; an empty array clears it.

The response echoes the list that was sent rather than reading it back. The request uses the session's platform access token (401 without one), and platform failures return 424.

Request​

Responses​

Allow list.