Skip to main content
PATCH
cURL
Use PATCH for partial updates. To rename a workflow, send only workflow_label.
To change the checks in the workflow, send the full desired features array. This replaces the previous feature order and configuration.
The v3 API keeps workflows simple: one linear path and one final status step. Branching, action nodes, and webhook nodes are not accepted here.

Feature config reference

When you send features in a PATCH, the array replaces the previous feature order and configuration. Include every required config again. The exact config object depends on the feature. Review the full field list, defaults, required settings, value ranges, and examples in Workflow Feature Configs. For OCR, omit config.documents_allowed, send null, or send {} to allow every supported document type. Include it only when you want to restrict the workflow to specific countries or document types. For QUESTIONNAIRE, config.questionnaire_uuid is required.

Updating workflow settings

You can patch session-level settings without touching the feature list. Send only the fields you want to change.
Use the workflow uuid returned by the list, create, or get endpoint as settings_uuid in this URL.

Authorizations

x-api-key
string
header
required

Your application's API key, from Developers -> API keys in the Business Console. The primary key has full access. A named key can be scoped: none, read or write per resource, limited to some workflows or to approved sessions, to a list of IP addresses, and to an expiry date. 401 means the key is wrong, revoked or expired; 403 means no key was sent, the key has no access to this resource or action, or the request came from an address outside its IP list; 404 on a session route means the session is outside the key's workflows or statuses. A key without media access receives image, video and PDF URLs as null, and a key without sessions write receives session links and tokens as null. See https://docs.didit.me/console/api-keys.

Headers

Idempotency-Key
string

Optional retry-safety key you choose for one operation, up to 255 characters (a UUID works). A request repeated with the same key, endpoint, query and body is answered with the first response, same status and same body, and runs and bills nothing a second time. The same key with another endpoint, query or body returns 409 idempotency_key_reused, and while the first request is still running, 409 idempotency_key_in_progress with Retry-After. A failed request (any 4xx or 5xx) is not stored, so you can send it again with the same key. Keys belong to your application, whether you call with an API key or an access token. See Retries and idempotency.

Required string length: 1 - 255

Path Parameters

settings_uuid
string<uuid>
required

Per-version UUID of the workflow to update.

Body

application/json

Update workflow metadata or replace the full linear feature list. STRICT field whitelist: any key not listed here is rejected with a 400.

workflow_label
string

Display name for the workflow (max 50 characters).

Maximum string length: 50
is_default
boolean

Set this workflow as the default for new sessions.

status
enum<string>

Controls versioning. Omit to update the current version in place (drafts auto-publish). published on an already-published version creates and returns a NEW version. draft is only valid while the version is still a draft.

Available options:
draft,
published
features
object[]

If provided, this replaces the full feature order and configuration.

Minimum array length: 1
is_white_label_enabled
boolean

Enable white-label customization for sessions created with this workflow.

is_desktop_allowed
boolean

Allow the verification flow to run on desktop browsers.

is_welcome_handoff_enabled
boolean

Show “Continue on another device” on the hosted verification welcome screen. Set to false to hide the QR code and link from the phone welcome.

is_session_reference_enabled
boolean

On Declined and In review results, the person being verified sees a short reference to the session, such as S-20481, shown on one line. This is the session number as the console shows it, so your support team can find the session in the console by typing it. When false, the result screens show no reference. Applies to the hosted flow and the SDKs.

max_retry_attempts
integer

Maximum retry attempts allowed after a declined verification. 0 blocks the user after the first decline.

Required range: 0 <= x <= 10
retry_window_days
integer | null

Rolling window in days used to count retries. null enforces an all-time limit.

Required range: 1 <= x <= 365
face_liveness_max_attempts
integer

Maximum liveness submissions per session. This value is also copied into generated liveness and age-estimation workflow nodes unless the feature-level config overrides it.

Required range: 1 <= x <= 3
face_match_max_attempts
integer

Maximum face-match submissions per session. This value is also copied into generated face-match workflow nodes unless the feature-level config overrides it.

Required range: 1 <= x <= 3
session_expiration_time
integer

