πŸ“‘ REST API Β· Real-time Β· AI-powered

OnSefy Documentation

OnSefy is a real-time AI powered fraud detection and validation solution designed to help you assess the legitimacy of user signups, transactions, and online interactions.

Integration in 3 steps

From signup to fraud detection in minutes

Whether you write code or use automation tools, OnSefy fits your workflow.

01

Get your API Key

Log in to your OnSefy account, navigate to App Settings β†’ API Keys, and generate your key and Service ID.

Get your key β†’
02

Connect to OnSefy

Send user data via API call, a Zapier/Make.com action, or a Laravel middleware β€” whichever fits your stack.

See your integration path β†’
03

Act on the Risk Score

Read the risk_level (0–2) and risk_score (0–10). Block, flag, or allow users instantly β€” automatically.

Read response docs β†’
Two integration paths

Choose the approach that fits your skills

OnSefy works for engineering teams and non-technical teams alike. Pick your path below.

πŸ‘©β€πŸ’»

For Developers

API, SDKs & Webhooks

Integrate directly into your backend. Full control over request logic, response handling, and automation. Works with any language that can make HTTP calls.

  • βœ“ REST API with JSON request/response
  • βœ“ Code examples in cURL, Node.js, PHP & Python
  • βœ“ Native Laravel middleware package
  • βœ“ Custom risk scoring thresholds & filters
  • βœ“ Full response object with risk_score, risk_patterns & more
πŸ”Œ

For Non-Technical Users

No-Code & Automation Tools

Connect OnSefy to your tools in minutes β€” no programming required. Use visual workflow builders like Zapier or Make.com to trigger fraud checks automatically.

  • βœ“ Step-by-step Zapier integration guide
  • βœ“ Visual Make.com (Integromat) workflow guide
  • βœ“ Trigger checks from form submissions, CRM events & more
  • βœ“ Route results to email, Slack, spreadsheets, etc.
  • βœ“ No code required β€” just point, click, connect
πŸ‘©β€πŸ’» Developer Integration

Direct API access β€” full control

POST user data to our endpoint and get a risk verdict back in milliseconds. Works from any backend language.

Copy & run β€” your first result in 60 seconds
Free: free-api.onsefy.com Paid: api.onsefy.com
curl -X POST https://free-api.onsefy.com/v1/validate/user \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "X-Service-Id: YOUR_SERVICE_ID" \
  -H "Content-Type: application/json" \
  -d '{
    "email":      "user@example.com",
    "ip":         "49.36.241.41",
    "name":       "Jane Smith",
    "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64)..."
  }'
πŸ”Œ No-Code Integration

No code? No problem.

Connect OnSefy to your existing tools using visual automation platforms. Set up fraud detection workflows without writing a single line of code.

Zapier

Trigger OnSefy checks from 6,000+ apps. When a new form is submitted, a lead is created in your CRM, or a user signs up β€” Zapier sends the data to OnSefy and routes the result automatically.

  • 1 Connect your trigger app (e.g. Typeform, HubSpot)
  • 2 Add OnSefy as an action step
  • 3 Route results β€” block, tag, or notify
Zapier setup guide β†’

Make.com

Build visual multi-step scenarios with Make.com (formerly Integromat). Map data from any source, call OnSefy, and branch your workflow based on the fraud risk level returned.

  • 1 Pick a trigger module (webhooks, apps, schedules)
  • 2 Add an HTTP module pointing to OnSefy
  • 3 Add a router to branch on risk_level
Make.com setup guide β†’

More coming soon

Native integrations for n8n, Bubble, Webflow, and more are in progress. In the meantime, any platform that supports HTTP requests can call OnSefy directly.

  • β†’ n8n (HTTP Request node)
  • β†’ Bubble (API Connector plugin)
  • β†’ Any webhook-capable platform
Request an integration β†’
πŸ’‘

New to API-based automation?

All no-code integrations use the same OnSefy API under the hood β€” the automation tool handles the HTTP call for you. You just need your API Key and Service ID from your OnSefy dashboard. That's it.

How to get your API Key β†’
API Response

A clear risk verdict on every user

OnSefy returns a risk_level (0–2) and a numeric risk_score (0–10) so you can make instant, automated decisions at signup or login.

Developers read this from the JSON response. No-code users see this as mapped fields in their Zapier/Make.com workflow β€” same data, no code needed.

  • 0 Β· Legit Safe to allow through
  • 1 Β· Suspicious Route to manual review
  • 2 Β· Fraud Block immediately
API Response
{
  "status": true,
  "summary": {
    "risk_level": 2,
    "verify_label": "Fraud",
    "risk_score": 8.3,
    "score_confidence": "92%",
    "engine": "NeonShield"
  },
  "risk_patterns": [
    "phone_ip_mismatch",
    "user_agent_flag"
  ],
  "transaction_id": "44de328f-...",
  "timestamp": "2025-05-18T14:31Z"
}
πŸ”Œ No-code users These fields map directly as variables in Zapier and Make.com β€” no parsing required.
Documentation

Everything you need to integrate OnSefy

Use Cases

Where teams use OnSefy

πŸ›‘

Signup Protection

Block bots, fake accounts, and disposable emails at registration before they enter your system.

πŸ’³

Transaction Fraud Prevention

Flag high-risk users before transactions occur and reduce chargebacks from stolen credentials.

🌐

VPN & Proxy Detection

Identify users masking their real location with VPNs, proxies, or Tor exit nodes in real time.

πŸ“‹

Lead Scoring

Pre-qualify inbound leads with risk scoring before routing them to sales β€” no junk in your CRM.

πŸͺ

Marketplace Trust

Screen buyers and sellers for trustworthiness before allowing them to transact on your platform.

πŸ“¬

Form & Submission Fraud

Stop spam form submissions and junk data polluting your databases and contact lists.

Works with your stack

Native guides & universal REST API

Step-by-step guides for popular platforms. Or call the REST API directly from any HTTP-capable language or no-code tool.

No-Code & Automation Platforms

⚑ Zapier βš™οΈ Make.com n8n (soon) Bubble (soon)