---
title: "Create an Epic phase"
method: POST
path: "/epics/{epicId}/phases"
tags: ["Phases"]
---

# Create an Epic phase

`POST /epics/{epicId}/phases`

## Request

- Base URL: `https://app.pencil.ink/api/v1`
- URL: `https://app.pencil.ink/api/v1/epics/{epicId}/phases`
- Auth: HTTP bearer

Appends a phase to the Epic. Requires a `write` key.

## Request body

- PhaseCreate
  - `name` string, required
  - `description` string
  - `gateMode` 'advisory' | 'strict'
  - `targetDate` integer: Epoch ms.
  - `docUrl` string, uri
  - `ownerId` string

## Other responses

- `201` (unresolved $ref)
- `400`: Malformed request or invalid field (`validation_error`).
- `403`: The key is read-only and may not write (`forbidden`).
- `404`: Resource not found in this org (`not_found`).

---

[API](https://skmtc.dev/pencil/apis/pencil-public-api.md) · [All operations](https://skmtc.dev/pencil/apis/pencil-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pencil/apis/pencil-public-api/revisions/2b842698b76d?raw)
