API

One endpoint. Bearer auth. JSON in, JSON out. Hash-chained.

Request

curl -X POST https://api.missinglinx.com/api/public/v1-api \
  -H "Authorization: Bearer ml_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "request_id": "req_abc123",
    "subject_ref": "user_42",
    "event": {
      "type": "login",
      "ip": "203.0.113.42",
      "user_agent": "Mozilla/5.0...",
      "amount": 0
    }
  }'

Response

{
  "request_id": "req_abc123",
  "score": 72,
  "decision": "review",
  "layers": {
    "identity": { "score": 60, "signals": ["new_device"] },
    "behavior": { "score": 80, "signals": ["velocity_high"] },
    "audit":    { "hash": "a1b2c3...", "prev_hash": "9f8e7d..." }
  }
}