Forwards the request to the FLOW Workflow Engine to create or update a workflow definition. The request body and headers are forwarded as-is to the upstream service. When isDraft is true, the definition is saved as a draft (version -1). When isDraft is false, a new published version is created.
Open string that can be used to define the "channel" the request comes in from. It can potentially be used in routing and risk calculations upon request. Default values that can be used are: api portal smartui Any alphanumeric string is supported though. Anything over 64 characters will be truncated.
Workflow-level variables that can be referenced in task configurations using template syntax, these would be validated into the initial state on workflow execution
{"docsConfig":{"theme":"mint","$schema":"https://www.mintlify.com/docs.json","name":"frankieone","colors":{"primary":"#1A6CFF","light":"#1A6CFF","dark":"#1A6CFF"},"logo":{"light":"https://mintcdn.com/frankieone-f5583b1b/xa9j0sUrNjbbzTyf/logo/light.svg?fit=max\u0026auto=format\u0026n=xa9j0sUrNjbbzTyf\u0026q=85\u0026s=21923909c20fa1b38b317371ccac6e33","dark":"https://mintcdn.com/frankieone-f5583b1b/xa9j0sUrNjbbzTyf/logo/dark.svg?fit=max\u0026auto=format\u0026n=xa9j0sUrNjbbzTyf\u0026q=85\u0026s=196c598869b49c924efc8e44399fda09","href":"https://docs.frankieone.com"},"favicon":"https://mintcdn.com/frankieone-f5583b1b/cNmgsKD2V0ccWp6T/favicon.png?fit=max\u0026auto=format\u0026n=cNmgsKD2V0ccWp6T\u0026q=85\u0026s=82de5d057bc772d870f18df413b453f9","appearance":{"default":"system","strict":true},"background":{"color":{"light":"#f4f5fc","dark":"#10152e"}},"navbar":{"links":[{"href":"https://status.frankieone.com/","label":"Support"}],"primary":{"type":"button","label":"Book a Demo","href":"https://frankieone.com/book-a-demo"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/frankieone"}},"seo":{"metatags":{"canonical":"https://docs.frankieone.com","og:url":"https://docs.frankieone.com"}},"fonts":{"heading":{"family":"DM Sans","weight":800,"source":"https://fonts.gstatic.com/s/dmsans/v17/rP2Hp2ywxg089UriCZOIHQ.woff2","format":"woff2"},"body":{"family":"DM Sans","source":"https://fonts.gstatic.com/s/dmsans/v17/rP2Hp2ywxg089UriCZOIHQ.woff2","format":"woff2"}},"integrations":{"ga4":{"measurementId":"G-TQB66YCL53"}},"errors":{"404":{"redirect":true,"title":"Sorry, we couldn't find the page you're looking for.","description":"Please try searching for a different term, use the navigation bar, or return to the homepage."}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Service Status","icon":"signal","href":"https://status.frankieone.com"},{"anchor":"Blog","icon":"newspaper","href":"https://frankieone.com/frankieone-blog"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"frankieone-f5583b1b","hasAudioNarration":false,"actualSubdomain":"frankieone-f5583b1b","customDomains":["docs.frankieone.com"],"gitSource":{"type":"github","owner":"frankieone","repo":"config-api-documentation-mintlify","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae03c8db99df1c7e7005e9c","collectionId":"7f88f383-ee0f-4d63-9d72-52af05554760","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae03c8db99df1c7e7005e9c"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae14a8e30e15bc50808db7b","clientVersion":"0.0.3990","searchFilterCounts":[{"language":"default","tag":"API","count":236},{"language":"default","tag":"Portal","count":188},{"language":"default","tag":"OneSDK","count":137},{"language":"default","tag":"KYC","count":131},{"language":"default","tag":"KYB","count":68},{"language":"default","tag":"KYC API Endpoints","count":50},{"language":"default","tag":"KYC V2 API","count":45},{"language":"default","tag":"About OneSDK","count":40},{"language":"default","tag":"Guide to the API","count":38},{"language":"default","tag":"Introduction","count":35}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"help@frankieone.com","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[{"filePath":"global.css","content":":root{color-scheme:light dark}[data-theme=dark]{color-scheme:dark}[data-theme=light]{color-scheme:light}span[data-as=p]:not(:where([data-page=\"/\"])){color:light-dark(#000,#fff)!important}p,tr,ul{color:light-dark(#000,#fff)!important}code{color:#1a6cff!important}"}],"page":{"pagePath":"api-reference/workflow-definitions/create-or-update-a-workflow-definition","slug":"/api-reference/workflow-definitions/create-or-update-a-workflow-definition","pageMetadata":{"title":"Create or update a workflow definition","description":"Forwards the request to the FLOW Workflow Engine to create or update a workflow definition. The request body and headers are forwarded as-is to the upstream service. When isDraft is true, the definition is saved as a draft (version -1). When isDraft is false, a new published version is created.","deprecated":null,"version":null,"openapi":"/specs/fc-core-bundled_generated.yaml put /v2/workflowDefinitions/{workflowDefinitionId}","href":"/api-reference/workflow-definitions/create-or-update-a-workflow-definition","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Forwards the request to the FLOW Workflow Engine to create or update a workflow definition. The request body and headers are forwarded as-is to the upstream service. When isDraft is true, the definition is saved as a draft (version -1). When isDraft is false, a new published version is created.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create or update a workflow definition","description":"Forwards the request to the FLOW Workflow Engine to create or update a workflow definition. The request body and headers are forwarded as-is to the upstream service. When isDraft is true, the definition is saved as a draft (version -1). When isDraft is false, a new published version is created.","deprecated":null,"version":null,"openapi":"/specs/fc-core-bundled_generated.yaml put /v2/workflowDefinitions/{workflowDefinitionId}","href":"/api-reference/workflow-definitions/create-or-update-a-workflow-definition","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"upsertWorkflowDefinition","summary":"Create or update a workflow definition","description":"Forwards the request to the FLOW Workflow Engine to create or update a workflow definition. The request body and headers are forwarded as-is to the upstream service. When isDraft is true, the definition is saved as a draft (version -1). When isDraft is false, a new published version is created.","requestBody":"cf0070f8-20d8-42b8-b567-6b0073fdfd1b","responses":{"200":"17884bc8-8fdd-4209-9b93-bebd71ac5bb2","400":"078e9fb3-ffe4-403e-9c76-cc1f5461c2cb","401":"45aa9dea-04cf-4969-9d94-68264c2867f1","404":"1ccd7cab-19db-4e7b-8196-6af79929a3af","500":"c2ac5f15-0478-48c3-becd-e48622a80618","502":"0bd56db2-0f83-4c14-a021-306678c6a3b9","503":"e6c68a0e-3e74-4c79-8f12-5d255f567d2f"},"parameters":["ca69594f-ea7c-4e9e-b486-9c7f0541fbbf","72501a3a-0de9-4628-9fdd-d79434181e17","3e3d44c8-7c84-413f-8c2e-1bbb3fc30533","557471cb-c4a0-4cb1-b084-3cec00bcbdc4","3dad9e21-14e2-4f5e-bb65-98f7df8425c2","e39abf05-5be3-4761-928a-5eab5b83be58"],"tags":["Workflow Definitions"],"security":["d4e40c4a-766f-4b42-8133-13d9bd3012f6","ddda0ce1-57f3-4568-9132-a8e20ebf7b19"],"method":"put","type":"path","servers":["05bd3718-bd68-4f1c-8c0b-5ea34aa702d5","228ae65e-2abe-4ad3-aa39-d17ab1390d12"],"path":"/v2/workflowDefinitions/{workflowDefinitionId}","baseUrlOptions":["https://api.uat.frankie.one","https://api.frankie.one"],"title":"Create or update a workflow definition","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"ca69594f-ea7c-4e9e-b486-9c7f0541fbbf":{"name":"api_key","in":"header","schema":{"type":"string","example":"245c765b124a098d09ef8765....","isRequired":true,"description":"Your API key provided by FrankieOne","uniqueKey":"","typeLabel":"string"},"description":"Your API key provided by FrankieOne","required":true},"72501a3a-0de9-4628-9fdd-d79434181e17":{"name":"X-Frankie-CustomerID","in":"header","required":true,"schema":{"type":"string","example":"12345678-1234-1234-1234-123456789012","isRequired":true,"description":"Your Customer ID provided by FrankieOne","uniqueKey":"","typeLabel":"string"},"description":"Your Customer ID provided by FrankieOne"},"3e3d44c8-7c84-413f-8c2e-1bbb3fc30533":{"name":"X-Frankie-CustomerChildID","in":"header","required":false,"schema":{"type":"string","example":"87654321-4321-4321-4321-210987654321","isRequired":false,"description":"Your Customer Child ID provided by FrankieOne","uniqueKey":"","typeLabel":"string"},"description":"Your Customer Child ID provided by FrankieOne"},"557471cb-c4a0-4cb1-b084-3cec00bcbdc4":{"name":"X-Frankie-Channel","in":"header","required":false,"schema":{"type":"string","isRequired":false,"description":"Open string that can be used to define the \"channel\" the request comes in from. It can potentially be used in routing and risk calculations upon request. Default values that can be used are: api portal smartui Any alphanumeric string is supported though. Anything over 64 characters will be truncated.","uniqueKey":"","typeLabel":"string"},"description":"Open string that can be used to define the \"channel\" the request comes in from. It can potentially be used in routing and risk calculations upon request. Default values that can be used are: api portal smartui Any alphanumeric string is supported though. Anything over 64 characters will be truncated."},"3dad9e21-14e2-4f5e-bb65-98f7df8425c2":{"name":"X-Frankie-Username","in":"header","description":"Username provided by API caller","required":false,"schema":{"type":"string","example":"fred.flintstone@frankieone.com","isRequired":false,"description":"Username provided by API caller","uniqueKey":"","typeLabel":"string"}},"e39abf05-5be3-4761-928a-5eab5b83be58":{"name":"X-Frankie-RequestID","in":"header","description":"GUID identifier for request","required":true,"schema":{"type":"string","example":"82988375-1F9C-40C7-8543-ECCA0D94CC7C","isRequired":true,"description":"GUID identifier for request","uniqueKey":"","typeLabel":"string"}},"70320202-7431-435f-9180-bae4fdc806a1":{"name":"workflowDefinitionId","in":"path","required":true,"description":"The unique identifier of the workflow definition to create or update","schema":{"type":"string","example":"customer-verification-workflow","isRequired":true,"description":"The unique identifier of the workflow definition to create or update","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Request body for creating or updating a workflow definition","required":["id","name","tasks"],"properties":{"id":{"type":"string","description":"Unique identifier for the workflow","example":"customer-verification-workflow","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"name":{"type":"string","description":"Human-readable name for the workflow","example":"Customer Verification Workflow","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"tasks":{"type":"array","description":"Array of workflow tasks","items":{"type":"object","description":"A task within a workflow definition","required":["id","name","configuration"],"properties":{"id":{"type":"string","description":"Unique identifier for the task within the workflow","example":"verify-identity","isRequired":true,"uniqueKey":"tasks.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","description":"Human-readable name for the task","example":"Verify Identity","isRequired":true,"uniqueKey":"tasks.items.[INDEX].name","typeLabel":"string"},"configuration":{"type":"object","description":"Task configuration object. Discriminated by the 'type' field. Supported types: HTTP, BRANCH, LOOP, LOG, WAIT, SET_STATE, PARALLEL, NOTIFICATION, AGENT, SUBFLOW, FORM, RUN_WORKFLOW, STEP.\n","required":["type"],"properties":{"type":{"type":"string","description":"The type of task to execute","enum":["HTTP","BRANCH","LOOP","LOG","WAIT","SET_STATE","PARALLEL","NOTIFICATION","AGENT","SUBFLOW","FORM","RUN_WORKFLOW","STEP"],"isRequired":true,"uniqueKey":"tasks.items.[INDEX].configuration.type","typeLabel":"enum\u003cstring>"}},"additionalProperties":true,"isRequired":true,"uniqueKey":"tasks.items.[INDEX].configuration","typeLabel":"object"},"description":{"type":"string","description":"Optional description of what the task does","example":"Runs identity verification checks against the customer","uniqueKey":"tasks.items.[INDEX].description","typeLabel":"string"},"errorHandling":{"type":"object","description":"Error handling configuration for workflow tasks","properties":{"ignoreErrors":{"type":"boolean","description":"Whether to ignore errors and continue execution","default":false,"uniqueKey":"tasks.items.[INDEX].errorHandling.ignoreErrors","typeLabel":"boolean"},"fallbackState":{"type":"object","description":"State to set when an error occurs","additionalProperties":true,"uniqueKey":"tasks.items.[INDEX].errorHandling.fallbackState","typeLabel":"object"},"retryConfig":{"type":"object","description":"Retry configuration for failed tasks","properties":{"maxAttempts":{"type":"integer","description":"Maximum number of retry attempts","minimum":1,"example":3,"uniqueKey":"tasks.items.[INDEX].errorHandling.retryConfig.maxAttempts","typeLabel":"integer"},"delayMs":{"type":"integer","description":"Delay in milliseconds between retries","minimum":0,"example":1000,"uniqueKey":"tasks.items.[INDEX].errorHandling.retryConfig.delayMs","typeLabel":"integer"},"backoffFactor":{"type":"number","description":"Multiplier applied to delay between successive retries","minimum":1,"example":2,"uniqueKey":"tasks.items.[INDEX].errorHandling.retryConfig.backoffFactor","typeLabel":"number"}},"uniqueKey":"tasks.items.[INDEX].errorHandling.retryConfig","typeLabel":"object"}},"uniqueKey":"tasks.items.[INDEX].errorHandling","typeLabel":"object"}},"uniqueKey":"tasks.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"tasks","typeLabel":"object[]"},"description":{"type":"string","description":"Optional detailed description of the workflow","example":"Workflow to verify new customer identities","uniqueKey":"description","typeLabel":"string"},"owner":{"type":"string","description":"Owner of the workflow","default":"SYSTEM","example":"SYSTEM","uniqueKey":"owner","typeLabel":"string"},"isDraft":{"type":"boolean","description":"true = save as draft (version -1), false = publish new version","default":false,"uniqueKey":"isDraft","typeLabel":"boolean"},"isTemplate":{"type":"boolean","description":"Whether the workflow is a template","default":false,"uniqueKey":"isTemplate","typeLabel":"boolean"},"tags":{"type":"array","description":"Tags associated with the workflow","items":{"type":"string","uniqueKey":"tags.items.[INDEX]","typeLabel":"string"},"default":[],"example":["customer-verification","kyc"],"uniqueKey":"tags","typeLabel":"string[]"},"initialState":{"type":"object","description":"Initial state for the workflow execution","additionalProperties":true,"default":{},"example":{"name":"John Doe","age":30},"uniqueKey":"initialState","typeLabel":"object"},"defaultErrorHandling":{"type":"object","description":"Error handling configuration for workflow tasks","properties":{"ignoreErrors":{"type":"boolean","description":"Whether to ignore errors and continue execution","default":false,"uniqueKey":"defaultErrorHandling.ignoreErrors","typeLabel":"boolean"},"fallbackState":{"type":"object","description":"State to set when an error occurs","additionalProperties":true,"uniqueKey":"defaultErrorHandling.fallbackState","typeLabel":"object"},"retryConfig":{"type":"object","description":"Retry configuration for failed tasks","properties":{"maxAttempts":{"type":"integer","description":"Maximum number of retry attempts","minimum":1,"example":3,"uniqueKey":"defaultErrorHandling.retryConfig.maxAttempts","typeLabel":"integer"},"delayMs":{"type":"integer","description":"Delay in milliseconds between retries","minimum":0,"example":1000,"uniqueKey":"defaultErrorHandling.retryConfig.delayMs","typeLabel":"integer"},"backoffFactor":{"type":"number","description":"Multiplier applied to delay between successive retries","minimum":1,"example":2,"uniqueKey":"defaultErrorHandling.retryConfig.backoffFactor","typeLabel":"number"}},"uniqueKey":"defaultErrorHandling.retryConfig","typeLabel":"object"}},"uniqueKey":"defaultErrorHandling","typeLabel":"object"},"variables":{"type":"array","description":"Workflow-level variables that can be referenced in task configurations using template syntax, these would be validated into the initial state on workflow execution","items":{"type":"object","description":"Workflow variable definition","required":["name","type"],"properties":{"name":{"type":"string","description":"Name of the variable","example":"customerEmail","isRequired":true,"uniqueKey":"variables.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","description":"Type of the variable","default":"STRING","enum":["STRING","NUMBER","BOOLEAN","OBJECT","ARRAY"],"example":"STRING","isRequired":true,"uniqueKey":"variables.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"description":{"type":"string","description":"Description of the variable","example":"Customer's email address","uniqueKey":"variables.items.[INDEX].description","typeLabel":"string"},"example":{"type":"string","description":"Example value of the variable","example":"customer@example.com","uniqueKey":"variables.items.[INDEX].example","typeLabel":"string"},"default":{"type":"string","description":"Default value of the variable if not provided","example":"","uniqueKey":"variables.items.[INDEX].default","typeLabel":"string"}},"uniqueKey":"variables.items.[INDEX]","typeLabel":"object"},"uniqueKey":"variables","typeLabel":"object[]"},"versions":{"type":"array","description":"List of available versions for this workflow definition","items":{"type":"integer","uniqueKey":"versions.items.[INDEX]","typeLabel":"integer"},"example":[1,2,3],"uniqueKey":"versions","typeLabel":"integer[]"},"version":{"description":"The version number of this workflow definition","type":"integer","example":3,"uniqueKey":"version","typeLabel":"integer"},"versionId":{"type":"string","format":"ulid","description":"Version Identifier to refer to","example":"01KCNG5VAH4ZQC5T1H4A2ZZHWA","uniqueKey":"versionId","typeLabel":"string\u003culid>"},"createdAt":{"type":"string","format":"date-time","description":"Timestamp when the workflow definition was first created","example":"2023-01-01T12:00:00Z","uniqueKey":"createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","description":"Timestamp when the workflow definition was last updated","example":"2023-01-02T14:30:00Z","uniqueKey":"updatedAt","typeLabel":"string\u003cdate-time>"},"createdBy":{"type":"string","description":"User who created the workflow definition","example":"John Doe","uniqueKey":"createdBy","typeLabel":"string"},"updatedBy":{"type":"string","description":"User who last updated the workflow definition","example":"Jane Smith","uniqueKey":"updatedBy","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"customer-verification-workflow","name":"Customer Verification Workflow","tasks":[{"id":"verify-identity","name":"Verify Identity","configuration":{},"description":"Runs identity verification checks against the customer","errorHandling":{"ignoreErrors":false,"fallbackState":{},"retryConfig":{"maxAttempts":3,"delayMs":1000,"backoffFactor":2}}}],"description":"Workflow to verify new customer identities","owner":"SYSTEM","isDraft":false,"isTemplate":false,"tags":["customer-verification","kyc"],"initialState":{"name":"John Doe","age":30},"defaultErrorHandling":{"ignoreErrors":false,"fallbackState":{},"retryConfig":{"maxAttempts":3,"delayMs":1000,"backoffFactor":2}},"variables":[{"name":"customerEmail","type":"STRING","description":"Customer's email address","example":"customer@example.com","default":""}],"versions":[1,2,3],"version":3,"versionId":"01KCNG5VAH4ZQC5T1H4A2ZZHWA","createdAt":"2023-01-01T12:00:00Z","updatedAt":"2023-01-02T14:30:00Z","createdBy":"John Doe","updatedBy":"Jane Smith"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"17884bc8-8fdd-4209-9b93-bebd71ac5bb2":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["workflowDefinition"],"properties":{"workflowDefinition":{"type":"object","description":"The created or updated workflow definition","properties":{"id":{"type":"string","description":"Unique identifier for the workflow","example":"customer-verification-workflow","uniqueKey":"workflowDefinition.id","typeLabel":"string"},"name":{"type":"string","description":"Human-readable name for the workflow","example":"Customer Verification Workflow","uniqueKey":"workflowDefinition.name","typeLabel":"string"},"description":{"type":"string","description":"Description of the workflow","uniqueKey":"workflowDefinition.description","typeLabel":"string"},"owner":{"type":"string","description":"Owner of the workflow","example":"SYSTEM","uniqueKey":"workflowDefinition.owner","typeLabel":"string"},"isDraft":{"type":"boolean","description":"Whether the workflow definition is a draft","uniqueKey":"workflowDefinition.isDraft","typeLabel":"boolean"},"version":{"type":"integer","description":"Version number. -1 for draft, positive integer for published","example":1,"uniqueKey":"workflowDefinition.version","typeLabel":"integer"},"versions":{"type":"array","description":"List of available versions for this workflow definition","items":{"type":"integer","uniqueKey":"workflowDefinition.versions.items.[INDEX]","typeLabel":"integer"},"example":[1,2,3],"uniqueKey":"workflowDefinition.versions","typeLabel":"integer[]"},"versionId":{"type":"string","format":"ulid","description":"Version identifier","example":"01KCNG5VAH4ZQC5T1H4A2ZZHWA","uniqueKey":"workflowDefinition.versionId","typeLabel":"string\u003culid>"},"tags":{"type":"array","description":"Tags associated with the workflow","items":{"type":"string","uniqueKey":"workflowDefinition.tags.items.[INDEX]","typeLabel":"string"},"uniqueKey":"workflowDefinition.tags","typeLabel":"string[]"},"tasks":{"type":"array","description":"Tasks in the workflow","items":{"type":"object","additionalProperties":true,"uniqueKey":"workflowDefinition.tasks.items.[INDEX]","typeLabel":"object"},"uniqueKey":"workflowDefinition.tasks","typeLabel":"object[]"},"variables":{"type":"array","description":"Workflow-level variables","items":{"type":"object","additionalProperties":true,"uniqueKey":"workflowDefinition.variables.items.[INDEX]","typeLabel":"object"},"uniqueKey":"workflowDefinition.variables","typeLabel":"object[]"},"createdAt":{"type":"string","format":"date-time","description":"Timestamp when the workflow definition was first created","example":"2023-01-01T12:00:00Z","uniqueKey":"workflowDefinition.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","description":"Timestamp when the workflow definition was last updated","example":"2023-01-02T14:30:00Z","uniqueKey":"workflowDefinition.updatedAt","typeLabel":"string\u003cdate-time>"},"createdBy":{"type":"string","description":"User who created the workflow definition","example":"John Doe","uniqueKey":"workflowDefinition.createdBy","typeLabel":"string"},"updatedBy":{"type":"string","description":"User who last updated the workflow definition","example":"Jane Smith","uniqueKey":"workflowDefinition.updatedBy","typeLabel":"string"}},"isRequired":true,"uniqueKey":"workflowDefinition","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"workflowDefinition":{"id":"customer-verification-workflow","name":"Customer Verification Workflow","description":"\u003cstring>","owner":"SYSTEM","isDraft":true,"version":1,"versions":[1,2,3],"versionId":"01KCNG5VAH4ZQC5T1H4A2ZZHWA","tags":["\u003cstring>"],"tasks":[{}],"variables":[{}],"createdAt":"2023-01-01T12:00:00Z","updatedAt":"2023-01-02T14:30:00Z","createdBy":"John Doe","updatedBy":"Jane Smith"}}}},"exampleType":"generated"}},"exampleType":"generated"},"078e9fb3-ffe4-403e-9c76-cc1f5461c2cb":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","x-examples":{"400":{"requestId":"0123456789ABCDEFGHIJKLMNOP","errorCode":"API-0400","errorMsg":"Parsing credentials from \"\u003cinvalid>\" failed, because invalid.","httpStatusCode":400},"401":{"requestId":"0123456789ABCDEFGHIJKLMNOP","errorCode":"API-0401","errorMsg":"Unauthenticated due to invalid credentials.","httpStatusCode":401},"409":{"requestId":"0123456789ABCDEFGHIJKLMNOP","errorCode":"API-0409","errorMsg":"Conflict.","httpStatusCode":409}},"properties":{"errorCode":{"type":"string","uniqueKey":"errorCode","typeLabel":"string"},"errorMsg":{"type":"string","uniqueKey":"errorMsg","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","properties":{"issue":{"type":"string","description":"Description of the issue.","uniqueKey":"details.items.[INDEX].issue","typeLabel":"string"},"issueLocation":{"type":"string","description":"The location or context where the issue was identified.","uniqueKey":"details.items.[INDEX].issueLocation","typeLabel":"string"},"issueType":{"type":"string","description":"The type or category of the issue.","uniqueKey":"details.items.[INDEX].issueType","typeLabel":"string"}},"uniqueKey":"details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"details","typeLabel":"object[]"},"requestId":{"type":"string","example":"01HN9XHZN6MGXM9JXG50K59Q85","description":"The unique request identifier for the API call made.","uniqueKey":"requestId","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Invalid EntityId":{"title":"Invalid EntityId","value":{"errorCode":"API-0400,","errorMsg":"Multiple Errors: See Issues list","details":[{"issue":"entityId in path must be of type uuid: \"test\"","issueLocation":"VALIDATE-entityId"}],"requestId":"01HM5XJ7VASZ3EJMB1VQGTBFJ4"}}},"exampleType":"examples"}},"exampleType":"examples"},"45aa9dea-04cf-4969-9d94-68264c2867f1":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","x-examples":{"400":{"requestId":"0123456789ABCDEFGHIJKLMNOP","errorCode":"API-0400","errorMsg":"Parsing credentials from \"\u003cinvalid>\" failed, because invalid.","httpStatusCode":400},"401":{"requestId":"0123456789ABCDEFGHIJKLMNOP","errorCode":"API-0401","errorMsg":"Unauthenticated due to invalid credentials.","httpStatusCode":401},"409":{"requestId":"0123456789ABCDEFGHIJKLMNOP","errorCode":"API-0409","errorMsg":"Conflict.","httpStatusCode":409}},"properties":{"errorCode":{"type":"string","uniqueKey":"errorCode","typeLabel":"string"},"errorMsg":{"type":"string","uniqueKey":"errorMsg","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","properties":{"issue":{"type":"string","description":"Description of the issue.","uniqueKey":"details.items.[INDEX].issue","typeLabel":"string"},"issueLocation":{"type":"string","description":"The location or context where the issue was identified.","uniqueKey":"details.items.[INDEX].issueLocation","typeLabel":"string"},"issueType":{"type":"string","description":"The type or category of the issue.","uniqueKey":"details.items.[INDEX].issueType","typeLabel":"string"}},"uniqueKey":"details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"details","typeLabel":"object[]"},"requestId":{"type":"string","example":"01HN9XHZN6MGXM9JXG50K59Q85","description":"The unique request identifier for the API call made.","uniqueKey":"requestId","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Invalid authentication":{"title":"Invalid authentication","value":{"errorCode":"AUTH-0002,","errorMsg":"Unauthorized","details":[{"issue":"Invalid Authentication provided. Access denied.","issueLocation":"request"}],"requestId":"00000000S6MNG7624K2TDXT1E3"}},"No Api-Key":{"title":"No Api-Key","value":{"errorCode":"AUTH-0401","errorMsg":"Unauthorized","details":[{"issue":"No api key provided. Access denied.","issueLocation":"request"}],"requestId":"00000001S6MNG7624K2TDXT1E3"}}},"exampleType":"examples"}},"exampleType":"examples"},"1ccd7cab-19db-4e7b-8196-6af79929a3af":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","x-examples":{"400":{"requestId":"0123456789ABCDEFGHIJKLMNOP","errorCode":"API-0400","errorMsg":"Parsing credentials from \"\u003cinvalid>\" failed, because invalid.","httpStatusCode":400},"401":{"requestId":"0123456789ABCDEFGHIJKLMNOP","errorCode":"API-0401","errorMsg":"Unauthenticated due to invalid credentials.","httpStatusCode":401},"409":{"requestId":"0123456789ABCDEFGHIJKLMNOP","errorCode":"API-0409","errorMsg":"Conflict.","httpStatusCode":409}},"properties":{"errorCode":{"type":"string","uniqueKey":"errorCode","typeLabel":"string"},"errorMsg":{"type":"string","uniqueKey":"errorMsg","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","properties":{"issue":{"type":"string","description":"Description of the issue.","uniqueKey":"details.items.[INDEX].issue","typeLabel":"string"},"issueLocation":{"type":"string","description":"The location or context where the issue was identified.","uniqueKey":"details.items.[INDEX].issueLocation","typeLabel":"string"},"issueType":{"type":"string","description":"The type or category of the issue.","uniqueKey":"details.items.[INDEX].issueType","typeLabel":"string"}},"uniqueKey":"details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"details","typeLabel":"object[]"},"requestId":{"type":"string","example":"01HN9XHZN6MGXM9JXG50K59Q85","description":"The unique request identifier for the API call made.","uniqueKey":"requestId","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"errorCode":"\u003cstring>","errorMsg":"\u003cstring>","details":[{"issue":"\u003cstring>","issueLocation":"\u003cstring>","issueType":"\u003cstring>"}],"requestId":"01HN9XHZN6MGXM9JXG50K59Q85"}}},"exampleType":"generated"}},"exampleType":"generated"},"c2ac5f15-0478-48c3-becd-e48622a80618":{"description":"Internal Server Error","content":{"application/json":{"schema":{"type":"object","x-examples":{"400":{"requestId":"0123456789ABCDEFGHIJKLMNOP","errorCode":"API-0400","errorMsg":"Parsing credentials from \"\u003cinvalid>\" failed, because invalid.","httpStatusCode":400},"401":{"requestId":"0123456789ABCDEFGHIJKLMNOP","errorCode":"API-0401","errorMsg":"Unauthenticated due to invalid credentials.","httpStatusCode":401},"409":{"requestId":"0123456789ABCDEFGHIJKLMNOP","errorCode":"API-0409","errorMsg":"Conflict.","httpStatusCode":409}},"properties":{"errorCode":{"type":"string","uniqueKey":"errorCode","typeLabel":"string"},"errorMsg":{"type":"string","uniqueKey":"errorMsg","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","properties":{"issue":{"type":"string","description":"Description of the issue.","uniqueKey":"details.items.[INDEX].issue","typeLabel":"string"},"issueLocation":{"type":"string","description":"The location or context where the issue was identified.","uniqueKey":"details.items.[INDEX].issueLocation","typeLabel":"string"},"issueType":{"type":"string","description":"The type or category of the issue.","uniqueKey":"details.items.[INDEX].issueType","typeLabel":"string"}},"uniqueKey":"details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"details","typeLabel":"object[]"},"requestId":{"type":"string","example":"01HN9XHZN6MGXM9JXG50K59Q85","description":"The unique request identifier for the API call made.","uniqueKey":"requestId","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"errorCode":"\u003cstring>","errorMsg":"\u003cstring>","details":[{"issue":"\u003cstring>","issueLocation":"\u003cstring>","issueType":"\u003cstring>"}],"requestId":"01HN9XHZN6MGXM9JXG50K59Q85"}}},"exampleType":"generated"}},"exampleType":"generated"},"0bd56db2-0f83-4c14-a021-306678c6a3b9":{"description":"Bad Gateway","content":{"application/json":{"schema":{"type":"object","x-examples":{"400":{"requestId":"0123456789ABCDEFGHIJKLMNOP","errorCode":"API-0400","errorMsg":"Parsing credentials from \"\u003cinvalid>\" failed, because invalid.","httpStatusCode":400},"401":{"requestId":"0123456789ABCDEFGHIJKLMNOP","errorCode":"API-0401","errorMsg":"Unauthenticated due to invalid credentials.","httpStatusCode":401},"409":{"requestId":"0123456789ABCDEFGHIJKLMNOP","errorCode":"API-0409","errorMsg":"Conflict.","httpStatusCode":409}},"properties":{"errorCode":{"type":"string","uniqueKey":"errorCode","typeLabel":"string"},"errorMsg":{"type":"string","uniqueKey":"errorMsg","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","properties":{"issue":{"type":"string","description":"Description of the issue.","uniqueKey":"details.items.[INDEX].issue","typeLabel":"string"},"issueLocation":{"type":"string","description":"The location or context where the issue was identified.","uniqueKey":"details.items.[INDEX].issueLocation","typeLabel":"string"},"issueType":{"type":"string","description":"The type or category of the issue.","uniqueKey":"details.items.[INDEX].issueType","typeLabel":"string"}},"uniqueKey":"details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"details","typeLabel":"object[]"},"requestId":{"type":"string","example":"01HN9XHZN6MGXM9JXG50K59Q85","description":"The unique request identifier for the API call made.","uniqueKey":"requestId","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"errorCode":"\u003cstring>","errorMsg":"\u003cstring>","details":[{"issue":"\u003cstring>","issueLocation":"\u003cstring>","issueType":"\u003cstring>"}],"requestId":"01HN9XHZN6MGXM9JXG50K59Q85"}}},"exampleType":"generated"}},"exampleType":"generated"},"e6c68a0e-3e74-4c79-8f12-5d255f567d2f":{"description":"Service Unavailable","content":{"application/json":{"schema":{"type":"object","x-examples":{"400":{"requestId":"0123456789ABCDEFGHIJKLMNOP","errorCode":"API-0400","errorMsg":"Parsing credentials from \"\u003cinvalid>\" failed, because invalid.","httpStatusCode":400},"401":{"requestId":"0123456789ABCDEFGHIJKLMNOP","errorCode":"API-0401","errorMsg":"Unauthenticated due to invalid credentials.","httpStatusCode":401},"409":{"requestId":"0123456789ABCDEFGHIJKLMNOP","errorCode":"API-0409","errorMsg":"Conflict.","httpStatusCode":409}},"properties":{"errorCode":{"type":"string","uniqueKey":"errorCode","typeLabel":"string"},"errorMsg":{"type":"string","uniqueKey":"errorMsg","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","properties":{"issue":{"type":"string","description":"Description of the issue.","uniqueKey":"details.items.[INDEX].issue","typeLabel":"string"},"issueLocation":{"type":"string","description":"The location or context where the issue was identified.","uniqueKey":"details.items.[INDEX].issueLocation","typeLabel":"string"},"issueType":{"type":"string","description":"The type or category of the issue.","uniqueKey":"details.items.[INDEX].issueType","typeLabel":"string"}},"uniqueKey":"details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"details","typeLabel":"object[]"},"requestId":{"type":"string","example":"01HN9XHZN6MGXM9JXG50K59Q85","description":"The unique request identifier for the API call made.","uniqueKey":"requestId","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"errorCode":"\u003cstring>","errorMsg":"\u003cstring>","details":[{"issue":"\u003cstring>","issueLocation":"\u003cstring>","issueType":"\u003cstring>"}],"requestId":"01HN9XHZN6MGXM9JXG50K59Q85"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"d4e40c4a-766f-4b42-8133-13d9bd3012f6":{"Api-Key":{"type":"apiKey","in":"header","name":"api_key","description":"","scopes":[],"schemeName":"Api-Key"}},"ddda0ce1-57f3-4568-9132-a8e20ebf7b19":{"jwt":{"type":"http","scheme":"bearer","bearerFormat":"JWT","scopes":["kyc:api","write:kyc:api","core:api","write:core:api"],"schemeName":"jwt"}}},"servers":{"05bd3718-bd68-4f1c-8c0b-5ea34aa702d5":{"url":"https://api.uat.frankie.one","description":"UAT Environment API Base URL"},"228ae65e-2abe-4ad3-aa39-d17ab1390d12":{"url":"https://api.frankie.one","description":"Production API Base URL"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"api_key","description":"","scopes":[],"schemeName":"Api-Key"},"schema":{"title":"api_key","type":"string","description":"","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"Api-Key","name":"api_key"}],"title":"Api-Key"},{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","scopes":["kyc:api","write:kyc:api","core:api","write:core:api"],"schemeName":"jwt"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"jwt","name":"Authorization"}],"title":"jwt"}]},"originalFileLocation":"specs/fc-core-bundled_generated.yaml"},"subdomain":"frankieone-f5583b1b","siteName":"frankieone","title":"Create or update a workflow definition - frankieone","navMaps":{"firstHrefInVersion":{"v2":{"href":"/api-reference/workflow-definitions/create-or-update-a-workflow-definition","matchLevel":0},"v1":{"href":"/docs/v1/introduction/getting-started/welcome-to-frankie","matchLevel":4}},"firstHrefInLanguage":{}},"lastModified":"2026-10-14T22:12:24.685Z","originalFileLocation":"api-reference/workflow-definitions/create-or-update-a-workflow-definition.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"system\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Forwards the request to the FLOW Workflow Engine to create or update a workflow definition. The request body and headers are forwarded as-is to the upstream service. When isDraft is true, the definition is saved as a draft (version -1). When isDraft is false, a new published version is created.\">\u003cmeta data-mint-head name=\"application-name\" content=\"frankieone\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/frankieone-f5583b1b/_v96DLwTWBa7bG-i/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/frankieone-f5583b1b/_v96DLwTWBa7bG-i/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/frankieone-f5583b1b/_v96DLwTWBa7bG-i/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/frankieone-f5583b1b/_v96DLwTWBa7bG-i/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/frankieone-f5583b1b/_v96DLwTWBa7bG-i/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/frankieone-f5583b1b/_v96DLwTWBa7bG-i/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/frankieone-f5583b1b/_v96DLwTWBa7bG-i/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/frankieone-f5583b1b/_v96DLwTWBa7bG-i/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/frankieone-f5583b1b/_v96DLwTWBa7bG-i/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create or update a workflow definition - frankieone\">\u003cmeta data-mint-head property=\"og:description\" content=\"Forwards the request to the FLOW Workflow Engine to create or update a workflow definition. The request body and headers are forwarded as-is to the upstream service. When isDraft is true, the definition is saved as a draft (version -1). When isDraft is false, a new published version is created.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"frankieone\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.frankieone.com/api-reference/workflow-definitions/create-or-update-a-workflow-definition\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://frankieone-f5583b1b.mintlify.app/_mintlify/api/og/v2?division=Workflow+Definitions\u0026amp;title=Create+or+update+a+workflow+definition\u0026amp;description=Forwards+the+request+to+the+FLOW+Workflow+Engine+to+create+or+update+a+workflow+definition.+The+request+body+and+headers+are+forwarded+as-is+to+the+upstream+ser\u0026amp;theme=c47e43939fad196e0932957d\u0026amp;signature=a03b183b81b7fe2e5c710ae5aef0d5e08136994301e3384adef5891aaa4ebd3e\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create or update a workflow definition - frankieone\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Forwards the request to the FLOW Workflow Engine to create or update a workflow definition. The request body and headers are forwarded as-is to the upstream service. When isDraft is true, the definition is saved as a draft (version -1). When isDraft is false, a new published version is created.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://frankieone-f5583b1b.mintlify.app/_mintlify/api/og/v2?division=Workflow+Definitions\u0026amp;title=Create+or+update+a+workflow+definition\u0026amp;description=Forwards+the+request+to+the+FLOW+Workflow+Engine+to+create+or+update+a+workflow+definition.+The+request+body+and+headers+are+forwarded+as-is+to+the+upstream+ser\u0026amp;theme=c47e43939fad196e0932957d\u0026amp;signature=a03b183b81b7fe2e5c710ae5aef0d5e08136994301e3384adef5891aaa4ebd3e\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/frankieone-f5583b1b/_v96DLwTWBa7bG-i/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"frankieone\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1A6CFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.frankieone.com/api-reference/workflow-definitions/create-or-update-a-workflow-definition\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/workflow-definitions/create-or-update-a-workflow-definition.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.frankieone.com/#organization\",\"name\":\"frankieone\",\"url\":\"https://docs.frankieone.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/frankieone-f5583b1b/xa9j0sUrNjbbzTyf/logo/light.svg?fit=max\u0026auto=format\u0026n=xa9j0sUrNjbbzTyf\u0026q=85\u0026s=21923909c20fa1b38b317371ccac6e33\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.frankieone.com#website\",\"name\":\"frankieone\",\"url\":\"https://docs.frankieone.com\",\"publisher\":{\"@id\":\"https://docs.frankieone.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.frankieone.com/api-reference/workflow-definitions/create-or-update-a-workflow-definition#webpage\",\"url\":\"https://docs.frankieone.com/api-reference/workflow-definitions/create-or-update-a-workflow-definition\",\"name\":\"Create or update a workflow definition\",\"description\":\"Forwards the request to the FLOW Workflow Engine to create or update a workflow definition. The request body and headers are forwarded as-is to the upstream service. When isDraft is true, the definition is saved as a draft (version -1). When isDraft is false, a new published version is created.\",\"dateModified\":\"2026-10-14T22:12:24.685Z\",\"isPartOf\":{\"@id\":\"https://docs.frankieone.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.frankieone.com/api-reference/workflow-definitions/create-or-update-a-workflow-definition#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.frankieone.com/api-reference/workflow-definitions/create-or-update-a-workflow-definition#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Core V2 API\",\"item\":\"https://docs.frankieone.com/api-reference/audit/list-audit-events\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create or update a workflow definition\",\"item\":\"https://docs.frankieone.com/api-reference/workflow-definitions/create-or-update-a-workflow-definition\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.frankieone.com/api-reference/workflow-definitions/create-or-update-a-workflow-definition#apireference\",\"headline\":\"Create or update a workflow definition\",\"name\":\"Create or update a workflow definition\",\"description\":\"Forwards the request to the FLOW Workflow Engine to create or update a workflow definition. The request body and headers are forwarded as-is to the upstream service. When isDraft is true, the definition is saved as a draft (version -1). When isDraft is false, a new published version is created.\",\"url\":\"https://docs.frankieone.com/api-reference/workflow-definitions/create-or-update-a-workflow-definition\",\"mainEntityOfPage\":{\"@id\":\"https://docs.frankieone.com/api-reference/workflow-definitions/create-or-update-a-workflow-definition#webpage\"},\"dateModified\":\"2026-10-14T22:12:24.685Z\",\"publisher\":{\"@id\":\"https://docs.frankieone.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.frankieone.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"frankieone\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"frankieone","nav":{"global":{"anchors":[{"anchor":"Service Status","icon":"signal","href":"https://status.frankieone.com"},{"anchor":"Blog","icon":"newspaper","href":"https://frankieone.com/frankieone-blog"}]},"versions":[{"version":"v2","tabs":[{"tab":"Introduction","icon":"book","pages":[{"title":"Introduction","href":"/v2/introduction/overview"}]},{"tab":"KYC","icon":"user-group","pages":[{"title":"KYC","href":"/docs/frankieone-introduction-to-kyc"}]},{"tab":"KYB","icon":"building","pages":[{"title":"KYB","href":"/docs/introduction-to-kyb"}]},{"tab":"Fraud and Transaction Monitoring","icon":"shield-halved","pages":[{"title":"Fraud and Transaction Monitoring","href":"/v2/docs/tm/fraud-and-transaction-monitoring-introduction"}]},{"tab":"OneSDK","icon":"display-code","pages":[{"title":"OneSDK","href":"/docs/about-onesdk"}]},{"tab":"Portal","icon":"credit-card","pages":[{"title":"Portal","href":"/docs/getting-started-with-the-frankieone-portal"}]},{"tab":"API","icon":"terminal","pages":[{"group":"Introduction","pages":[{"title":"Introduction to FrankieOne API","href":"/v2/api/introduction/introduction-to-frankie-one-api"},{"title":"Authentication","href":"/docs/reference/authentication"},{"group":"Errors","pages":[{"title":"Errors","sidebarTitle":"Overview","href":"/docs/reference/errors"},{"title":"API Error Codes","href":"/docs/reference/error-codes"}]},{"title":"Data Sources Codes","href":"/docs/reference/datasource-codes"},{"title":"UAT Test Data","sidebarTitle":"UAT Test Data","href":"/docs/uat-test-data"},{"title":"API Testing Tips","href":"/v2/api/developers/api-testing-guide"},{"title":"KYC API Enums Reference","href":"/docs/reference/kyc-enums"},{"title":"API endpoints","href":"/docs/reference/api-endpoints"},{"title":"Outbound IP addresses","href":"/docs/reference/outbound-ip-addresses"},{"title":"Risk Factors","sidebarTitle":"Risk Factors","hidden":false,"href":"/docs/risk-factors"},{"title":"Event Notifications \u0026 Webhooks","sidebarTitle":"Webhooks \u0026 Event Notifications","href":"/docs/reference/webhooks"},{"title":"API Versioning","href":"/v2/api/introduction/api-versioning"},{"title":"Resources","href":"/docs/introduction/resources"}]},{"group":"KYC V2 API","pages":[{"group":"Individual Entities","pages":[{"title":"Create an individual entity","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml post /v2/individuals","href":"/api-reference/individual-entities/create-an-individual-entity"},{"title":"Get an individual entity","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml get /v2/individuals/{entityId}","href":"/api-reference/individual-entities/get-an-individual-entity"},{"title":"Delete an individual entity","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml delete /v2/individuals/{entityId}","href":"/api-reference/individual-entities/delete-an-individual-entity"},{"title":"Update an individual entity","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml patch /v2/individuals/{entityId}","href":"/api-reference/individual-entities/update-an-individual-entity"}]},{"group":"Individual Workflows","pages":[{"title":"Get a list of executable workflows","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml get /v2/workflows","href":"/api-reference/individual-workflows/get-a-list-of-executable-workflows"},{"title":"Create an individual and execute a workflow for the given service profile","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml post /v2/individuals/new/serviceprofiles/{serviceName}/workflows/{workflowName}/execute","href":"/api-reference/individual-workflows/create-an-individual-and-execute-a-workflow-for-the-given-service-profile"},{"title":"Execute a workflow for the given service profile","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml post /v2/individuals/{entityId}/serviceprofiles/{serviceName}/workflows/{workflowName}/execute","href":"/api-reference/individual-workflows/execute-a-workflow-for-the-given-service-profile"},{"title":"Evaluate a workflow for the given service profile using existing results","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml post /v2/individuals/{entityId}/serviceprofiles/{serviceName}/workflows/{workflowName}/evaluate","href":"/api-reference/individual-workflows/evaluate-a-workflow-for-the-given-service-profile-using-existing-results"},{"title":"Get a list of executions and their results","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml get /v2/individuals/{entityId}/serviceprofiles/{serviceName}/workflows/{workflowName}/executions","href":"/api-reference/individual-workflows/get-a-list-of-executions-and-their-results"},{"title":"Get the result of a specific execution by its executionId.","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml get /v2/individuals/{entityId}/serviceprofiles/{serviceName}/workflows/{workflowName}/executions/{workflowExecutionId}","href":"/api-reference/individual-workflows/get-the-result-of-a-specific-execution-by-its-executionid"},{"title":"Override the status of a specific workflow execution.","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml patch /v2/individuals/{entityId}/serviceprofiles/{serviceName}/workflows/{workflowName}/executions/{workflowExecutionId}","href":"/api-reference/individual-workflows/override-the-status-of-a-specific-workflow-execution"}]},{"group":"Individual Profiles","pages":[{"title":"Get a service profile for a given individual entity.","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml get /v2/individuals/{entityId}/serviceprofiles/{serviceName}","href":"/api-reference/individual-profiles/get-a-service-profile-for-a-given-individual-entity"},{"title":"Update a profile for a given individual entity.","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml patch /v2/individuals/{entityId}/serviceprofiles/{serviceName}","href":"/api-reference/individual-profiles/update-a-profile-for-a-given-individual-entity"}]},{"group":"Individual Results","pages":[{"title":"Approve Manual KYC for an individual","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml post /v2/individuals/{entityId}/results/mkyc","href":"/api-reference/individual-results/approve-manual-kyc-for-an-individual"},{"title":"Invalidate any Manual KYC evidences of an individual","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml post /v2/individuals/{entityId}/results/mkyc/invalidate","href":"/api-reference/individual-results/invalidate-any-manual-kyc-evidences-of-an-individual"},{"title":"Update the status of AML process results","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml patch /v2/individuals/{entityId}/results/aml","href":"/api-reference/individual-results/update-the-status-of-aml-process-results"},{"title":"Update the status of IDV process results","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml patch /v2/individuals/{entityId}/results/idv","href":"/api-reference/individual-results/update-the-status-of-idv-process-results"},{"title":"Update the status of Matchlist process results","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml patch /v2/individuals/{entityId}/results/matchlist","href":"/api-reference/individual-results/update-the-status-of-matchlist-process-results"},{"title":"Update the status of Duplicate process results","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml patch /v2/individuals/{entityId}/results/duplicate","href":"/api-reference/individual-results/update-the-status-of-duplicate-process-results"},{"title":"Update the status of Fraud process results","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml patch /v2/individuals/{entityId}/results/fraud","href":"/api-reference/individual-results/update-the-status-of-fraud-process-results"},{"title":"Get a list of process results","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml get /v2/individuals/{entityId}/results","href":"/api-reference/individual-results/get-a-list-of-process-results"},{"title":"Get a process result","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml get /v2/individuals/{entityId}/results/{processResultId}","href":"/api-reference/individual-results/get-a-process-result"},{"title":"Update the status of a supporting document","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml patch /v2/individuals/{entityId}/documents/{documentId}/status","href":"/api-reference/individual-results/update-the-status-of-a-supporting-document"}]},{"group":"Individual Entity Elements","pages":[{"title":"Delete a name","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml delete /v2/individuals/{entityId}/names/{nameId}","href":"/api-reference/individual-entity-elements/delete-a-name"},{"title":"Delete a date of birth","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml delete /v2/individuals/{entityId}/datesOfBirth/{dateOfBirthId}","href":"/api-reference/individual-entity-elements/delete-a-date-of-birth"},{"title":"Delete an address","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml delete /v2/individuals/{entityId}/addresses/{addressId}","href":"/api-reference/individual-entity-elements/delete-an-address"},{"title":"Delete an email address","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml delete /v2/individuals/{entityId}/emailaddresses/{emailAddressId}","href":"/api-reference/individual-entity-elements/delete-an-email-address"},{"title":"Delete phone number","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml delete /v2/individuals/{entityId}/phonenumbers/{phoneNumberId}","href":"/api-reference/individual-entity-elements/delete-phone-number"},{"title":"Withdraw a previously provided consent","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml delete /v2/individuals/{entityId}/consents/{consentType}","href":"/api-reference/individual-entity-elements/withdraw-a-previously-provided-consent"},{"title":"Get a list of external references","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml get /v2/individuals/{entityId}/externalreferences","href":"/api-reference/individual-entity-elements/get-a-list-of-external-references"},{"title":"Delete an external reference","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml delete /v2/individuals/{entityId}/externalreferences/{referenceId}","href":"/api-reference/individual-entity-elements/delete-an-external-reference"}]},{"group":"Search","pages":[{"title":"Search for individual profiles","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml post /v2/search/serviceprofiles","href":"/api-reference/search/search-for-individual-profiles"}]},{"group":"Individual Documents","pages":[{"title":"Get all documents for an entity","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml get /v2/individuals/{entityId}/documents","href":"/api-reference/individual-documents/get-all-documents-for-an-entity"},{"title":"Create a new document for an individual.","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml post /v2/individuals/{entityId}/documents","href":"/api-reference/individual-documents/create-a-new-document-for-an-individual"},{"title":"Get a single document by its id.","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml get /v2/individuals/{entityId}/documents/{documentId}","href":"/api-reference/individual-documents/get-a-single-document-by-its-id"},{"title":"Delete a document","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml delete /v2/individuals/{entityId}/documents/{documentId}","href":"/api-reference/individual-documents/delete-a-document"},{"title":"Update a single document by its id.","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml patch /v2/individuals/{entityId}/documents/{documentId}","href":"/api-reference/individual-documents/update-a-single-document-by-its-id"},{"title":"Delete an attachment","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml delete /v2/individuals/{entityId}/documents/{documentId}/attachments/{attachmentId}","href":"/api-reference/individual-documents/delete-an-attachment"}]},{"group":"Individual Risks","pages":[{"title":"Update an individual entity's risk level for a service profile.","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml patch /v2/individuals/{entityId}/serviceprofiles/{serviceName}/risk","href":"/api-reference/individual-risks/update-an-individual-entitys-risk-level-for-a-service-profile"}]},{"group":"Monitoring","pages":[{"title":"Turn on/off monitoring for a given entity","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml patch /v2/individuals/{entityId}/monitor","href":"/api-reference/monitoring/turn-onoff-monitoring-for-a-given-entity"}]},{"group":"IDV","pages":[{"title":"Get an IDV Token for the given individual.","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml post /v2/individuals/{entityId}/actions/idv/token","href":"/api-reference/idv/get-an-idv-token-for-the-given-individual"},{"title":"Submit an identity document photo for ocr processing. Results will be in the form of an identity document with populated with ocr results.","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml post /v2/individuals/{entityId}/actions/idv/ocr","href":"/api-reference/idv/submit-an-identity-document-photo-for-ocr-processing-results-will-be-in-the-form-of-an-identity-document-with-populated-with-ocr-results"},{"title":"At the end of the IDV data capture process with all photos and videos captured, signal to IDV provider that check is ready to analyse and check.","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml post /v2/individuals/{entityId}/actions/idv/process","href":"/api-reference/idv/at-the-end-of-the-idv-data-capture-process-with-all-photos-and-videos-captured-signal-to-idv-provider-that-check-is-ready-to-analyse-and-check"},{"title":"At the end of the IDV data capture process with all photos and videos captured, signal to IDV provider that check is ready to analyse and check.","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml post /v2/individuals/{entityId}/actions/idv/checkstatus","href":"/api-reference/idv/at-the-end-of-the-idv-data-capture-process-with-all-photos-and-videos-captured-signal-to-idv-provider-that-check-is-ready-to-analyse-and-check-1"}]},{"group":"HostedURL","pages":[{"title":"Provide hosted url for a hosted version of onesdk.","deprecated":null,"version":null,"openapi":"/specs/fc-kyc-bundled_generated.yaml post /v2/individuals/hostedurl","href":"/api-reference/hostedurl/provide-hosted-url-for-a-hosted-version-of-onesdk"}]}]},{"group":"Transaction and Activity Monitoring V2 API","pages":[{"group":"Activities","pages":[{"title":"Evaluate an activity","deprecated":null,"version":null,"openapi":"/specs/fc-act-bundled_generated.yaml post /v2/activities","href":"/api-reference/activities/evaluate-an-activity"},{"title":"Classify activities","deprecated":null,"version":null,"openapi":"/specs/fc-act-bundled_generated.yaml post /v2/activities/classify","href":"/api-reference/activities/classify-activities"},{"title":"Get Individual Activities","deprecated":null,"version":null,"openapi":"/specs/fc-act-bundled_generated.yaml get /v2/individuals/{entityId}/activities","href":"/api-reference/activities/get-individual-activities"},{"title":"Get Organization Activities","deprecated":null,"version":null,"openapi":"/specs/fc-act-bundled_generated.yaml get /v2/organizations/{entityId}/activities","href":"/api-reference/activities/get-organization-activities"}]},{"group":"Results","pages":[{"title":"Update Results","deprecated":null,"version":null,"openapi":"/specs/fc-act-bundled_generated.yaml patch /v2/individuals/{entityId}/results/activity","href":"/api-reference/results/update-results"},{"title":"Update Organization Results","deprecated":null,"version":null,"openapi":"/specs/fc-act-bundled_generated.yaml patch /v2/organizations/{entityId}/results/activity","href":"/api-reference/results/update-organization-results"}]},{"group":"Sessions","pages":[{"title":"Create Individual Session.\n","deprecated":null,"version":null,"openapi":"/specs/fc-act-bundled_generated.yaml post /v2/individuals/{entityId}/sessions","href":"/api-reference/sessions/create-individual-session"}]}]},{"group":"KYB V2 API","pages":[{"group":"Organizations","pages":[{"title":"Lookup organizations","deprecated":null,"version":null,"openapi":"/specs/fc-kyb-bundled_generated.yaml post /v2/organizations/lookup","href":"/api-reference/organizations/lookup-organizations"},{"title":"Get an organization entity","deprecated":null,"version":null,"openapi":"/specs/fc-kyb-bundled_generated.yaml get /v2/organizations/{entityId}","href":"/api-reference/organizations/get-an-organization-entity"},{"title":"Delete an organization entity","deprecated":null,"version":null,"openapi":"/specs/fc-kyb-bundled_generated.yaml delete /v2/organizations/{entityId}","href":"/api-reference/organizations/delete-an-organization-entity"},{"title":"Update basic attributes of an organization entity","deprecated":null,"version":null,"openapi":"/specs/fc-kyb-bundled_generated.yaml patch /v2/organizations/{entityId}","href":"/api-reference/organizations/update-basic-attributes-of-an-organization-entity"},{"title":"Create an organization entity","deprecated":null,"version":null,"openapi":"/specs/fc-kyb-bundled_generated.yaml post /v2/organizations","href":"/api-reference/organizations/create-an-organization-entity"}]},{"group":"Organization Workflows","pages":[{"title":"Execute a workflow with organization details","deprecated":null,"version":null,"openapi":"/specs/fc-kyb-bundled_generated.yaml post /v2/organizations/workflows/{workflowName}/execute","href":"/api-reference/organization-workflows/execute-a-workflow-with-organization-details"},{"title":"Execute a workflow for the given orgnaization entityId","deprecated":null,"version":null,"openapi":"/specs/fc-kyb-bundled_generated.yaml post /v2/organizations/{entityId}/serviceprofiles/{serviceName}/workflows/{workflowName}/execute","href":"/api-reference/organization-workflows/execute-a-workflow-for-the-given-orgnaization-entityid"},{"title":"Evaluate a workflow for the given organization entityId using existing results","deprecated":null,"version":null,"openapi":"/specs/fc-kyb-bundled_generated.yaml post /v2/organizations/{entityId}/serviceprofiles/{serviceName}/workflows/{workflowName}/evaluate","href":"/api-reference/organization-workflows/evaluate-a-workflow-for-the-given-organization-entityid-using-existing-results"},{"title":"Get the result of a specific execution by its executionId","deprecated":null,"version":null,"openapi":"/specs/fc-kyb-bundled_generated.yaml get /v2/organizations/{entityId}/serviceprofiles/{serviceName}/workflows/{workflowName}/executions/{workflowExecutionId}","href":"/api-reference/organization-workflows/get-the-result-of-a-specific-execution-by-its-executionid"},{"title":"Get a list of executions and their results","deprecated":null,"version":null,"openapi":"/specs/fc-kyb-bundled_generated.yaml get /v2/organizations/{entityId}/serviceprofiles/{serviceName}/workflows/{workflowName}/executions","href":"/api-reference/organization-workflows/get-a-list-of-executions-and-their-results"}]},{"group":"Organization Results","pages":[{"title":"Get a list of process results","deprecated":null,"version":null,"openapi":"/specs/fc-kyb-bundled_generated.yaml get /v2/organizations/{entityId}/results","href":"/api-reference/organization-results/get-a-list-of-process-results"},{"title":"Get a process result","deprecated":null,"version":null,"openapi":"/specs/fc-kyb-bundled_generated.yaml get /v2/organizations/{entityId}/results/{processResultId}","href":"/api-reference/organization-results/get-a-process-result"},{"title":"Update the status of AML process results","deprecated":null,"version":null,"openapi":"/specs/fc-kyb-bundled_generated.yaml patch /v2/organizations/{entityId}/results/aml","href":"/api-reference/organization-results/update-the-status-of-aml-process-results"}]},{"group":"Organization Profiles","pages":[{"title":"Get a service profile for a given organization entity.","deprecated":null,"version":null,"openapi":"/specs/fc-kyb-bundled_generated.yaml get /v2/organizations/{entityId}/serviceprofiles/{serviceName}","href":"/api-reference/organization-profiles/get-a-service-profile-for-a-given-organization-entity"},{"title":"Update a profile for a given organization entity.","deprecated":null,"version":null,"openapi":"/specs/fc-kyb-bundled_generated.yaml patch /v2/organizations/{entityId}/serviceprofiles/{serviceName}","href":"/api-reference/organization-profiles/update-a-profile-for-a-given-organization-entity"}]},{"group":"Organization Documents","pages":[{"title":"Get all documents for an organization entity","deprecated":null,"version":null,"openapi":"/specs/fc-kyb-bundled_generated.yaml get /v2/organizations/{entityId}/documents","href":"/api-reference/organization-documents/get-all-documents-for-an-organization-entity"},{"title":"Create a new document for an organization.","deprecated":null,"version":null,"openapi":"/specs/fc-kyb-bundled_generated.yaml post /v2/organizations/{entityId}/documents","href":"/api-reference/organization-documents/create-a-new-document-for-an-organization"},{"title":"Get a single document by its id.","deprecated":null,"version":null,"openapi":"/specs/fc-kyb-bundled_generated.yaml get /v2/organizations/{entityId}/documents/{documentId}","href":"/api-reference/organization-documents/get-a-single-document-by-its-id"},{"title":"Delete a document","deprecated":null,"version":null,"openapi":"/specs/fc-kyb-bundled_generated.yaml delete /v2/organizations/{entityId}/documents/{documentId}","href":"/api-reference/organization-documents/delete-a-document"},{"title":"Update a single document by its id.","deprecated":null,"version":null,"openapi":"/specs/fc-kyb-bundled_generated.yaml patch /v2/organizations/{entityId}/documents/{documentId}","href":"/api-reference/organization-documents/update-a-single-document-by-its-id"},{"title":"Get trust analyses results for a document","deprecated":null,"version":null,"openapi":"/specs/fc-kyb-bundled_generated.yaml get /v2/organizations/{entityId}/documents/{documentId}/analyses","href":"/api-reference/organization-documents/get-trust-analyses-results-for-a-document"},{"title":"Confirm a trust analysis result for a document","deprecated":null,"version":null,"openapi":"/specs/fc-kyb-bundled_generated.yaml post /v2/organizations/{entityId}/documents/{documentId}/analyses/{analysisId}/confirm","href":"/api-reference/organization-documents/confirm-a-trust-analysis-result-for-a-document"},{"title":"Delete an attachment","deprecated":null,"version":null,"openapi":"/specs/fc-kyb-bundled_generated.yaml delete /v2/organizations/{entityId}/documents/{documentId}/attachments/{attachmentId}","href":"/api-reference/organization-documents/delete-an-attachment"}]},{"group":"Hosted URL","pages":[{"title":"Generate Hosted URL","deprecated":null,"version":null,"openapi":"/specs/fc-kyb-facade-bundled_generated.yaml post /v2/organizations/hostedUrl","href":"/api-reference/hosted-url/generate-hosted-url"}]},{"group":"Organization Risks","pages":[{"title":"Update an organization entity's risk level for a service profile.","deprecated":null,"version":null,"openapi":"/specs/fc-kyb-bundled_generated.yaml patch /v2/organizations/{entityId}/serviceprofiles/{serviceName}/risk","href":"/api-reference/organization-risks/update-an-organization-entitys-risk-level-for-a-service-profile"}]},{"group":"Organization Relationships","pages":[{"title":"Get all manually added relationships for organization","deprecated":null,"version":null,"openapi":"/specs/fc-kyb-bundled_generated.yaml get /v2/organizations/{entityId}/relationships","href":"/api-reference/organization-relationships/get-all-manually-added-relationships-for-organization"},{"title":"Add or update relationships for an organization","deprecated":null,"version":null,"openapi":"/specs/fc-kyb-bundled_generated.yaml put /v2/organizations/{entityId}/relationships","href":"/api-reference/organization-relationships/add-or-update-relationships-for-an-organization"},{"title":"Delete relationships for an organization","deprecated":null,"version":null,"openapi":"/specs/fc-kyb-bundled_generated.yaml delete /v2/organizations/{entityId}/relationships","href":"/api-reference/organization-relationships/delete-relationships-for-an-organization"}]},{"group":"Organization Addresses","pages":[{"title":"Delete an address","deprecated":null,"version":null,"openapi":"/specs/fc-kyb-bundled_generated.yaml delete /v2/organizations/{entityId}/addresses/{addressId}","href":"/api-reference/organization-addresses/delete-an-address"}]},{"group":"Organization Custom Attributes","pages":[{"title":"Delete a custom attribute","deprecated":null,"version":null,"openapi":"/specs/fc-kyb-bundled_generated.yaml delete /v2/organizations/{entityId}/customattributes/{key}","href":"/api-reference/organization-custom-attributes/delete-a-custom-attribute"}]},{"group":"Organization External References","pages":[{"title":"Delete an organization external reference","deprecated":null,"version":null,"openapi":"/specs/fc-kyb-bundled_generated.yaml delete /v2/organizations/{entityId}/externalreferences/{referenceId}","href":"/api-reference/organization-external-references/delete-an-organization-external-reference"}]},{"group":"Organization Monitoring","pages":[{"title":"Turn on/off monitoring for a given organization","deprecated":null,"version":null,"openapi":"/specs/fc-kyb-bundled_generated.yaml patch /v2/organizations/{entityId}/monitor","href":"/api-reference/organization-monitoring/turn-onoff-monitoring-for-a-given-organization"}]}]},{"group":"Core V2 API","pages":[{"group":"Audit","pages":[{"title":"List audit events","deprecated":null,"version":null,"openapi":"/specs/fc-core-bundled_generated.yaml get /v2/audit","href":"/api-reference/audit/list-audit-events"}]},{"group":"Comments","pages":[{"title":"Add a comment to an object","deprecated":null,"version":null,"openapi":"/specs/fc-core-bundled_generated.yaml post /v2/comments","href":"/api-reference/comments/add-a-comment-to-an-object"}]},{"group":"Tags","pages":[{"title":"List tags","deprecated":null,"version":null,"openapi":"/specs/fc-core-bundled_generated.yaml get /v2/tags","href":"/api-reference/tags/list-tags"},{"title":"List tags objects","deprecated":null,"version":null,"openapi":"/specs/fc-core-bundled_generated.yaml get /v2/tags/objects","href":"/api-reference/tags/list-tags-objects"},{"title":"Remove tag objects","deprecated":null,"version":null,"openapi":"/specs/fc-core-bundled_generated.yaml post /v2/tags/objects/remove","href":"/api-reference/tags/remove-tag-objects"}]},{"group":"Workflows","pages":[{"title":"Get a list of executable workflows","deprecated":null,"version":null,"openapi":"/specs/fc-core-bundled_generated.yaml get /v2/workflows","href":"/api-reference/workflows/get-a-list-of-executable-workflows"},{"title":"Update Workflow Information","description":"Update Workflow Information","deprecated":null,"version":null,"openapi":"/specs/fc-core-bundled_generated.yaml patch /v2/workflows/{workflowId}","href":"/api-reference/workflows/update-workflow-information"}]},{"group":"Workflow Definitions","pages":[{"title":"Create or update a workflow definition","deprecated":null,"version":null,"openapi":"/specs/fc-core-bundled_generated.yaml put /v2/workflowDefinitions/{workflowDefinitionId}","href":"/api-reference/workflow-definitions/create-or-update-a-workflow-definition"}]},{"group":"Search","pages":[{"title":"Search for profiles","description":"Search for Individuals and Organizations that match the provided search parameters. Search parameters are supplied in the form of an entity object.","deprecated":null,"version":null,"openapi":"/specs/fc-core-bundled_generated.yaml post /v2/search/serviceprofiles","href":"/api-reference/search/search-for-profiles"}]},{"group":"Matchlists","pages":[{"title":"Search for matchlist entries","deprecated":null,"version":null,"openapi":"/specs/fc-core-bundled_generated.yaml post /v2/search/matchlists","href":"/api-reference/matchlists/search-for-matchlist-entries"},{"title":"Retrieve a list of matchlist details","deprecated":null,"version":null,"openapi":"/specs/fc-core-bundled_generated.yaml get /v2/matchlists","href":"/api-reference/matchlists/retrieve-a-list-of-matchlist-details"},{"title":"Get a list of matchlist entries","deprecated":null,"version":null,"openapi":"/specs/fc-core-bundled_generated.yaml get /v2/matchlists/{matchlistName}/entries","href":"/api-reference/matchlists/get-a-list-of-matchlist-entries"},{"title":"Create one or more entries in a matchlist","deprecated":null,"version":null,"openapi":"/specs/fc-core-bundled_generated.yaml post /v2/matchlists/{matchlistName}/entries","href":"/api-reference/matchlists/create-one-or-more-entries-in-a-matchlist"},{"title":"Retrieve a matchlist entry","deprecated":null,"version":null,"openapi":"/specs/fc-core-bundled_generated.yaml get /v2/matchlists/{matchlistName}/entries/{entryId}","href":"/api-reference/matchlists/retrieve-a-matchlist-entry"},{"title":"Modify a matchlist entry","deprecated":null,"version":null,"openapi":"/specs/fc-core-bundled_generated.yaml patch /v2/matchlists/{matchlistName}/entries/{entryId}","href":"/api-reference/matchlists/modify-a-matchlist-entry"},{"title":"Add an individual entity to a matchlist","deprecated":null,"version":null,"openapi":"/specs/fc-core-bundled_generated.yaml post /v2/matchlists/{matchlistName}/entries/addEntity","href":"/api-reference/matchlists/add-an-individual-entity-to-a-matchlist"},{"title":"Remove an individual entity matchlist","deprecated":null,"version":null,"openapi":"/specs/fc-core-bundled_generated.yaml patch /v2/matchlists/{matchlistName}/entries/removeEntity","href":"/api-reference/matchlists/remove-an-individual-entity-matchlist"}]},{"group":"Results","pages":[{"title":"Redact Process Result","deprecated":null,"version":null,"openapi":"/specs/fc-core-bundled_generated.yaml post /v2/results/{entityId}/processes/{processResultId}/redact","href":"/api-reference/results/redact-process-result"}]},{"group":"Reports","pages":[{"title":"List Extract PII jobs","deprecated":null,"version":null,"openapi":"/specs/fc-core-bundled_generated.yaml get /v2/report/extractPII","href":"/api-reference/reports/list-extract-pii-jobs"},{"title":"Extract PII report","deprecated":null,"version":null,"openapi":"/specs/fc-core-bundled_generated.yaml post /v2/report/extractPII","href":"/api-reference/reports/extract-pii-report"},{"title":"Download Extract PII files","deprecated":null,"version":null,"openapi":"/specs/fc-core-bundled_generated.yaml post /v2/report/extractPII/download","href":"/api-reference/reports/download-extract-pii-files"}]}]}]},{"tab":"Implementations","icon":"play","pages":[{"title":"Implementations","href":"/v2/api/developers/frankie-one-key-terms"}]},{"tab":"Release Notes","icon":"code","pages":[{"title":"Release Notes","href":"/docs/release-notes"}]}]},{"version":"v1","pages":[{"title":"v1","href":"/docs/v1/introduction/getting-started/welcome-to-frankie"}]}]},"title":"Create or update a workflow definition - frankieone","buildId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","deploymentId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-WRhTSUDL.js","utils-ChMov4Kr.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-_REmC2bI.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Bp6nVRCu.js","snippetPresets-DZadmXoU.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CY2WdoTl.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DwYG-Q4l.js","shallow-BXQIGwv4.js","getApiPlaygroundDisplay-CK5nK5B9.js","CodeSnippet-TH4a2aGW.js","CodeSnippets-DwsQiOFS.js","Page-R3M_BF4L.js","getPastedJson-DD7kUzi_.js","icon-holE3QoJ.js","MethodPill-DUW0T8us.js","DuplicateIcon-CI_p4be-.js","createIcon-BdbRvavb.js","DynamicMarkdown-DN96a4Ur.js","SectionHeading-SCu36A9d.js","axios-vUo_bRtp.js","Markdown-CCeGv-zI.js","clsx-BGBGWFTt.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-Cv_O2fky.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-2C5OB2eV.js"]}