---
updatedAt: 2025-06-09T22:06:15.000Z
agentTools:
  projectIndex: https://streak.readme.io/llms.txt
---

# Create a pipeline

> ⚠️ Content Type and Auth
>
> Make sure to send url-encoded requests to this endpoint and provide authorization in any request you make on your own.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "streak-v1-url-encoded",
    "version": "1"
  },
  "servers": [
    {
      "url": "https://api.streak.com/api/v1"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/pipelines": {
      "put": {
        "summary": "Create a pipeline",
        "description": "",
        "operationId": "create-a-pipeline",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "required": [
                  "name",
                  "teamKey"
                ],
                "properties": {
                  "name": {
                    "type": "string",
                    "description": "The name of the pipeline you are creating"
                  },
                  "teamKey": {
                    "type": "string",
                    "description": "The key of the team the pipeline will be shared with"
                  },
                  "teamWide": {
                    "type": "boolean",
                    "description": "Whether the pipeline will be shared with all users in the team"
                  },
                  "fieldNames": {
                    "type": "string",
                    "description": "The fields each box within the pipeline can have. Fields should be given as a comma-separated array of names and a comma-separated array of corresponding field types (of equal length). To modify after creation use the Field endpoint. Example: `[\"Sleepy\", \"Sneezy\", \"Doc\"]`."
                  },
                  "fieldTypes": {
                    "type": "string",
                    "description": "The type of the field. Can be any of: `TEXT_INPUT`, `DATE`, `TAG`, `FORMULA`, `DROPDOWN`, `CHECKBOX`, or `TEAM_CONTACT`. Should be an array of strings, ie `[\"TAG\", \"CHECKBOX\", \"DROPDOWN\"]`."
                  },
                  "stageNames": {
                    "type": "string",
                    "description": "The possible stages a box within a pipeline can be in, separated by comma. To modify after creation use the Stage endpoint. As an example, try `[\"Snow\", \"White\"]`."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"creatorKey\": \"agptYWNlchgBDA\",\n  \"name\": \"Foo\",\n  \"teamWide\": false,\n  \"fields\": [],\n  \"stages\": {},\n  \"stageOrder\": [],\n  \"creationTimestamp\": 1348417307038,\n  \"lastUpdatedTimestamp\": 1348417307038,\n  \"aclEntries\": [],\n  \"owner\": {\n    \"email\": \"tesla@streak.com\",\n    \"isOwner\": true\n  },\n  \"pipelineKey\": \"agptYb3cYZAw\",\n  \"key\": \"agptYb3cYZAw\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "creatorKey": {
                      "type": "string",
                      "example": "agptYWNlchgBDA"
                    },
                    "name": {
                      "type": "string",
                      "example": "Foo"
                    },
                    "teamWide": {
                      "type": "boolean",
                      "example": false,
                      "default": true
                    },
                    "fields": {
                      "type": "array"
                    },
                    "stages": {
                      "type": "object",
                      "properties": {}
                    },
                    "stageOrder": {
                      "type": "array"
                    },
                    "creationTimestamp": {
                      "type": "integer",
                      "example": 1348417307038,
                      "default": 0
                    },
                    "lastUpdatedTimestamp": {
                      "type": "integer",
                      "example": 1348417307038,
                      "default": 0
                    },
                    "aclEntries": {
                      "type": "array"
                    },
                    "owner": {
                      "type": "object",
                      "properties": {
                        "email": {
                          "type": "string",
                          "example": "tesla@streak.com"
                        },
                        "isOwner": {
                          "type": "boolean",
                          "example": true,
                          "default": true
                        }
                      }
                    },
                    "pipelineKey": {
                      "type": "string",
                      "example": "agptYb3cYZAw"
                    },
                    "key": {
                      "type": "string",
                      "example": "agptYb3cYZAw"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```