Analyze

Score email content for spam-trigger risk

AI-assisted analysis (with a deterministic local fallback when no AI key is configured) that flags spam trigger words, excessive capitalization, urgency language, and misleading claims, returning a 0-100 spam-risk score and improvement suggestions. This POST is side-effect-free and safe to retry with the same body. Content must be 10-10000 characters. Rate limit: 30 requests/minute per IP.

post/api/v1/analyze/spam

Request

  • Base URL: https://firstsales.io
  • URL: https://firstsales.io/api/v1/analyze/spam
  • Auth: none required

Headers

Idempotency-Keystring

Optional retry key accepted for agent/client compatibility. This analysis operation is side-effect-free, so repeating the same body is safe even without server-side key storage.

Request body

contentstring required

Response

Spam risk analysis.

scorenumber required

0 = clean, 100 = definitely spam.

triggerWordsstring[] required
suggestionsstring[] required

Changes

No recorded changes to this operation across all 1 revision of this API.