Skip to documentation
Workflow Developer API

Replace Developer Workflow Draft From Json

Replace the complete draft graph from canonical JSON without publishing it.

POST/developer/v1/workflows/{definition_id}/draft/from-json

Authorizations

Authorization
stringheaderrequired

Send your GenHealth credential as Bearer <YOUR_API_KEY>. This endpoint requires workflow:write for the authenticated organization.

Headers

Accept
stringheader

Response media type. Use application/json for the current API.

Parameters

definition_idrequired
stringpath

Request body

Send an application/json request body. This body is required.

WorkflowImportEnvelope
kindstring
schema_versioninteger
workflowUpload shape with write-side limits that do not constrain exports.WorkflowImportBody

Responses

200Successful Response
WorkflowImportResponse
workflowWorkflowDefinitionResponse
warningsarray<WorkflowImportWarning>
422Validation Error
HTTPValidationError
detailarray<ValidationError>