Self Help Documentation
< All Topics

email/addemailfilter

Description

Adds a new sender in SpamAssassin’s white or blacklist for an existing SPanel user account.

Parameters

FieldTypeRequiredDescription
tokenstringYesAuthorizing API token – check API Basics for more information.
accountuserstringYesThe SPanel user account that is being managed or viewed.
actionstringYesThe category and function being executed.
domainstringYesThe existing domain to have a new filter created.
namestringYesNew filter name.
rulestringYes‘from’ / ‘subject’ / ‘anyheader’ / ‘spamscore’
checkstringYes‘contains’ / ‘not-contains’ / ‘is’
valuestringYesString to check against. No spaces allowed.

Example

You can find more information about the Endpoint URL in our API Basics article.

Output

Table of Contents