---
title: "Update post idea"
method: PATCH
path: "/api/businesses/{business_id}/post-ideas/{post_idea_id}"
tags: ["businesses"]
---

# Update post idea

`PATCH /api/businesses/{business_id}/post-ideas/{post_idea_id}`

## Request

- Base URL: `https://api.mymarky.ai`
- URL: `https://api.mymarky.ai/api/businesses/{business_id}/post-ideas/{post_idea_id}`
- Auth: HTTP bearer

Update a post idea (edit the text, retarget the topic, or bookmark).

Errors:
    400 invalid_request: No fields were given to update.
    401 authentication_required: API key or token is missing, invalid, or revoked.
    403 permission_denied: Your plan does not include API access, or this idea is not in your org.
    404 resource_not_found: No post idea with that ID exists.
    429 rate_limit_exceeded: You sent too many requests this minute.

## Path parameters

- `business_id` string, required: A UUID identifier.
- `post_idea_id` string, required: A UUID identifier.

## Headers

- `Marky-Version` '2026-04-08' | '2026-07-17' | '2026-08-02' | '2026-08-04' | '2026-08-06'

## Request body

- PostIdeaUpdateRequest
  - `body` string, nullable: The post idea text.
  - `topic_id` string, nullable: Topic this idea belongs to.
  - `bookmarked` boolean, nullable: Whether the idea is bookmarked/saved.

## Response `200`

Successful Response

- PostIdeaResponse
  - `id` string, required: Post idea ID
  - `business_id` string, required: Business this idea belongs to
  - `body` string, nullable: The post idea text
  - `topic_id` string, nullable: Topic this idea belongs to
  - `bookmarked` boolean, nullable: Whether it's bookmarked
  - `created_at` string, required: When the idea was created
  - `updated_at` string, nullable: Last update time

## Other responses

- `400`: Bad request — the input was malformed or otherwise invalid.
- `401`: Authentication failed — the API key is missing or invalid.
- `403`: Forbidden — the key is valid but may not access this resource.
- `404`: Not found — no resource matches the id in the path.
- `422`: Validation error — one or more fields failed validation.
- `429`: Rate limited — retry after the window resets (see Retry-After).
- `500`: Server error — something failed on our side; retry or quote X-Request-Id.

---

[API](https://skmtc.dev/mymarky/apis/marky-public-api.md) · [All operations](https://skmtc.dev/mymarky/apis/marky-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mymarky/apis/marky-public-api/revisions/25aeacae455c?raw)
