Content & Marketing Automation
AI-powered APISpam Detector
Spam filtration test with a percentage confidence score along with an explanation.
This API is ideal for developers working on content moderation tools, email filtering, and social media platforms. It automates the spam detection process, helping to maintain the quality and integrity of user-generated content. Use cases include moderating forum posts, filtering spam emails, and analyzing user comments for spammy content.
AI jobs involve two key steps::
- Submitting the AI job: Initiating the process by sending the job request.
- Monitoring and receiving results: Continuously checking the job status and obtaining the final output upon successful completion.
Step 1. Submit the AI Job request
Endpoint: POST - /api/v1/content/detect_spam
Attribute | Type | Mandatory | Description |
---|---|---|---|
content | String | Yes | Provide the content to check whether it is spam. |
RESPONSE EXAMPLE:
{
"status_url": "https://sharpapi.com/api/v1/content/translate/job/status/5de4887a-0dfd-49b6-8edb-9280e468c210",
"job_id": "5de4887a-0dfd-49b6-8edb-9280e468c210"
}
Step 2. Monitor & Fetch AI Job Results
Endpoint: GET - /api/v1/content/detect_phones/job/status/:uuid
An endpoint is used to check on the progress of the requested API job.
RESULT EXAMPLE:
{
"data": {
"type": "api_job_result",
"id": "f7d3eec2-7ba6-4104-9f30-ff418428de2c",
"attributes": {
"status": "success",
"type": "content_detect_spam",
"result": {
"pass": false,
"score": 85,
"reason": "The message appears to be a solicitation for financial services, which is a common characteristic of spam."
}
}
}
}
- Related Keywords:
- Detection
- Content
- GenAI
- Spam
- Filtration
- Moderation
- Emails
- Comments
When Laravel/PHP E-commerce App Meets AI
Jan 1, 2024
Hey fellow Laravel enthusiasts! In the ever-evolving landscape of e-commerce, integrating AI into your Laravel applications is not just a luxury, it’s a necessity. With SharpAPI’s Laravel package, it’s now easier than ever. In this blog, I’ll guide you through 10 transformative use cases for enhancing your Laravel-based e-commerce applications using SharpAPI.