---
title: "POST /api/v1/projects/{project_pk}/release-pipelines/{id}/add-feature/"
method: POST
path: "/api/v1/projects/{project_pk}/release-pipelines/{id}/add-feature/"
tags: ["mcp"]
---

# POST /api/v1/projects/{project_pk}/release-pipelines/{id}/add-feature/

`POST /api/v1/projects/{project_pk}/release-pipelines/{id}/add-feature/`

Adds a feature flag to a release pipeline for staged rollout.

## Path parameters

- `id` string, required
- `project_pk` string, required

## Request body

- ReleasePipeline
  - `id` integer
  - `name` string, required
  - `project` integer
  - `description` string, nullable
  - `stages_count` integer
  - `published_at` string, date-time, nullable
  - `published_by` integer, nullable
  - `features` integer[]

## Response `200`

- ReleasePipeline
  - `id` integer
  - `name` string, required
  - `project` integer
  - `description` string, nullable
  - `stages_count` integer
  - `published_at` string, date-time, nullable
  - `published_by` integer, nullable
  - `features` integer[]

---

[API](https://skmtc.dev/flagsmith/apis/flagsmith-api.md) · [All operations](https://skmtc.dev/flagsmith/apis/flagsmith-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/flagsmith/flagsmith-api/revisions/5a8154d05269/schema)
