Trigger a workflow
Trigger and query workflows using the Nexthink API.
Triggers the execution of a workflow.
The ID of the workflow to execute.
#workflow_exampleNexthink Collector IDs of the devices that the workflow should be executed on. Note: If devices are included in the request, then users are optional by default.
The security IDs of the users that the workflow would target. Note: If users are included in the request, then devices are optional by default.
Successful execution response.
Bad request - invalid request, see error code for details.
Unauthorized - no valid authentication credentials.
No permission - no permission to execute workflow.
Triggers the execution of a workflow using external identifiers for users and devices. For users, provide at least one of the following:
sid: The security identifier of the userupn: The user's principal name (email format)uid: A globally unique user identifier Fordevices, provide at least one of the following:collectorUid: The Collector UUID of the devicename: The name of the deviceuid: A globally unique device identifier If multiple users or devices match the identifiers, the system triggers the workflow on the most recently active one (lastSeen).
The ID of the workflow to execute.
#workflow_exampleSuccessful execution response.
Bad request - invalid request, see error code for details.
Unauthorized - no valid authentication credentials.
No permission - no permission to execute workflow.
Triggers a waiting workflow execution.
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$Returns a request identifier.
Bad request - invalid request, see error code for details.
Unauthorized - no valid authentication credentials.
No permission - not authorized to execute workflow.
Returns a list of workflows, including their configuration information. Use query parameters to filter the list of the workflows.
List of workflows and their configurations.
Bad request - invalid request, see error code for details.
Unauthorized - no valid authentication credentials.
No permission - not authorized to execute workflow.
Returns the configuration of a specific workflow by NQL ID. Use nqlId to filter for a specific configured workflow.
The NQL ID of the workflow.
#ExampleWorkflowWorkflow configuration.
Bad request - invalid request, see error code for details.
Unauthorized - no valid authentication credentials.
No permission - no permission to execute workflow.
Last updated
Was this helpful?
