Upsert Pipeline

POST /pipelines/save

Creates or updates a pipeline

Request

Headers

An API Key is required to access this endpoint.

Name
Value

x-api-key

your_api_key

Body

Body is only required when updating an existing pipeline.

Name
Type
Description

id

string

Unique ID for the pipeline.

isEnabled

boolean

Defaults to true

name

string

Name of the pipeline. Defaults to new_pipeline

Example

{
  "isEnabled": false,
  "name": "review_pipeline"
}

Response

The API returns the response in JSON format.

Each response includes a success boolean and pipelineId.

Example

{
  "pipelineId": "fe66acaa-2c30-4d92-ac11-c6ece7cc25c0",
  "success": true
}

Last updated