iFrame integration
Embedding the verification flow in an iFrame keeps users on your site and gives you full control over the experience.Base URL
Query parameters
| Parameter | Required | Description |
|---|---|---|
authToken | Yes | The verification token returned by the token generation endpoint. |
lang | No | Forces the UI into a specific language (e.g. en, lt, de). If omitted, the user can choose. |
Sizing recommendations
- Desktop
- Mobile
Set the iFrame to a minimum width of 670px and a minimum height of 800px. This ensures all verification steps display correctly without internal scrolling.
Required attributes
Listening for verification results
When the verification session ends, the iFrame posts amessage event to the parent window. You must listen for this event to know the outcome.
Message event fields
| Field | Type | Description |
|---|---|---|
status | string | Automatic review result: APPROVED, FAILED, or UNVERIFIED. |
manualStatus | string | Manual (human) review result: APPROVED, FAILED, or WAITING. |
autoSuspected | boolean | true if the automatic check flagged the verification as suspicious. |
manualSuspected | boolean | true if a human reviewer flagged the verification as suspicious. |
The
manualStatus field will be WAITING immediately after the session completes. The final manual review result is delivered asynchronously via webhook. Do not treat WAITING as a final state.Full HTML example
Redirect integration
If you prefer a simpler integration without iFrame embedding, redirect the user to the iDenfy verification page. The user leaves your site, completes verification, and is redirected back.Redirect URL
{authToken} with the token from the token generation endpoint.
Why there is no Web SDK
iDenfy intentionally does not provide a JavaScript Web SDK. The iFrame approach is the recommended integration for web applications.
- Always up to date — your integration automatically uses the latest UI, liveness detection, and document recognition without any code changes on your side.
- Lighter integration — no package to install, no bundle size impact, no dependency management.
- Future-proof — new features, supported documents, and UX improvements are available immediately.
- No version management — you never need to track SDK releases or handle breaking changes.
Next steps
Set up webhooks
Receive real-time verification results on your server.
Mobile SDKs
Native Android and iOS SDKs for mobile apps.