Fastest Adoption Path

Add HumanPass to your app in one clean hosted flow.

Create a session, open the hosted verification page, retrieve the result, and gate your app with one recommended route family: /api/v1/sessions.

Lightweight Flow Preview
USE HUMANPASS
Your app
Hosted HumanPass
Verification opens in the HumanPass flow
Session starts, browser checks run, and your app later reads the session result.
01

Create session

Call POST /api/v1/sessions from your app backend or trusted client surface.

02

Open verify

Send the user into the hosted HumanPass /verify experience instead of embedding risky custom camera code.

03

Retrieve result

Read session detail or finalize result through the same /api/v1/sessions family.

04

Gate access

Approve entry, account creation, or sensitive actions based on the returned verification status.

Recommended Path

Skip legacy embed-first complexity.

The cleanest adoption path today is hosted verification plus /api/v1/sessions. Use the older widget-prefixed routes only for legacy compatibility, not as the main story for new app owners.

1. Add this code

Start by creating a session. This gives your app a session id and the hosted verification starting point.

Create SessionQuick Add
const session = await fetch('/api/v1/sessions', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({
    widgetId: 'demo-widget',
    uniquenessPolicy: 'warn'
  })
}).then(res => res.json());

window.location.href = `/verify?session=${session.sessionId}`;

2. Retrieve the result

After the hosted flow completes, retrieve the session result and decide whether your app should allow the action.

Get ResultQuick Add
const detail = await fetch(`/api/v1/sessions/${sessionId}`, {
  headers: { Authorization: `Bearer ${accessToken}` }
}).then(res => res.json());

if (detail.status === 'completed') {
  // allow the user into your app
}
Quick Product Fit

What this page is for

This is the shortest honest path for app owners who want HumanPass in their product without reading the full docs first.

Use this page when you want the fastest adoption path.
Use /developer and /docs when you need the deeper integration surface.
Keep Specter and hosted /verify as the safest live baseline.