Skip to main content

Add Didit identity verification to Webflow

Add Didit to Webflow with a UniLink embed or an API session. Full KYC is $0.33 per completed check. Use a verified webhook for access decisions.

Add Didit identity verification to Webflow

Contents

In this guide

Jump to the part you need.

Webflow sites that need to know who a visitor is have two ways to start verification with us: a shared UniLink, or an API session created on your backend when the result belongs to a known account. Open either link in an Embed iframe or the JavaScript SDK. Use the API session URL for the hosted redirect. Full KYC is $0.33 per completed check. The caveat: a browser callback only shows a return state; take access decisions from a verified webhook or a server-side decision lookup.

Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.

Routes for putting Didit verification on a Webflow site
RouteWhat you build in WebflowBackend neededDidit price
UniLink iframeOne Embed element pointing at the workflow linkNoFull ID check $0.33 per completed check
API session, opened in the embedEmbed element whose src comes from your sessionYes, to create sessionsFull ID check $0.33
Redirect to the hosted pageButton plus custom code that sends the browser to the session urlYesFull ID check $0.33
JavaScript SDKCustom code that loads the SDK and starts the flowOptionalFull ID check $0.33

Connect our free MCP server via OAuth at https://mcp.didit.me/mcp. Give your assistant the integration prompt to implement session creation, webhook verification and decision retrieval. Setup is at didit.me/developers/mcp, and the prompt is at didit.me/developers/integration-prompt.

What you get when you finish

With a UniLink embed, visitors complete verification without leaving your Webflow page. Each session records the checks its workflow runs. Full KYC includes document verification, passive liveness, face match, and device and IP analysis. Add AML screening when your workflow requires it.

A shared UniLink needs only an Embed element to open verification. For account-linked access, use a backend to create sessions, receive signed webhooks and store status.

Does Webflow have a Didit integration?

We do not document a dedicated Webflow connector. Our documented web routes are the JavaScript SDK, the InContext iframe, Redirect, WebView for mobile, and the WordPress, Shopify and Salesforce plugins. Webflow is not on that list.

Use a shared UniLink in a Webflow Embed element when visitors only need to open the workflow. For a session tied to an account, create it on your backend and use the returned URL in the iframe or redirect.

Prerequisites

What you need before the first test session
ItemRequirementWhere
Didit planFree at $0.00, where we add $10 in monthly credit to the first organization created with an eligible work email for its company domain. Growth $99 a month with $115 credit, Scale $299 a month with $350 credit, Enterprise from $15,000 a yeardidit.me/pricing
Application and API keyThe key belongs to an application inside your organization; the sandbox application carries its own key for testingbusiness.didit.me
WorkflowA published KYC or KYB workflow and its workflow_idWorkflows in the Business Console
Webflow pageAn Embed element, or custom code enabled on the page that hosts the flow. Webflow's plan rules for custom code are on Webflow's own pricing page, check it before you buildYour Webflow project
BackendOnly for API sessions, redirect, and webhook receipt. A UniLink embed needs noneYour hosting
Public HTTPS endpointRequired only for webhook receipt. Where we send webhooks; verify the event, then answer with a 2xx within five secondsYour hosting
PermissionsThe decision endpoint requires the read:sessions privilege on the keyRetrieve Session docs

Step by step: add Didit verification to Webflow

1. Create the organization and the workflow

Go to business.didit.me, sign up, and create your organization. Open Workflows in the sidebar and click New workflow. Choose Verifying users or Verifying businesses, then pick how to start: Describe it, Start from a template, or Start empty. The KYC template covers standard user onboarding. Add the checks your workflow needs, such as document verification, passive liveness, face match and AML screening, then publish. Keep the workflow id, because every session you create points at it.

2. Get the link or the key for your route

For the no-backend route, copy the workflow's shareable link, which is the UniLink the iframe accepts: https://verify.didit.me/u/<workflow-id-base64>. For the session route, copy the API key from the console. Keep the sandbox application's key aside for testing and hold the live key back until the flow works.

3. Create a session per visitor (session route only)

curl -X POST https://verification.didit.me/v3/session/ \
  -H "x-api-key: $DIDIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "workflow_id": "WORKFLOW_ID",
    "vendor_data": "webflow-user-1042",
    "callback": "https://your-site.webflow.io/verified"
  }'

