---
title: "POST /v1/organizations/{organizationId}/projects/{projectId}/pipelines"
method: POST
path: "/v1/organizations/{organizationId}/projects/{projectId}/pipelines"
tags: ["Pipelines"]
---

# POST /v1/organizations/{organizationId}/projects/{projectId}/pipelines

`POST /v1/organizations/{organizationId}/projects/{projectId}/pipelines`

## Request

- Base URL: `https://api.golioth.io`
- URL: `https://api.golioth.io/v1/organizations/{organizationId}/projects/{projectId}/pipelines`
- Auth: API key in header `x-api-key` and API key in header `Authorization`

## Path parameters

- `organizationId` string, required
- `projectId` string, required

## Request body

- GoliothPipelinesCreateBody
  - `enabled` boolean
  - `name` string
  - `pipeline` string, byte

## Response `200`

A successful response.

- GoliothCreatePipelineResponse
  - `data` GoliothPipeline
    - `createdAt` string, date-time
    - `enabled` boolean
    - `name` string
    - `pipeline` string, byte
    - `pipelineId` string
    - `updatedAt` string, date-time

## Other responses

- `default`: An unexpected error response.

## Changes

- **2024-08-12** `df54eaf41d8f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/golioth/apis/golioth-api/changes/v1/organizations/:organizationId/projects/:projectId/pipelines/post.md)

---

[API](https://skmtc.dev/golioth/apis/golioth-api.md) - [All operations](https://skmtc.dev/golioth/apis/golioth-api/llms.txt) - [OpenAPI document](https://skmtc.dev/golioth/apis/golioth-api/revisions/47c98ae69a55?raw)
