Skip to main content

API Reference

The Simplr API is organized around REST. It accepts JSON-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes.

Base URL

https://api.simplr-ai.com/v1

Authentication

Client ingestion and risk checks use an API key:

curl https://api.simplr-ai.com/v1/check \
-H "X-API-Key: sk_live_xxxxxxxxxxxxx"

Portal management endpoints use Authorization: Bearer <access-token>. A small set of release/status and OAuth endpoints use dedicated tokens, signatures, or public access. See Authentication for details.

Core Endpoints

EndpointMethodDescription
/checkPOSTRun a fraud check
/check/bulkPOSTRun multiple checks
/check/{id}GETGet check result
/check/sandboxGETList predictable sandbox values and examples

Edge Device Logs

EndpointMethodDescription
/edge/logsPOSTIngest logs from edge devices
/edge/logsGETQuery logs with filters
/edge/logs/searchGETFull-text search logs
/edge/devices/registerPOSTRegister a new device
/edge/devicesGETList registered devices
/edge/devices/:id/heartbeatPOSTSend device heartbeat
/edge/overviewGETDashboard statistics
/edge/errorsGETError groups (Sentry-style)
/edge/trendsGETLog volume trends
/edge/alertsGET/POST/DELETEManage alerts

Request Format

JSON client requests should include:

Content-Type: application/json
X-API-Key: sk_live_xxxxxxxxxxxxx

Use a test key for non-billable integration testing. Portal endpoints replace X-API-Key with a bearer token, and public-key SDK traffic uses the appropriate pk_live_ or pk_test_ key.

Response Format

All responses follow this structure:

{
"success": true,
"message": "Check completed",
"content": {
// Response data
}
}

Error responses:

{
"success": false,
"message": "Email is required",
"code": "invalid_request",
"content": {
"field": "email"
}
}

HTTP Status Codes

CodeDescription
200Success
400Bad request - invalid parameters
401Unauthorized - invalid or missing API key
403Forbidden - insufficient permissions
404Not found
429Rate limit exceeded
500Server error

Rate Limits

See Rate Limits for details on request limits.

SDKs

We provide official SDKs:

OpenAPI Specification

The full OpenAPI spec is available at:

https://api.simplr-ai.com/openapi.json

Interactive documentation:

https://api.simplr-ai.com/docs