Skip to documentation
Workflow Developer API

Revert Developer Workflow Version

Create a new editable draft copied from a historical workflow version.

POST/developer/v1/workflows/{definition_id}/versions/{version_id}/revert

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

version_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>