Get spam filter status
GET
/api/admin/system/spam-filter
const url = 'https://hitkeep.com/api/admin/system/spam-filter';const options = {method: 'GET', headers: {cookie: 'hk_token=<hk_token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://hitkeep.com/api/admin/system/spam-filter \ --cookie hk_token=<hk_token>Returns spam database path, rule count, auto-update state, last refresh time, and last error.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Spam filter status
Media type application/json
object
auto_update
boolean
db_path
string
last_error
string
last_refresh
string format: date-time
rule_count
integer
Example generated
{ "auto_update": true, "db_path": "example", "last_error": "example", "last_refresh": "2026-04-15T12:00:00Z", "rule_count": 1}