Create an API endpoint to stop jobs

API tool

What it does

When someone makes a request to this API endpoint, this automation stops a job. The endpoint accepts parameters someone defines and returns a confirmation so the caller knows the job stopped.

Who it's for

Engineering teams who need to stop jobs from external systems without logging in.

How teams use this

Stop jobs from a third-party app

Call this endpoint from another system to stop a job without manual intervention. The endpoint handles the request and confirms the job stopped.

Let ops teams stop jobs on demand

Expose this endpoint to operations so they can stop jobs from their own tools or dashboards. The same automation runs and only the caller changes.

Add job ID validation to the request

Include a condition to check that the job ID exists before stopping it, and return an error if it does not. This adds safety without changing the core flow.

How it works

  1. Receive the API request. Define the request and response parameters for this API endpoint so callers know what to send and what they will receive back from the Workato Api Platform.
  2. Stop the job. Stop a job in the Workato Api Platform and return the result to the caller so they know the job stopped successfully.