The response carries session_id, url and session_token. vendor_data is the key you join on later, so use the id you already store for that person. A KYC workflow creates a user session and a KYB workflow creates a business session from the same endpoint.

Create the session on your backend for the signed-in visitor. Set vendor_data to that visitor's stable internal ID and keep the returned session_id with the same account. Send the browser only the hosted url to load in the iframe or use for the redirect. Keep the API key and webhook secret on the server.

At redirect, we append ?verificationSessionId={session_id}&status={status} to the callback URL. If you omit callback, we use the workflow default. When allowed domains are configured, a supplied HTTP or HTTPS callback outside those origins returns 400. We skip a workflow-default callback outside those origins.

4. Put the flow on the Webflow page

Drop an Embed element on the page and paste an iframe. With a UniLink the markup is the same on every visit. With a session from step 3, put the returned url into the src instead.

<iframe
  src="https://verify.didit.me/u/YOUR_WORKFLOW_ID_BASE64"
  style="width: 100%; height: 700px; border: none;"
  allow="camera; microphone; geolocation; clipboard-write; fullscreen; autoplay; encrypted-media; digital-credentials-get"
></iframe>

Use the full documented allow list. If the browser blocks camera access in the iframe, open the hosted verification page using the redirect route. If you would rather not embed at all, use the redirect route: create the session, then send the browser to url with window.location.href = verificationUrl; from custom code behind a button. The JavaScript SDK takes the same url through DiditSdk.shared.startVerification({ url: ... }) and gives you a completion callback in the browser.

The screens a visitor sees inside the embedded flow, from document capture to the result page
What your Webflow visitor sees inside the embed: document capture, face capture, and a final result page. Recorded in the real flow.

5. Register the webhook destination

curl -X POST https://verification.didit.me/v3/webhook/destinations/ \
  -H "x-api-key: $DIDIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "label": "Webflow site",
    "url": "https://your-app.example.com/api/webhooks/didit",
    "subscribed_events": ["status.updated"],
    "webhook_version": "v3"
  }'

Save the returned secret_shared_key. There is no wildcard, so subscribe to each event family you want, and you can create several destinations to fan out to different URLs. Subscribe to status.updated for session status changes, including a reviewer's approval or decline. Add data.updated if your application also needs to react to edits to verification data.

On every delivery, read the raw body before parsing and check that X-Timestamp is within 300 seconds. Compute HMAC-SHA256 over the sorted, Unicode-preserved canonical JSON and compare it in constant time with X-Signature-V2. Verify the signature. Use vendor_data to find the account. Read the account’s current verification session and record version together. If the stored session ID differs from the event’s session_id, record the event_id as ignored and leave access unchanged. If they match, fetch the current decision for the event’s session_id. Save the returned status, advance the record version and mark the event_id processed in one atomic write, only if the stored session still matches the event’s session_id, the record version is unchanged and the event is unhandled. If the account changes before the write, reread the session and version together and repeat the session check before fetching again. Return 2xx within five seconds once the event is recorded as processed or ignored, or you confirm it was already handled. If the handler takes longer than five seconds or returns 5xx or 404, we retry twice, after about one and four minutes, then drop the delivery. Resend a failed delivery from the destination log.

6. Write the decision and decide what the page shows

The webhook carries status and, for Approved, Declined, In Review and Abandoned, the full decision object. Keep the account ID, session ID and current status in your private account system. Show the authenticated visitor only the status needed for the next step. Retain detailed verification results only when your process requires them and restrict access.

Authorize access in the backend or account system that serves the protected content. Use Webflow visibility and callback parameters only for presentation, such as displaying a thank-you message.

If access requires current verification, grant it only while the associated session status is Approved. Hold access during In Review and reevaluate it after every status update, including Kyc Expired and Resubmitted.

Fallback: if a webhook never arrives, call GET https://verification.didit.me/v3/session/{session_id}/decision/ with a key from the same Didit application that has read:sessions. V3 returns plural arrays (id_verifications[], liveness_checks[], face_matches[], aml_screenings[]), and session_kind tells you whether it was a user or a business session.

Webflow KYC integration for signed-in users

