FlowMate API Documentation
  1. Flows
FlowMate API Documentation
  • Authentication
    • Login
      POST
  • Flows
    • Retrieve all flows
      GET
    • Find Flow by ID
      GET
    • Deletes a flow
      DELETE
    • Update an existing flow
      PATCH
    • Bulk update a number of existing flows
      PATCH
    • Start a flow
      POST
    • Stop a flow
      POST
    • Start multiple flows
      POST
    • Stop multiple flows
      POST
  • User
    • get all users
      GET
    • Create user
      POST
    • get a user by id
      GET
    • get current user
      GET
  • Templates
    • Retrieve all flow templates
      GET
    • Add a new template to the repository
      POST
    • Find Flow Template by ID
      GET
    • Deletes a flow template
      DELETE
    • Update an existing flow template
      PATCH
    • Generate a flow from the flow template
      POST
  • Executions
    • Get Executions
      GET
  • Webhooks
    • Incoming Webhook
      POST
  1. Flows

Stop a flow

POST
https://api.platform.openintegrationhub.com/flows/{id}/stop
flows
Stops the flow's integration process by publishing an appropriate event to the event bus. Requires the 'flows.control' permission.

Request

Path Params
id
string <string>
required
ID of flow to stop, must be a valid MongoDB ID.

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.platform.openintegrationhub.com/flows//stop'

Responses

🟢200OK
application/json
Returns id and new status of the stopped flow
Body
data
object 
optional
id
string 
optional
Example:
5c99ec7e5ed40d3e7512cffa
status
string 
optional
Example:
stopping
meta
object 
optional
Example
{
    "data": {
        "id": "5c99ec7e5ed40d3e7512cffa",
        "status": "stopping"
    },
    "meta": {}
}
🟠400Bad Request
🟠403Forbidden
🟠404Record Not Found
🟠409409
Modified at 2025-01-16 10:16:38
Previous
Start a flow
Next
Start multiple flows
Built with