Identity Verification (KYC)
How to Update a Live Didit KYC Workflow Without Breaking Sessions
Publishing freezes an immutable version new sessions use; every session keeps the version it started with. To change a live flow, create a new draft from the published version, edit it, then publish.

Contents
In this guide
Jump to the part you need.
This is for teams whose verification flow is already live. Editing a Didit workflow cannot break a session that is already running, because every session references the specific version it was created with. Building workflows and keeping version history carry no separate fee; you pay per completed check, $0.33 for a full KYC. The one caveat is the default workflow: a session created without an explicit workflow_id follows whatever is_default points to.
Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.
| Concept | What it is | What you can do with it |
|---|---|---|
| Draft version | A fully editable version of a workflow. New sessions do not use it. | Add, remove or restructure nodes freely. Rows with is_editable set to true can be patched. |
| Published version | An immutable version. New sessions created with that workflow_id run it. | Read it, inspect it, create a new draft from it. You cannot edit it in place. |
| Previous versions | Preserved after a later version is published. | Inspect the exact configuration any past session was created with. |
| Session | One verification run. It references the specific workflow version it was created with. | Let it finish. A later publish does not reconfigure it. |
is_default | The workflow used when a session is created without a workflow_id. | Read it. Better: send workflow_id yourself in every create call. |
is_editable | True on a draft row, false on a published row. | Patch only the row that reports true. |
Start free in the sandbox at business.didit.me (no sales call). For developers, connect Didit to an AI assistant through the MCP server. Read the User Verification product page and the list prices on didit.me/pricing before you publish.
What a safe update produces
A safe update produces one result: a new published version that new sessions use, while every session already in flight keeps the version it started with. Didit supports this because a workflow is a versioned record, not a live object you mutate in place.
Our documentation states three rules that drive the procedure:
- Draft versions are fully editable. You can add, remove or restructure nodes freely.
- Publishing a draft creates an immutable version that new sessions will use.
- Sessions always reference the specific version they were created with, so consistency survives any later publish.

We recommend the direct route: create a new draft from the published version, edit that draft, publish it when ready. Previous versions are preserved so you can inspect the exact configuration used for any past session, and version history is available through the Management API.
The one gap is the default. A session created without an explicit workflow_id uses the workflow with is_default: true. If you rely on the default, a change in which workflow is default sends new sessions somewhere you did not test. Send workflow_id yourself and the question disappears.
Prerequisites
- A Didit account with an application. A sandbox application is enough to rehearse everything; sandbox testing is free and unlimited apart from a quota of 500 session creates per application per 24 hours.
- An API key for that application, sent in the
x-api-keyheader. Documented 401 or 403 responses indicate an authentication or permission problem. - Access to the Workflow Builder in the Business Console for the step that creates a draft and the step that publishes it. The versioning discipline is documented at docs.didit.me/console/workflows.
curlandjq, or any HTTP client, for the read calls and the session create call.- A published workflow that is currently serving traffic, and a note of which product it belongs to. The workflow type decides the kind of session created: KYC workflows create User Verification sessions, KYB workflows create Business Verification sessions.
Step by step: update a live KYC workflow without breaking sessions
-
Read the current state before you change anything. The list endpoint returns one row per version, newest first, in a pagination envelope.
curl -X GET 'https://verification.didit.me/v3/workflows/?limit=50' -H 'x-api-key: YOUR_API_KEY' | jq '.results[] | {uuid, workflow_id, version, status, is_default, is_editable}'Use the credentials shown in the List Workflows API. The endpoint is paginated with
limitandoffset; follownextuntil it is null if your organization keeps hundreds of workflows, and filter client side byis_archivedandstatus.Warning: the list endpoint mixes every workflow in the application. Filter by
workflow_idbefore you select a published version, or you may read another workflow's row. -
Record the settings uuid of every published version.
workflow_idis the stable identifier shared by every version of a workflow group;uuidis the per-version identifier used as the path id for a single settings record. Write the published version's uuid down. That is how you inspect the exact configuration a past session ran on. -
Create a new draft from the published version in the Business Console. Open the workflow in the Workflow Builder and create the draft from the live published version, then edit that draft. Do not try to turn the published row into a draft, and do not build a new workflow group from scratch unless you intend to change the
workflow_idyour code sends. -
Confirm the draft exists and is editable.
curl -s 'https://verification.didit.me/v3/workflows/' -H 'x-api-key: YOUR_API_KEY' | jq '.results[] | select(.status == "draft") | {uuid, workflow_id, version, is_editable}'is_editable: truemeans the row is a draft and can still be patched viaPATCH /v3/workflows/{settings_uuid}/. If you edit through the API rather than the Console, use the draft's own uuid in that path, never the published version's uuid. -
Make the edits in the draft only. Change nodes, checks, branches, country methods and fallback rules there. In the graph builder that means add, remove, rewire and branch work; in a template flow it means toggling the features and their settings. Nothing you do here reaches a live session, because the draft is not a version new sessions can use.

