Back to explore

messaging

Spam

Check if an email is spam

Introduction

An API to classify emails against spam detection rules.

Features

Classify

Check whether an email is likely to be spam based on its attributes

Pricing

EndpointCreditsQuotas
Classify0.001None

Base request price is 0.000001 credits per request

Example

Classify Request

Response

{
    "is_spam": false,
    "score": 0.1,
    "details": [
        "NO_RELAYS, Informational: message was not relayed via SMTP, -0",
        "NO_RECEIVED, Informational: message has no Received headers, -0",
        "MISSING_MID, Missing Message-Id: header, 0.1"
    ]
}