Insert Workflow Node After
Insert one node after an existing draft node and optionally rewire its targets.
POST
/developer/v1/workflows/{definition_id}/nodes/afterAuthorizations
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.
WorkflowNodeInsertAfterRequest
after_node_idAnchor node. Omit only when inserting the first node into an empty workflow.string | nullnodeWorkflowNodeSchemarewire_existing_targetsbooleansource_outputstringtarget_inputstringResponses
WorkflowMutationResponse
added_edge_countinteger | nullchanged_fieldsarray<string>definition_idstring | nullerrorstring | nullerror_categorystring | nullinsertedstring | nullnode_idstring | nullnode_namestring | nullHTTPValidationError
detailarray<ValidationError>