Skip to content

Getting Started

API Key

To use the SpamCheckAI API, you need to sign up for an API key here.

Authentication

Include your API key in the header of all requests:

Api-Key: YOUR_API_KEY

Making Your First API Call

Here's an example of how to check for spam:

curl -X POST "https://api.spamcheck.ai/api/v1/spam/check" \
-H "Api-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
  "ip": "192.0.2.1",
  "email": "user@example.com",
  "body": {
    "content": "This is a test message."
  }
}'

For detailed API documentation, please refer to our Swagger API Docs.