---
title: Detect Spam API
slug: detect-spam
url: https://apyverse.com/sharpapi/service/detect-spam
provider: SharpAPI
categories: [Artificial Intelligence, Marketing]
tags: [spam-detection, content-moderation, text-analysis, abuse-prevention, classification]
auth: api_key
---

# Detect Spam API

Submit text content for spam analysis and poll by job ID. Get a pass flag, score, and reason for moderation workflows.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `/sharpapi/api/v1/content/detect_spam` | What it does Submits spam-detection content for asynchronous processing and returns identifiers you… | 50 |
| GET | `/sharpapi/api/v1/content/detect_spam/job/status/:job_id` | What it does Retrieves the current status of a Detect Spam background job by its jobid. The respons… | 1 |

## About

## What it does
Spam Detector checks text content for spam and returns an asynchronous job you can poll for a result. Send a `content` string in the request body, then use the returned `job_id` and `status_url` to track the analysis.

When the job finishes, the status endpoint returns a `data` object with `attributes.status` and, when available, a `result` object. That result includes `pass` as a boolean, `score` as an integer, and `reason` as a string explaining the classification.

Use Spam Detector when you need to screen user-generated text before publishing it, flag suspicious inbound form submissions, or add a spam check to moderation workflows. Because the API is asynchronous, it fits content pipelines where you submit checks in bulk and collect results separately.

The response is intentionally compact: you get the job identifier up front, then the final status and spam assessment once processing completes.

## Usage

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyverse.com/sharpapi/service/detect-spam
