Hosted Sessions (Recommended for User-Facing Flows)
Hosted sessions are the recommended approach for most integrations. When you create a session, Didit generates averification_url that you present to your user. The user completes the entire verification flow in Didit’s optimized interface, and you receive the results via webhook or API.
How It Works
1
Create Session
Your server calls
POST /v3/session/ with a workflow ID. Didit returns a verification_url and session_token.2
Present to User
Redirect the user, embed via iframe, or initialize a native SDK using the session token.
3
User Completes Verification
The user follows the guided flow in Didit’s optimized UI — ID capture, liveness, and any additional steps.
4
Receive Results
Didit sends a webhook to your server with the verification decision, or you poll via the retrieve API.
Why Sessions Are Recommended
When to Use Sessions
- User onboarding / KYC — New users sign up and need to verify their identity
- Age verification — Confirm users meet minimum age requirements
- Re-verification — Periodically re-verify existing users
- Biometric authentication — Users authenticate with their face for sensitive actions
- Multi-step compliance — Flows requiring ID + Liveness + AML + Phone in one go
- Any scenario where the end user is present and interacts directly
Session Endpoints
Standalone APIs (For Server-to-Server Processing)
Standalone APIs let you call individual verification features directly from your server without any end-user UI. You send the data (images, documents, names) and receive structured results.How It Works
1
Send Data
Your server calls a standalone endpoint (e.g.,
POST /v3/id-verification/) with the required data — images, documents, or JSON fields.2
Receive Results
Didit processes the request synchronously and returns structured verification results in the response.
When to Use Standalone APIs
Available Standalone APIs
Identity & Documents
Biometrics & Face
Compliance & Risk
Side-by-Side Comparison
Can I Use Both?
Yes. Many teams combine both approaches:- Sessions for onboarding — New users go through the full hosted verification flow during sign-up
- Standalone AML for ongoing monitoring — A cron job re-screens all approved users nightly against updated watchlists
- Standalone Face Search for duplicate detection — When a new session is approved, your server calls Face Search to check for duplicates
- Standalone ID Verification for operations — Your compliance team uploads documents manually for edge-case reviews