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 | nullnodeWorkflowNodeSchemasource_outputstringtarget_inputstringrewire_existing_targetsbooleanResponses
WorkflowMutationResponse
successbooleanerrorstring | nullerror_categorystring | nullretryableboolean | nulldefinition_idstring | nullversion_idstring | nullnode_idstring | nullnode_namestring | nullHTTPValidationError
detailarray<ValidationError>