Coding agents
Integrate Didit with one prompt
Paste one prompt into your coding agent. It writes the backend route, the SDK call and the webhook handler for identity verification, transaction monitoring and sign-in.

KYC API Integration in 5 Steps: With an AI Setup Prompt for Cursor · 4 min · YouTube
How to use
Four steps
Copy, fill in, choose a reference, review.
Copy and paste
Copy the prompt and paste it into your coding agent.
Fill in your details
Your stack, your platform and the Didit products you want.
Choose one person reference
Use your own user ID. Didit calls it vendor_data and returns it with every result. Your server sets it, never the browser.
Review and test
Read the code and run the sandbox tests before you switch it on.
What it builds
What your agent ships
The prompt walks your agent through 14 steps, from inspecting your code to a go-live check.
- 1Create an account
Only if you need one. Two API calls return your keys.
POST/auth/v2/programmatic/register/ - 2Choose the approach
The hosted flow with an SDK, or the standalone API.
PICKSessions API + SDK - 3Create a workflow
The set of checks a session runs. Or reuse one you have.
POST/v3/workflows/ - 4Install the SDK
The package that matches your stack.
SDK@didit-protocol/sdk-web - 5Create a session
Your server creates it. Your app shows it to the user.
POST/v3/session/ - 6Set up the webhook
Check the signature, then read the decision.
POST/v3/webhook/destinations/ - 7Apply the decision
Save the status on your own user record.
EVENTstatus.updated - Go live
Switch to the live key once the sandbox tests pass.
ENVDIDIT_API_KEY
Steps 2 to 7 are the identity verification part. The prompt skips them when you do not select that product. An SDK is a ready-made library for your platform. A webhook is a message Didit sends to your server when a result is ready.
Products
One prompt, three products
Pick any combination. The prompt builds only what you select.
Identity verification
Checks people. Your server creates a session, the user completes the Didit screens and your server gets the decision.
Transaction monitoring
Evaluates transactions and application events. Your server sends them, or mints a short-lived token for the app.
Authentication
Signs end users in to your app, with hosted pages and SDKs for web and mobile.
vendor_data. The same reference links a person across the three products. Each product works alone and keeps its own credentials and decisions. A successful sign-in does not mean an identity check passed.Credentials
Which key goes where
The prompt keeps five credentials apart. Only one of them is a secret API key.
| Credential | What it is | Where it lives |
|---|---|---|
x-api-key | The API key for verification and monitoring calls. | Your server only. Never in a browser or an app. |
X-Transaction-Token | A short-lived transaction credential scoped to one vendor_data. The API returns it as sdk_token. | Your server mints it. The app uses it. |
X-Monitoring-Token | A short-lived event credential scoped to one vendor_data. The API returns it as monitoring_token. | Your server mints it. The app uses it. |
End-user Bearer token | The signed-in session of the Authentication product. It is not a console token or an API key. | The app sends it. Your server verifies it. |
Publishable key | Identifies your application for the Authentication SDKs. It never grants server access. | Safe in the app. |
Scoped means the token works for one person only. Keep webhook secrets on your server too.
Questions
Questions about the prompt
What does the Didit integration prompt do?
Which coding agents can use it?
What is vendor_data?
Does the agent need my API key?
Can my agent create the Didit account too?
How do I tell the prompt which products to build?
Which SDK does the agent install for identity verification?
Is Authentication ready to integrate with the prompt?
Does a successful sign-in mean the user passed verification?
Can my app trust the redirect or the success screen?
Does an account my agent creates get the free monthly credit?
How long is the registration code valid?
What should I check before turning the integration on?
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.
- Trusted by EU regulators
After a year of supervised testing, EU financial regulators confirmed that verifying with Didit is safer than checking an ID in person.
- 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
Copy the prompt
Paste it into your coding agent, fill in your stack and review what it builds.
Free sandbox. Credit applies to work-email sign-ups.