Create a new draft revision from an existing one
Changed onCreates a new editable draft by copying the title, nodes, and edges of an existing revision. The new draft keeps the same workflow name with the next revision number, letting you iterate on a published workflow without altering the live version. The source revision must not itself be a draft, and a workflow can have only one draft at a time. Optionally supply a name in the body to copy the definition under a different workflow name; in that case an existing draft with that name is updated rather than rejected.
Request
- Base URL: https://api.sumsub.com (the document declares no server; this is the origin it was published from)
- URL: https://api.sumsub.com/resources/api/agent/applicantWorkflows/{id}/draft
- Auth: none declared
Path parameters
Id of the source workflow revision to copy.
Request body
Example request
{
"name": "default"
}Response
default response
Changes
- warning
added the new
SUSPICIOUS_DOCUMENTenum value to the////response property for the response status
- warning
- warning
added the new
HIGH_RISKenum value to the////response property for the response status - info
added the optional property
/////////to the response with the status - info
added the optional property
/////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
/////to the response with the status - info
added the optional property
//to the response with the status
- warning