Follow one visitor who already has an account on the site:

  1. Your backend creates a session with that account ID as vendor_data and stores the returned session_id next to the same account.
  2. The Webflow page loads the hosted url in the Embed element. The API key never reaches the browser.
  3. We send status.updated to your HTTPS endpoint. Verify the signature. Use vendor_data to find the account. Read the account’s current verification session and record version together. If the stored session ID differs from the event’s session_id, record the event_id as ignored and leave access unchanged. If they match, fetch the current decision for the event’s session_id. Save the returned status, advance the record version and mark the event_id processed in one atomic write, only if the stored session still matches the event’s session_id, the record version is unchanged and the event is unhandled. If the account changes before the write, reread the session and version together and repeat the session check before fetching again. Return 2xx within five seconds once the event is recorded as processed or ignored, or you confirm it was already handled.
  4. Your account system serves the protected content only while the stored status is Approved. The page shows what the visitor needs to see next.

The loop survives a page reload, because the truth lives in your account system and in the session, not in the browser.

Field and event mapping

Where each Didit value goes, and what stays out of Webflow
Didit field or eventExampleWhere it goes
vendor_datawebflow-user-1042Your join key: the account ID you already store
session_idUUIDStored next to the account ID in your private account system, for audit
statusApproved, Declined, In ReviewYour account system. The page reads only the status it needs to show
liveness_checks[]Liveness results for the steps that ranPrivate store only, when your retention policy requires it
id_verifications[], face_matches[], aml_screenings[]One item per step that ranPrivate store only, access restricted. Never a public Webflow field
Event status.updatedSession status changedUpdates the row you created at session start
Event data.updatedVerification data was editedOnly subscribe if you act on edits
Callback query string?verificationSessionId={session_id}&status={status}Presentation only, such as a thank-you state. Never an access grant

Feature arrays are always plural, and if the feature did not run on that session, its result field may be absent or null. Do not assume singular fields.

A session overview in the Didit Business Console showing its status and warnings
The same status and warnings your webhook receives, shown on the session in the Didit Business Console.

Test with sandbox data

Sandbox testing is free and unlimited on every plan, so build the whole flow against the sandbox application first. Register programmatically with POST https://apx.didit.me/auth/v2/programmatic/register/ and confirm the code with POST https://apx.didit.me/auth/v2/programmatic/verify-email/, then use response.sandbox_application.api_key as your key. The live key is the other field in the same response, and you switch to it only when the sandbox run is clean.

To reproduce a specific outcome, list the scenarios with GET /v1/sandbox/scenarios/ and pass the slug as sandbox_scenario on create. The scenario expands its bundled magic values onto contact_details and expected_details, so the session produces that result. You can also arm or re-arm a scenario after create with POST /v3/session/{session_id}/sandbox/arm/ while the session is still Not Started. The field is rejected with a 400 on live applications.

In an approval scenario, expected success looks like this: the visitor finishes the embed, the session moves to Approved, and your endpoint receives a status.updated webhook with environment set to sandbox and a full decision object. Replay the same event_id twice to confirm your de-duplication works. Then arm a scenario that lands the session in In Review or Declined and check separately what your page and your account system do with each of those two statuses.

Three Webflow-side failures to test for

The failures a Webflow integration actually hits
What you seeWhyFix
Embed does not displayThe published page does not contain the iframe, or it points at the wrong Didit URLCheck that the published page contains the iframe and points to the intended Didit URL
Embed displays but camera capture failsCamera permission is blocked inside the frameTest the published HTTPS page, check the documented iframe permissions and use the hosted redirect if capture remains blocked
The visitor returns before a trusted status is availableThe callback fires before the webhook has been processed, so the browser has no verified resultShow a pending state on the return page, and let the page read the status from your account system after the webhook arrives
Webhook delivery failsYour handler answered 5xx or 404, or took longer than five secondsFix the handler so it verifies and returns 2xx within five seconds, then resend from the destination log

API errors and the fix

