For the complete documentation index, see llms-docs.txt or the site index llms.txt. Full docs corpus: llms-full-docs.txt. Prefer the markdown version of this page at /docs/api/tools/post-api-tools-v1spam-check.md. Product capabilities: skill.md. Docs MCP: /docs/mcp. Site MCP: /mcp.
Spam check
POST
/api/tools/v1/spam-check
1const response = await fetch("https://reloop.sh/api/tools/v1/spam-check", {2 method: "POST",3 headers: {4 "Authorization": "Bearer re_123456789",5 "Content-Type": "application/json",6 },7 body: JSON.stringify({8 "subject": "Your monthly analytics report is ready",9 "body": "Hi Alex, your weekly report has been generated..."10})11});12
13const data = await response.json();1{2 "score": 0,3 "grade": "example_grade",4 "verdict": "inbox_ready",5 "verdictLabel": "example_verdictLabel",6 "breakdown": {7 "subjectScore": 0,8 "contentScore": 0,9 "linkScore": 0,10 "formattingScore": 011 },12 "metrics": {13 "wordCount": 0,14 "charCount": 0,15 "subjectLength": 0,16 "linkCount": 0,17 "triggerWordCount": 0,18 "capsPercentage": 0,19 "readingTimeSec": 020 },21 "categoryCounts": {22 "urgency": 0,23 "shady": 0,24 "overpromise": 0,25 "money": 0,26 "outreach": 027 },28 "detectedTriggers": [29 {30 "word": "example_word",31 "originalMatch": "example_originalMatch",32 "category": "urgency",33 "categoryLabel": "example_categoryLabel",34 "severity": "high",35 "startIndex": 0,36 "endIndex": 0,37 "context": "subject"38 }39 ],40 "issues": [41 {42 "category": "trigger_word",43 "severity": "high",44 "title": "example_title",45 "detail": "example_detail",46 "recommendation": "example_recommendation"47 }48 ],49 "recommendations": [50 "example_recommendations"51 ]52}Body Parameters
subjectstring
Email subject line to evaluate.
- Maximum length:
1000
bodystring
Email body text or copy to evaluate.
- Maximum length:
50000
Was this page helpful?
- Need help? Contact Support.
- Chat with Reloop developers on Discord.
- Check out our changelog.
- Questions? Contact Sales.
- LLM? Read llms.txt.