Insert Workflow Node Before
Insert one node before an existing draft node and optionally rewire its sources.
POST
/developer/v1/workflows/{definition_id}/nodes/beforeAuthorizations
Authorizationstringheaderrequired
Send your GenHealth credential as Bearer <YOUR_API_KEY>. This endpoint requires workflow:write for the authenticated organization.
Headers
Acceptstringheader
Response media type. Use application/json for the current API.
Parameters
definition_idrequiredRequest body
Send an application/json request body. This body is required.
WorkflowNodeInsertBeforeRequest
before_node_idstringnodeWorkflowNodeSchemasource_outputstringtarget_inputstringrewire_existing_sourcesbooleanResponses
WorkflowMutationResponse
successbooleanerrorstring | nullerror_categorystring | nullretryableboolean | nulldefinition_idstring | nullversion_idstring | nullnode_idstring | nullnode_namestring | nullHTTPValidationError
detailarray<ValidationError>