---
title: "Update an idea"
method: PATCH
path: "/ideas/{id}"
tags: ["Ideas"]
---

# Update an idea

`PATCH /ideas/{id}`

## Request

- Base URL: `https://app.pencil.ink/api/v1`
- URL: `https://app.pencil.ink/api/v1/ideas/{id}`
- Auth: HTTP bearer

Requires a `write` key.

## Request body

- IdeaUpdate
  - `title` string
  - `summary` string
  - `status` 'open' | 'planning' | 'promoted' | 'archived'
  - `projectId` string
  - `customerId` string, nullable
  - `tags` string[]

## Response `200`

A single idea.

- object
  - `data` Idea
    - `id` string
    - `title` string
    - `summary` string, nullable
    - `status` 'open' | 'planning' | 'promoted' | 'archived'
    - `projectId` string, nullable
    - `productId` string, nullable
    - `customerId` string, nullable
    - `featureId` string, nullable
    - `tags` string[]
    - `promotedTaskCount` integer
    - `createdAt` integer: Epoch ms.
    - `updatedAt` integer, nullable: Epoch ms.

## Other responses

- `400`: Malformed request or invalid field (`validation_error`).
- `401`: Missing or invalid API key (`unauthorized`).
- `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)
