Developer Access

API Access

Integrate TruthLens detection into your own apps

Your API Key

Use this key to authenticate requests

● Active
Free Plan
TLLC-****-*****

Quick Start

Send a POST request with your API key and detection parameters.

Request
POST https://thompson319.app.n8n.cloud/webhook/api/detect
Content-Type: application/json

{
  "api_key": "YOUR_API_KEY",
  "goal": "Detect spam",
  "data_type": "Text",
  "input": "Your text here",
  "sensitivity": "Balanced",
  "language": "Auto-detect"
}

Example Response

Responses return a label, confidence score, reasoning, and detected signals.

Response · 200 OK
{
  "label": "Spam",
  "confidence": 0.92,
  "reasoning": "The message contains aggressive promotional language, urgency tactics, and a suspicious shortened URL commonly associated with spam campaigns.",
  "signals": [
    "Promotional language",
    "Urgency tactics",
    "Suspicious URL",
    "Generic greeting"
  ]
}

Supported Detection Goals

Pass any of these strings as the goal field.

Content & Communication

Detect spam
Detect phishing attempt
Detect fake reviews
Detect toxic content
Detect hate speech
Detect misinformation
Detect sarcasm
Detect sentiment (positive/negative/neutral)
Detect urgency or pressure tactics
Detect offensive language

Financial & Compliance

Detect fraudulent transaction
Detect money laundering signals
Detect policy violations
Detect contract risk clauses
Detect GDPR compliance issues
Detect insider trading signals

HR & Workplace

Detect employee burnout signals
Detect harassment in workplace communication
Detect disengagement in employee feedback
Detect bias in job descriptions
Detect resignation risk signals

Higher Education

Detect AI-generated academic writing
Detect plagiarism signals
Detect academic dishonesty
Detect student distress or mental health signals
Detect grade manipulation attempts
Detect bias in grading feedback
Detect inappropriate student-faculty communication
Detect cheating patterns in exam responses
Detect student disengagement signals
Detect admissions essay fraud
Detect radicalization or extremist language
Detect accessibility issues in course content

Security

Detect social engineering attempt
Detect data exfiltration risk
Detect prompt injection attack
Detect credential stuffing patterns
Detect anomalous user behavior