For Developers

Integrate in hours,
not weeks

A simple REST API, a drop-in Web SDK, and webhooks that just work. Everything you need to add identity verification to your app.

Quick Start

Create a verification session

One API call from your server to start verifying. The session guides your user through document capture, selfie, and liveness check.

create-session.js
// Create a verification session. Run this on your server:
// it uses your secret API key.
const response = await fetch("https://api.sebeverify.com/projects/YOUR_PROJECT_ID/verification/session/start", {
  method: "POST",
  headers: {
    "X-API-Key": process.env.SEBEVERIFY_API_KEY,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    document_type: "national-id", // or "passport"
  }),
});

const session = await response.json();
// → session.session_id    (save it: the webhook uses the same ID)
// → session.client_token  (short-lived, safe to give to the browser)
// → session.expires_at
Webhooks

Real-time results, delivered

Register a webhook URL and we'll POST verification events as they happen. No polling, no delays. Every delivery is logged and automatically retried on failure.

verification.completed
verification.failed
verification.expired
session.created
webhook-handler.js
// Receive verification results via webhook
app.post("/webhooks/sebeverify", (req, res) => {
  const event = req.body;

  if (event.type === "verification.completed") {
    const { session_id, status, document } = event.data;

    if (status === "verified") {
      // ✅ Update your user record
      await db.users.update({
        where: { verificationSessionId: session_id },
        data: {
          kycStatus: "verified",
          fullName: document.full_name,
          documentType: document.type,
        },
      });
    }
  }

  res.status(200).json({ received: true });
});
index.html
<!-- Add the SDK to your page -->
<script src="https://unpkg.com/sebeverify-sdk@0.2.0/dist/index.global.js"></script>

<script>
  // No API key here: it stays on your server.
  const verifier = SebeVerify.default({
    projectId: "YOUR_PROJECT_ID",
    redirectUrl: "https://yourdomain.com/verify/complete",
  });

  verifier.on("error", (err) => console.error(err.message));

  document.getElementById("verify-btn").addEventListener("click", async () => {
    // Your server route calls createVerificationSession() with your API key
    const res = await fetch("/api/verification-session", { method: "POST" });
    const session = await res.json();

    // Launch the verification flow for that session
    await verifier.start(session);
  });
</script>
Web SDK

Drop-in verification widget

Start a session on your server, then call verifier.start(session). The SDK handles document capture, selfie, and liveness in a responsive modal. Your API key never reaches the browser.

One small server route

Your server starts the session. The SDK handles the rest of the capture flow — document scan, selfie, and liveness.

Responsive & accessible

Works on mobile and desktop browsers out of the box with full keyboard and screen reader support.

Customizable branding

Match your app's colors, logo, and copy. Users never leave your experience.

Event callbacks

Get notified on start, error, and cancellation so you can update your UI immediately. The final result comes to your webhook.

API Reference

Core API resources

RESTful endpoints with predictable URLs, JSON request and response bodies, and standard HTTP status codes.

POST/projects/:id/verification/session/start

Start Session

Create a new verification session for a document.

POST/projects/:id/verification/image

Submit Images

Submit document and selfie images for processing.

GET/projects/:id/verifications/:req_id/status

Check Status

Poll the processing status of a verification request.

GET/projects/:id/verifications/:req_id/result

Get Result

Retrieve final identity data, match confidence, and liveness result.

Getting Started

From zero to verified in four steps

01

Create an account

Sign up and create a project in the admin dashboard. You'll get API keys instantly.

02

Install the SDK or call the API

Add our Web SDK for a hosted flow, or call the REST API directly for full control.

03

Configure your webhook

Register a webhook URL in your project settings to receive verification results automatically.

04

Go live

Switch from sandbox to live mode. No code changes — just swap your API key.

Start building today

Create a free developer account and get your API keys in under a minute. Full sandbox access with test credentials included.