Response codes you will meet while wiring the session route
ResponseWhyFix
401 from verification.didit.meThe API key is wrong, revoked or expiredCopy the key again from the console for the right application
403 with "You do not have permission to perform this action." and no API keyThe request carries no API keySend the x-api-key header
403 on decision retrieval with an API keyThe key does not hold the privilege the call needsUse a key with read:sessions
400 on createInvalid workflow_idUse the workflow id from the console, not the workflow label
400 with "callback must be on one of the application's allowed domains"The callback origin is not in the allowed domainsAdd the origin to the allowed domains, or change the callback
400 on sandbox_scenarioSandbox scenarios exist on sandbox applications onlyDrop the field on live sessions
Signature mismatch on X-Signature-V2The canonical JSON or signing secret may differ from what we usedCapture the raw body before middleware transforms it. Parse that preserved body inside the verifier, build sorted, Unicode-preserved canonical JSON, and verify it with the destination secret before processing the event
Signature mismatch on X-SignatureThe verifier may have used re-encoded JSON or the wrong signing secretCompute HMAC-SHA256 over the exact original request bytes using the destination secret
404 on the decision callUnknown session id, or the session belongs to another applicationUse the session_id returned by create, with a key from the same application

What it costs on both ends

Didit prices for the checks a Webflow flow usually runs
LinePriceWhen you pay it
Full ID check (KYC)$0.33Per completed check: ID document $0.15, passive liveness $0.10, face match 1:1 $0.05, device and IP analysis $0.03
ID document only$0.15When the workflow runs the document step on its own
AML screening$0.20Per check, added to a KYC check or run alone
Proof of address$0.20Per check
Business verification (KYB)From $2.00 per companyRegistry retrieval, priced by country and data tier; a linked KYC is $0.33 per person and person AML $0.20
SandboxFreeEvery plan, unlimited testing

Billing is per completed check from prepaid credit. We bill completed checks against monthly plan credit first, then against prepaid top-ups. On Free, we add $10 in monthly credit to the first organization created with an eligible work email for its company domain. The credit excludes phone verification and expires at the end of the plan month. Growth adds $115 a month and takes 4% off every Didit price; Scale adds $350 a month and takes 10% off.

Check whether your Webflow project supports the Embed element or custom code before choosing a route.

Worked example

A site takes 1,200 signups a month and 60% of them finish verification: 1,200 × 0.6 = 720 completed KYC checks.

  • Free plan, no AML: 720 × $0.33 = $237.60. After $10 in eligible monthly credit, usage costs $227.60.
  • Free plan with AML on every check: 720 × ($0.33 + $0.20) = 720 × $0.53 = $381.60. After $10 in eligible monthly credit, usage costs $371.60.
  • Growth plan, no AML: the discounted check is $0.33 × 0.96 = $0.3168, so 720 × $0.3168 = $228.10. Plan fee $99 plus $228.10 minus $115 of credit = $212.10.
  • Scale plan, same volume: $0.33 × 0.90 = $0.297, so 720 × $0.297 = $213.84, fully inside the $350 credit, which means the month costs the $299 plan fee. Scale becomes cheaper than monthly Growth at 995 completed full KYC checks under these assumptions, with no AML or other usage.
Explainer on Didit billing: monthly credit and plan discounts
How monthly credit and plan discounts affect your bill.

Disconnecting

Remove the embed or redirect from Webflow and disable the server code dedicated to this integration. Check which other flows share its webhook destination or API key before removing or revoking either. Handle previously shared verification URLs and retained records separately.

Sources

Next step: open the Didit Business Console and use your sandbox application to run one test session through your Webflow Embed element before you touch a live key. The sandbox is free, and you do not need a sales call to start.

Try it

Try this in the sandbox

Run the check this guide describes, free.

ID Verification

The product this post is about, taken from its topic. Run it free in the sandbox.

$0.15 per checkStart free

Author

Alberto Rosas

Co-founder and CEO

Alberto Rosas

Alberto Rosas

Co-founder and CEO

About Didit

Questions

Frequently asked questions

Does Webflow have a native Didit integration?

We do not document a dedicated Webflow connector. You add verification with an Embed element holding our iframe, with a redirect to the hosted page, or with the JavaScript SDK inside custom code. All three are documented in our web SDK overview.

Can I add Didit verification to Webflow without a backend?

Yes, with the UniLink route. Copy the workflow's shareable link, which is https://verify.didit.me/u/<workflow-id-base64>, and put it in an iframe in an Embed element. A shared UniLink opens the workflow without a backend. Create an API session with vendor_data when you need to associate verification with a known user.

Which route should I use on Webflow, iframe or redirect?

Use the iframe when you want the visitor to stay on your domain. Use the redirect when you need maximum browser compatibility or cross-device flows, or when the browser blocks camera access in the embedded frame. Both deliver the final result through the same signed webhook, so the choice is about the in-browser experience, not about the decision.

