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_idstringnodeWorkflowNodeSchemarewire_existing_sourcesbooleansource_outputstringtarget_inputstringResponses
WorkflowMutationResponse
added_edge_countinteger | nullchanged_fieldsarray<string>definition_idstring | nullerrorstring | nullerror_categorystring | nullinsertedstring | nullnode_idstring | nullnode_namestring | nullHTTPValidationError
detailarray<ValidationError>