Create a Pipeline for the enterprise using logged in user token
Security
SCAPIAuthToken
- Mock serverhttps://develop-api.esper.io/_mock/openapi/pipelines/v0/pipelines/
- https://develop-api.esper.cloud/apihttps://develop-api.esper.cloud/api/pipelines/v0/pipelines/
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
}'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" } }