Developer docs

Documentation

Guides and API reference for running AntiBait analysis from the web app or from your own code.

API reference

API health status

Coming soon

Monitor the operational status and availability of the AntiBait API.

Planned API endpoint

GET
GET/api/health

Request body

No request body needed

Expected response

{
  "status": "ok" 
  | "degraded" | "down",
  "timestamp": "ISO-8601 string",
  "version": "string"
}

Current health check methods

Test with analysis endpoint

Make a minimal request to verify API availability:

curl -X POST https://antibait.io/api/analysis/advanced \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email":"From: [email protected]\n\nTest"}'

Check response times

Monitor the response time and HTTP status codes of your regular API calls. Successful responses (HTTP 200) indicate operational status.

Status updates

Subscribe to our status page or follow system announcements for real-time updates on API availability and maintenance windows.

Need help integrating the API? The support team replies within 24 hours on business days.