Developers
The best way to integrate
identity and fraud.
Connect your AI agent, send users to a hosted flow or call one check from your server. Every path uses the same API, the same sandbox and the same webhooks.
https://mcp.didit.me/mcpREST API · Web and mobile SDKs · MCP server · Webhooks · Free sandbox

Integrate Didit in Your App: API, SDK and Webhooks (Developer Guide) · 8 min · YouTube
Integration
Two ways to integrate
Use the hosted flow when a person is on the screen. Use the standalone API when your own server already has the image or the data.
- 1Create a workflow
Build it in the no-code console. A workflow is the list of checks your user goes through.
- 2Create a session
Call
POST /v3/session/with theworkflow_idand your ownvendor_datareference. You get asession_id, asession_tokenand a hostedurl. - 3Send your user
Share the hosted
url, or open it in a web or mobile SDK. - 4Read the decision
Get the status and every check result by signed webhook, or from the decision endpoint.
curl -X POST https://verification.didit.me/v3/session/ \ -H "x-api-key: $DIDIT_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "workflow_id": "'"$DIDIT_WORKFLOW_ID"'", "vendor_data": "internal-user-id", "callback": "https://myapp.com/done" }'
- 1Send the images
Call
POST /v3/id-verification/from your server with the front and back images and your ownvendor_datareference. - 2Read the body
The response holds the status, the name, the document type and number, the dates and the warnings. A check that fails still returns a 200.
- 3Store the request
Keep the
request_idto find the call in the console.
curl -X POST 'https://verification.didit.me/v3/id-verification/' \ -H "x-api-key: $DIDIT_API_KEY" \ -F 'front_image=@./id_front.jpg' \ -F 'back_image=@./id_back.jpg' \ -F 'vendor_data=user-123'
Didit shows the screens
Best for anything a user sees, such as onboarding, age checks and identity checks.
How it works
- 1Your server creates a session.
- 2Your user completes Didit's screens on web or mobile.
- 3Your server gets a webhook with the decision.
- Screens are A/B tested for completion, speed and security
- The SDKs handle camera permissions, NFC, liveness and document capture
Your screens, one check per call
Best for server to server work, batches and custom pipelines.
How it works
- 1You capture the image or data in your own screens.
- 2Your server calls one check, such as
POST /v3/id-verification/. - 3The result comes back in the response.
- No session required
- You manage the user experience yourself
| Question | Hosted flow | Standalone API |
|---|---|---|
Is a user in front of the screen? | Yes | Only with your own capture screens |
Do you need the highest completion rate? | Yes, the flows are A/B tested | You manage the user experience yourself |
Do you need NFC passport reading? | Yes, with the native SDKs | Not available |
Is it batch or backend processing? | Not ideal | Yes |
Do you need a custom pipeline? | Limited to workflows | Full flexibility |
Do you want the fastest integration? | Minutes, with a verification link | Needs more setup |
NFC means reading the chip in a passport or ID card with the phone. A workflow is the set of checks a session runs.
SDKs
An SDK for every platform
An SDK is a ready-made library for your language. Pick yours, copy the install line and open the short guide.
Web
Open the session URL in the browser.A modal or an inline flow. Works with React, Vue, Angular, Next.js, Nuxt and Svelte.
npm install @didit-protocol/sdk-webEmbed the flow inside your own page.
<iframe src="SESSION_URL" allow="camera; microphone; geolocation; clipboard-write; fullscreen; autoplay; encrypted-media; digital-credentials-get"></iframe>Mobile
Native screens, with NFC. Prefer these over a WebView.Swift Package Manager or CocoaPods. SwiftUI and UIKit.
https://github.com/didit-protocol/sdk-ios.gitKotlin, Jetpack Compose and Java. Android 6.0 and later.
implementation("me.didit:didit-sdk:4.15.4")Works with Expo through a config plugin. Needs a development build.
npm install @didit-protocol/sdk-react-nativeServer
Typed calls and webhook checks, wherever your code holds the API key.Node.js 18, Bun, Deno and edge runtimes. TypeScript types.
npm install @didit-protocol/sdk-nodeJava 11 and later, and Kotlin. Sync and async.
implementation("me.didit:didit-java:1.0.1")PHP 8.1 and later. Any PSR-18 client.
composer require didit-protocol/sdk-php guzzlehttp/guzzleThese seven sign people in with the Authentication product. Each chip opens its quickstart in the docs.
More
Everything else a developer needs
Reference pages, demos and files for AI agents.
Every endpoint, request and response.
OpenDocsOpenAPI filesThe verification API and the auth API as JSON.
OpenDocsStatusesEvery session status, from Not Started to Approved.
OpenDocsData modelsThe shape of a decision, check by check.
OpenDocsAPI errorsEvery error, its code and what is safe to retry.
OpenPageLive demosTry the flows in your browser.
OpenPageChangelogWhat shipped and when.
OpenPageAuthentication SDKsSign users in with the Authentication product.
OpenPageAgent filesPrompts, skills and files written for AI agents.
OpenQuestions
Questions from developers
How do I go from sandbox to production?
What does the ID verification API do?
Which SDKs are available?
Is there a free sandbox?
How are webhooks secured?
Are failed webhooks retried?
Can I call one check without a full session?
Can my coding agent integrate Didit?
How much does it cost?
What is the difference between the hosted flow and the standalone API?
What is the Didit MCP server?
Where does Didit store the data my integration sends?
How do I retry a request without running or billing it twice?
How should my code read Didit API errors?
Does the same API run business verification (KYB)?
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.
Your obligations · 3 regions
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.
- 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.
Didit Academy
Learn Didit, one short video at a time
Start
Start building
Add the MCP server, paste the prompt or create an account and get your sandbox key.
Free sandbox. Credit applies to work-email sign-ups.