---
title: "Edit a post with 'draft' or 'archived' status. Company-page, mention, and link-preview metadata may be stored but must b"
method: PATCH
path: "/api/v1/content/drafts/{draft_id}"
tags: ["content"]
---

# Edit a post with 'draft' or 'archived' status. Company-page, mention, and link-preview metadata may be stored but must b

`PATCH /api/v1/content/drafts/{draft_id}`

## Request

- Base URL: `https://crispy.sh`
- URL: `https://crispy.sh/api/v1/content/drafts/{draft_id}`
- Auth: HTTP bearer

## Path parameters

- `draft_id` string, required

## Request body

- object
  - `text` string: New post text (max 3000 chars)
  - `notes` string: Private notes about this draft
  - `target_audience` string: Who this post is intended for
  - `attachments` object[]: Replace attachments (pass empty array to clear)
    - `url` string, required
    - `filename` string
  - `as_organization` string: NOT PUBLISHABLE. Stored for editing, but publish_draft refuses the draft until this is removed.
  - `mentions` object[]: Replace @-mention metadata. Mentions are NOT publishable; publish_draft refuses until removed.
    - `name` string, required
    - `urn` string, required
  - `external_link` string: Replace link-preview metadata. Link previews are NOT publishable; publish_draft refuses until removed.
  - `status` 'draft' | 'archived': Move draft to 'archived' to hide from default list, or back to 'draft'

## Response `200`

Success

## Other responses

- `401`: Missing or expired API key
- `403`: Insufficient key scope or permission denied
- `429`: Rate limit exceeded

---

[API](https://skmtc.dev/crispy/apis/crispy-rest-api.md) · [All operations](https://skmtc.dev/crispy/apis/crispy-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crispy/apis/crispy-rest-api/revisions/6bed0974d9ce?raw)