Seconds before an unfinished session expires. Minimum 1 hour (3600), maximum 4 weeks (2419200).

Required range: 3600 <= x <= 2419200

Response

Workflow updated. The body is the FULL configuration of the resulting version (same raw VerificationSettings shape as GET /v3/workflows/{settings_uuid}/). When the update created a new version (status: "published" sent on a published row) the returned uuid and version differ from the ones you patched — use the returned uuid for subsequent calls.

The fields below are typed; the object also carries every other column of the workflow configuration (feature toggles, thresholds, warning actions, allowed documents, callbacks) as additional properties. Fields that do not apply to the workflow_type are null. For a workflow built from a workflow_graph, face_match_score_decline_threshold and face_match_score_review_threshold report the thresholds its Face Match step applies: the step's own values, or the defaults 30 and 60 when the step sets none (the step's config in workflow_graph states the same values). When the workflow has several Face Match steps with different thresholds, read each step's config.

uuid
string<uuid>

Per-version identifier (settings_uuid). Every version of a workflow has its own.

workflow_id
string<uuid>

Stable identifier shared by every version of the workflow. Sessions created with it use the latest published version.

workflow_label
string

Display name of the workflow.

workflow_type
enum<string> | null

Workflow template. null for graph workflows created without a template.

Available options:
kyc,
kyb,
adaptive_age_verification,
biometric_authentication,
address_verification,
questionnaire_verification,
email_verification,
phone_verification,
null
is_welcome_handoff_enabled
boolean

Whether the hosted phone welcome screen offers the QR code and link to continue on another device.

is_default
boolean

Whether this is the application's default workflow.

is_archived
boolean

Archived workflows cannot start new sessions.

version
integer

Version number within the workflow.

status
enum<string>

Draft versions are editable; published versions are immutable and used for new sessions.

Available options:
draft,
published
published_at
string<date-time> | null

When this version was published. null for drafts.

is_simple_workflow
boolean

true when the workflow has no custom workflow_graph.

is_editable
boolean

true only for draft versions.

workflow_url
string<uri>

Public URL that starts a session with this workflow.

workflow_graph
object | null

Graph structure of the workflow (nodes and edges). null for simple workflows.

features
string

Enabled features joined with " + ", for example "OCR + LIVENESS".

total_price
number | null

Price per session; for graph workflows the most expensive path.

min_price
number | null

Price of the cheapest path through the workflow.

max_price
number | null

Price of the most expensive path through the workflow.

special_add_on_prices
object | null

Organization-specific add-on prices, or null when none are set.

max_retry_attempts
integer

Retries allowed after a declined verification.

retry_window_days
integer | null

Days during which the retries are allowed.

session_expiration_time
integer

Seconds before an unfinished session expires.

questionnaire
object | null

The questionnaire attached to the workflow, or null.

kyb_role_settings
object[]

Per-role verification settings for KYB key people.

created_at
string<date-time>
updated_at
string<date-time>
signature_availability
object

Which E-signature levels can sign right now. Check it before you set signature_level. Returned on kyc, kyb and graph workflows.

is_bank_verification_enabled
boolean

Whether a simple KYC or KYB workflow runs Bank verification. It runs after the contact steps (and Location verification) and before database validation, AML and IP analysis. Bank verification is not generally available yet: turning it on is refused wherever it is not enabled.

bank_verification_config
object

Bank verification settings of a simple workflow, with the same keys a BANK_VERIFICATION node takes (for example bank_countries and bank_method_order). Unknown keys are dropped. Every key is optional and an absent key keeps its default, so {} means all defaults. See Bank verification settings.

Example:
is_geolocation_enabled
boolean

Whether a simple KYC workflow runs Location verification. It runs after the contact steps and before Bank verification and database validation. Business (KYB) workflows cannot run it.

geolocation_config
object

Location verification settings of a simple workflow, with the same keys a GEOLOCATION node takes (for example is_geolocation_geofencing_enabled and geolocation_max_attempts). Unknown keys are dropped. Every key is optional and an absent key keeps its default, so {} means all defaults.

Example:
Last modified on November 27, 2026