Skip to documentation
Workflow Developer API

Publish Developer Workflow

Audit and publish the current draft as an immutable active version. Inherits the same confirm_removed_nodes / 409 removed_nodes_require_confirmation contract as the interactive publish route (see publish_draft); confirmation retries must echo the returned removed_nodes_confirmation.

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

Authorizations

Authorization
stringheaderrequired

Send your GenHealth credential as Bearer <YOUR_API_KEY>. This endpoint requires workflow:publish 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.

WorkflowPublishRequest
confirm_removed_nodesboolean
descriptionstring | null
personal_account_authorizationsarray<PersonalWorkflowPublishAuthorization>
removed_nodes_confirmationWorkflowPublishRemovalConfirmation | null

Responses

200Successful Response
WorkflowPublishResponse
idstring
statusstring
version_idstring
version_numberinteger
422Validation Error
HTTPValidationError
detailarray<ValidationError>