Edits in the graph builder: nodes, branches and rules are changed on the draft, and the published version keeps running untouched. -
Rehearse the draft in a sandbox application. In sandbox every external provider is mocked, so no third party is called and no balance is touched, while liveness still runs the real capture. Outcomes come from the scenario, and the quota is 500 session creates per application per 24 hours. A sandbox application cannot add a custom domain, so rehearse on the default hosted domain. Details are in sandbox test data.
-
Publish the draft from the Console. Publishing creates the immutable version that new sessions will use. From that moment the version history holds the new published version and the ones before it, preserved for inspection. Audit logs record Console and API activity if you need to see who published.
-
Verify the published state, and the default if you depend on it. Call the list endpoint again. Filter the results to your
workflow_idand tostatuspublished, then compareversionorcreated_atexplicitly to confirm the newest published version for your group is the one you just published. Check thatis_editableis false on it, and thatis_defaultstill points where you expect. Do not assume the first row overall is yours: the endpoint returns every version newest first, and another workflow may have a newer row. -
Pin
workflow_idin every create call. This is the part that makes the procedure safe in practice.curl -X POST 'https://verification.didit.me/v3/session/' -H 'x-api-key: YOUR_API_KEY' -H 'Content-Type: application/json' -d '{"workflow_id": "8f14e45f-ceea-467f-a8e0-9c1b3a1c7d22", "vendor_data": "user-1234"}'The body follows the Create Session API:
workflow_idis required, andvendor_datais your stable identifier for the person, which is optional but strongly recommended because it binds the session to a user entity and drives duplicate detection across sessions. -
Confirm nothing in flight moved. Open a session created before the publish and inspect its session record alongside the preserved workflow version it references. The session keeps the checks it ran and the version it was created with, because sessions reference the specific version they were created with. Per-feature reports also carry a
node_idthat pins the report to the workflow graph node that produced it, which is how you trace one result back to one node of one version.
Expected output of the read calls
Both list calls return a paginated envelope with count, next, previous and results. Trimmed to the fields you need, one page looks like this:
{
"count": 2,
"next": null,
"previous": null,
"results": [
{
"uuid": "a1b2c3d4-5678-90ab-cdef-111111111111",
"workflow_id": "8f14e45f-ceea-467f-a8e0-9c1b3a1c7d22",
"version": 3,
"status": "draft",
"is_default": false,
"is_editable": true
},
{
"uuid": "b2c3d4e5-6789-0abc-def1-222222222222",
"workflow_id": "8f14e45f-ceea-467f-a8e0-9c1b3a1c7d22",
"version": 2,
"status": "published",
"is_default": true,
"is_editable": false
}
]
}
A create session call answers with the session object: session_id, session_kind set to 'user' for a KYC workflow, the workflow_id you sent, the session_url to hand to the person, the feature list the workflow runs, and created_at and expires_at. The shape is documented on the Sessions API overview.
Inputs and outputs
| Field | What it is | Where you use it |
|---|---|---|
workflow_id | Stable identifier shared by every version of a workflow group | Send it in POST /v3/session/ |
uuid | Identifier of one settings record, meaning one version | Path id for GET, PATCH and DELETE on /v3/workflows/{settings_uuid}/ |
version | Integer version number inside the group | Read it to tell the live version from older ones |
status | 'draft' or 'published' | Read it to find the live version and the editable one |
is_default | The workflow used when a session is created without workflow_id | Read it when you rely on the default |
is_editable | True on a draft row, false on a published row | Guard rail before you patch anything |
is_archived | Whether the record is archived | Filter client side when you keep many workflows |
created_at | Creation timestamp, used for the newest-first ordering | Read it to confirm which version is newest |
vendor_data | Your identifier for the person or business | Send it in POST /v3/session/ |
session_kind | 'user' for KYC, 'business' for KYB | Read it to branch on response shape |
Failure cases and recovery
- 401 from any call. The
x-api-keyheader is missing or malformed. Re-send the key for the application you are actually working on. - 403 with a permission detail. The key cannot perform this action for this application. The response body is the canonical
{"detail": "You do not have permission to perform this action."}envelope. Use a key that can authenticate the request for this application, or check that you are working in the right application. - 429 rate limited. Back off and retry using the
Retry-Afterheader. Reads have no side effects, so a retry is always safe. - You tried to edit the published version. Published rows are not editable, which is why
is_editableis false on them. Patch the draft'ssettings_uuidinstead, or make the change in the Console builder. - New sessions landed on the wrong flow. You created them without
workflow_id, so the default applied. Fix the call and pass the id, then checkis_defaulton the list endpoint to see what the default was pointing at. - 400 on the callback. When the application has allowed domains, an http or https callback must sit on one of those origins, otherwise creation fails with "callback must be on one of the application's allowed domains". Use an allowed origin or correct
allowed_domainsonPATCH /v3/webhook/. Custom URL schemes such as app deep links are always accepted. - A user reports the old screens after your publish. Their session was created before the publish and keeps the version it started with. That is the design, not a regression. Let it finish or expire, and check
expires_atif you need to know how long it can sit. - You need to go back to an earlier configuration. Previous versions are preserved, so the preserved version is your reference: create a draft from it and publish, which is the rollback route shown in the Workflow Builder lesson. Do not try to delete your way back, because deleting removes records rather than restoring one.
Paid steps and review boundaries
Editing, drafting, publishing and reading version history cost nothing. We list the Workflow Orchestrator as Free in the price book and the Management API list call is a pure read with no side effects. What you pay for is completed checks inside sessions. An In Review status is a session outcome that needs attention in the Console; it is not a workflow edit and it does not change the version that produced it.
- Full KYC check, $0.33 per completed check. ID document verification $0.15, passive liveness $0.10, face match 1:1 $0.05, device and IP analysis $0.03.
- AML screening, $0.20 per check. Ongoing AML monitoring is $0.07 per user per year.
- Business verification, from $2.00 per company, priced by country and data tier. Owners and officers take a linked full ID check at $0.33 each plus person AML at $0.20 each.
- Sandbox, free. Sandbox sessions are never billed and the balance check is bypassed, with the quota of 500 creates per application per 24 hours.
- Plans. Free includes $10 of credit a month for eligible organizations. Growth is $99 a month with $115 of credit and 4% off every Didit price. Scale is $299 a month with $350 of credit and 10% off. Enterprise is a custom annual contract from $15,000 a year.
Worked cost example
Take a live KYC flow that also runs AML screening, 2,000 completed sessions a month, and one safe version update in that month. The update itself adds nothing to the bill. The completed checks do:
- Full KYC at $0.33: 2,000 x $0.33 = $660.00
- AML screening at $0.20: 2,000 x $0.20 = $400.00
- Subtotal at list price: $660.00 + $400.00 = $1,060.00
- Draft, publish, version history reads: $0.00
- Sandbox rehearsal of the draft: $0.00
On Scale, the same month takes the 10% plan discount on Didit prices: KYC at $0.297 means 2,000 x $0.297 = $594.00, AML at $0.18 means 2,000 x $0.18 = $360.00, so the subtotal is $954.00. That is $106.00 less than list, for the same 2,000 people and the same version update.
Sources
- Didit docs: Workflow Builder, including the Workflow Versioning section and graph builder node types
- Didit docs: List Workflows API, for the endpoint, envelope and error behaviour
- Didit docs: Create Session API, for
workflow_id,vendor_dataand callback rules - Didit docs: Sessions API overview, for
session_kindand shared session fields - Didit docs: Data Models, for the
node_idthat pins reports to workflow nodes - Didit docs: Sandbox test data, for mocked providers, quotas and sandbox limits
- Didit docs: Audit Logs, for the record of Console and API activity
- Didit docs: Pricing and billing, for billing rules and standalone API prices
- Didit pricing page and pricing as JSON, read November 26, 2026
- Didit MCP server, for connecting workflow reads to an AI assistant
- Didit User Verification product page, for the KYC product context
- Didit Business Verification, for the KYB workflow equivalent
Next step: open the sandbox at business.didit.me, create the draft from your published flow, rehearse it, and only then publish. No sales call to start.
Try it
Try this in the sandbox
Run the check this guide describes, free.
The product this post is about, taken from its topic. Run it free in the sandbox.
Author
Alberto Rosas
Co-founder and CEO

