---
title: Detect Spam API
slug: detect-spam
url: https://apyhub.com/sharpapi/service/detect-spam
provider: SharpAPI
categories: [Artificial Intelligence, Data Validation, Marketing]
auth: api_key
---

# Detect Spam API

Submit text content for spam screening and poll job status. Returns a score, pass flag, and reason for moderation workflows.

## Endpoints

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

## About

## What it does
Spam Detection lets you submit text content and check whether it is likely to be spam. Send a `content` string in the job request, then use the returned `job_id` and `status_url` to track processing asynchronously.

The submission response gives you a `job_id` and a `status_url` for polling. When the job completes, the status endpoint returns a `data` object with `attributes.status` and, when available, a `result` object containing `pass`, `score`, and `reason`.

Use Spam Detection when you need to screen user-generated text before publishing or routing it into a workflow. Typical cases include contact-form submissions, comments, sign-up messages, and other free-text inputs where you want an automated spam check without blocking the main request path.

Because the API is asynchronous, it fits batch processing and background moderation flows. You send the text once, then read the job status until the result is ready.

## Usage

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