Skip to content

Content Scoring

Analyze email content for spam patterns before sending. Get actionable feedback to improve deliverability scores.

Analyze email content

Request

Test your email content for spam triggers before sending. Get a deliverability score (0-100, higher is better) with specific issues and suggestions for improvement.

Use this to:

  • Check emails before sending campaigns
  • Improve inbox placement rates
  • Identify problematic content patterns

Rate Limit: Subject to monthly quota (default: 1000 checks/month)

Security
ApiKeyAuth
Bodyapplication/jsonrequired
subjectstring, <= 1000 charactersrequired

Email subject line

Example:"Your Monthly Newsletter"
htmlstring

HTML email content

Example:"<html><body><h1>Hello!</h1><p>Check out our latest updates...</p></body></html>"
textstring

Plain text email body. If omitted when html is provided, a plain-text version is automatically generated from the HTML before sending.

Example:"Hello! Check out our latest updates..."
curl -i -X POST \
  https://api.mailerlogic.net/api/v1/content-score \
  -H 'Content-Type: application/json' \
  -H 'X-API-Key: YOUR_API_KEY_HERE' \
  -d '{
    "subject": "Your Monthly Newsletter",
    "html": "<html><body><h1>Hello!</h1><p>Check out our latest updates...</p></body></html>",
    "text": "Hello! Check out our latest updates..."
  }'

Responses

Content analyzed successfully

Bodyapplication/json
statusstring
Enum:"ok""error"
scoreinteger, [ 0 .. 100 ]

Content score (0-100, higher is better)

risk_levelstring

Risk level assessment

Enum:"low""medium""high""critical"
matchesArray of objects
suggestionsArray of strings

Actionable suggestions to improve score

usageobject
Response
{ "status": "ok", "score": 92, "risk_level": "low", "matches": [ {} ], "suggestions": [ "Reduce capitalization in subject line", "Add a plain-text version of your email" ], "usage": { "used": 145, "limit": 1000, "period": "monthly" } }