How much does Webflow identity verification cost?

On our side, a full ID check is $0.33 per completed check, AML screening is $0.20 per check, and business verification starts at $2.00 per company. On Free, we add $10 in monthly credit to the first organization created with an eligible work email for its company domain, and that credit excludes phone verification and expires at the end of the plan month. Webflow's own plan price is set by Webflow and billed separately.

How do I know a visitor was really verified on my Webflow site?

Trust the webhook, not the browser. We send a signed status.updated event when the session status changes, with HMAC-SHA256 in the X-Signature-V2 header, and the payload carries the full decision when the status is Approved, Declined, In Review or Abandoned. Verify the signature. Use vendor_data to find the account. Read the account’s current verification session and record version together. If the stored session ID differs from the event’s session_id, record the event_id as ignored and leave access unchanged. If they match, fetch the current decision for the event’s session_id. Save the returned status, advance the record version and mark the event_id processed in one atomic write, only if the stored session still matches the event’s session_id, the record version is unchanged and the event is unhandled. If the account changes before the write, reread the session and version together and repeat the session check before fetching again. Return 2xx within five seconds once the event is recorded as processed or ignored, or you confirm it was already handled. If a delivery is missing, fetch the decision from the API as a fallback.

Can I run KYB on a Webflow site with Didit?

Yes. Point the session at a KYB workflow and the same endpoint creates a business session, with registry checks, key people and linked KYC for owners and officers. KYB costs from $2.00 per company, plus $0.33 per linked KYC and $0.20 per person AML. Business sessions can sit in Awaiting User while the submitted parties finish their own checks.

Does the Didit iframe work on mobile browsers?

It does, and the redirect route is the fallback when the embedded camera behaves badly. If you need a native wrapper for an iOS or Android app later, we document a WebView route as well. Test camera access on a real phone before launch.

Which session statuses should my integration handle?

Match the strings exactly, because the values are case-sensitive and include spaces: Not Started, In Progress, Approved, Declined, In Review, Awaiting User, Resubmitted, Expired, Abandoned and Kyc Expired, with that single capital K. If access requires current verification, grant it only while the associated session status is Approved. Hold access during In Review and reevaluate it after every status update, including Kyc Expired and Resubmitted. The full lifecycle is on the statuses page.

Can I test the Webflow integration without paying?

Yes. Sandbox testing is free and unlimited on every plan, and the sandbox application has its own API key. You can force specific outcomes with a sandbox_scenario slug from the sandbox catalog, which lets you exercise the declined and manual-review paths before a real person runs the flow. Move to the live key only when the sandbox run is clean.

Can an AI assistant write the backend part for me?

The assistant should build session creation with POST https://verification.didit.me/v3/session/, verification of X-Signature-V2 over canonical JSON built from the preserved request body, and decision retrieval with GET /v3/session/{session_id}/decision/. You verify three things before shipping: a sandbox session reaches Approved, a replayed event_id changes nothing, and the Webflow page never grants access from the callback alone.

Compliance built in

Audited, certified and attested.

We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center

  • Regulation encoded into your flows

    Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.

  • Ready for AMLR

    Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.

  • Tested in Spain's Treasury sandbox

    Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.

  • Audited, not self-declared

    iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.

Compliance assistant

Your obligations · 3 regions

EU · AMLRCustomer due diligence, human reviewCovered
Illinois, Texas, ColoradoExplicit biometric consentCovered
Germany · Youth protectionVerified adults only (JMStV)Covered
Workflow checked. Every obligation is met
  • SOC 2 Type 2
  • ISO 27001
  • iBeta Level 1 and Level 2
  • EU regulator attestation
  • FSM youth protection
  • GDPR
  • EBA remote onboarding
  • MiCA compatible
  • FIDO Alliance member
  • AMLREU AML Regulation ready

Integration · Didit MCP

Run Didit from your own AI agent

Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.

Add to ClaudeChatGPT
Didit Academy · Lesson 04 · Use Didit with MCP
  • Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
  • Run investigationsAsk why a session was declined, review cases, search people and companies.
  • Change rulesCreate payment rules, test them on past data and switch them on.
  • Pull reportsAsk for numbers, exports or the audit log.

Verify your first user today.

Start free

Free sandbox. Credit applies to work-email sign-ups.