Skip to documentation
Workflow Developer API

Create Developer Workflow Draft

Create an editable draft from the workflow's currently active version.

POST/developer/v1/workflows/{definition_id}/draft

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

Responses

201Successful Response
WorkflowVersionResponse
_createdstring
_last_modifiedstring | null
configobject<string, any> | null
created_bystring | null
created_by_emailstring | null
descriptionstring | null
edgesarray<WorkflowEdgeSchema>
edited_atstring | null
422Validation Error
HTTPValidationError
detailarray<ValidationError>