Questions
Frequently asked questions
What is the difference between a draft and a published workflow in Didit?
A draft is a fully editable version of a workflow that no new session uses. Publishing a draft creates an immutable version that new sessions will use, and previous versions stay preserved so you can inspect the configuration any past session ran on. Rows come back from the Management API with status set to 'draft' or 'published' and with is_editable true only on drafts.
Does editing a Didit workflow affect sessions that are already running?
No. Every session references the specific version it was created with, so editing a draft or publishing a new version never reconfigures a person who is mid-flow. Their screens, checks and decision stay on their version. Only sessions created after the publish use the new version.
How do I edit a workflow that is already published?
Create a new draft from the published version, edit the draft, then publish it when ready. You cannot edit the published version in place, because published versions are immutable. The version history remains readable through the Management API so you always know which configuration was live at a given time.
What does is_editable mean in the Didit workflows API?
is_editable: true means the row is a draft and can still be patched via PATCH /v3/workflows/{settings_uuid}/. A published row does not offer that, so an edit attempt on it is the wrong path rather than a bad request you can work around. Filter the list response for drafts before you patch anything.
What does is_default do, and how do I update a verification flow safely if I rely on it?
The workflow with is_default: true is used whenever a session is created without an explicit workflow_id. That makes the default a moving target if it ever changes. The safe pattern is to pin workflow_id in every POST /v3/session/ call, and to read is_default from the list endpoint whenever you want to know what an unpinned call would get.
How can I see the version history of a Didit workflow?
Call GET https://verification.didit.me/v3/workflows/ with your x-api-key. Each row is one version, ordered newest first, with the shared workflow_id, the integer version, and the per-version uuid you use as the path id for a single record. Results are paginated with limit and offset, so follow next until it is null, and filter by workflow_id before you compare versions.
Can I roll back a Didit workflow to a previous version?
Previous versions are preserved, so the earlier configuration is always available as a reference. The rollback route is to create a draft from the preserved version and publish it, and the Workflow Builder lesson in Didit Academy demonstrates version rollback. That keeps the rule intact: only drafts are edited, and only publishing puts a version in front of new sessions.
How do I test a workflow change before publishing it?
Rehearse it on a sandbox application. Sandbox mocks every external provider, so no third party is called, no balance is touched, and sessions are never billed, while liveness still runs the real capture so the experience matches production. The quota is 500 session creates per application per 24 hours, and a sandbox application cannot add a custom domain, so test on the default hosted domain.
What happens if I publish while a user is halfway through their verification?
Nothing changes for that user. Their session stays on the version it was created with until it finishes or expires, and every per-feature report carries a node_id that pins the result to the workflow graph node that produced it. New sessions created after the publish run the new version, and you can tell the two apart by inspecting each preserved version through the Management API.
Does this procedure work the same for KYB workflows?
Yes. Versioning is a property of the workflow record, not of the session kind, so drafts, publishing and preserved versions work the same way. The difference is what the workflow produces: KYB workflows create Business Verification sessions and the response carries registry checks, document verifications and key people checks instead of ID and liveness arrays.
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


