Skip to content

Create a new Pipeline
Stable

Request

Create a Pipeline for the enterprise using logged in user token

Security
SCAPIAuthToken
Bodyapplication/jsonrequired
namestringrequired
descriptionstring
is_defaultboolean
Default:false
is_activeboolean
Default:true
timeout_secondsnumber, (int32)
Default:86400
cURL
curl -i -X POST \
  https://develop-api.esper.io/_mock/openapi/pipelines/v0/pipelines/ \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "string",
    "description": "string",
    "is_default": false,
    "is_active": true,
    "timeout_seconds": 86400
  }'

Responses

Created

Bodyapplication/json
codeinteger
messagestring
contentobject(Pipeline)
Response
{ "code": 0, "message": "string", "content": { "id": "string", "enterprise_id": "string", "name": "string", "description": "string", "is_active": true, "is_valid": true, "is_visible": true, "is_archived": true, "is_default": true, "timeout_seconds": 0, "created_by": 0, "updated_by": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } }