sumsub-create-workflow
Sumsub — Create Workflow
Builds an ApplicantWorkflow JSON payload from a compact node/edge spec, validates it (dry-run), POSTs it as a draft, and then — gated by the workflow's current live exposure — publishes it via PUT /{id}/revisionStatus: directly when exposure is low, or only after explicit confirmation when it's high. Reports the resulting name (kind) / revision / revisionStatus / id. Read the Danger section before publishing anything.
Concepts
A workflow routes applicants through levels and branches. There is exactly one workflow
per kind: default (auto-runs for every verification), actions (auto-runs for applicant
actions), test (isolated; runs only from its draft, launched manually per applicant — not
publishable). Each save creates a new revision of that singleton, never a new workflow.
A revision is a draft — editable, routes no traffic, always safe to create / update /
validate — until it is published, which makes it live for all real production traffic
and auto-archives the previously published revision. test never publishes; it runs from its
draft.