---
title: "Regenerate local idea content"
method: POST
path: "/local-post-ideas/regenerate-idea-content"
tags: ["Local Post Ideas"]
---

# Regenerate local idea content

`POST /local-post-ideas/regenerate-idea-content`

## Request

- Base URL: `https://api.synup.com/api/v4`
- URL: `https://api.synup.com/api/v4/local-post-ideas/regenerate-idea-content`
- Auth: none required
- TypeScript: <https://skmtc.dev/synup/apis/synup-api/docs/local-post-ideas/regenerate-idea-content/post.ts> (a function with typed inputs; its response is checked against the schema)

Regenerates the text content (title/copy) of an existing post idea, keeping its image. Optionally steer the result with a `topic`.

## Headers

- `Synup-Version` string, required
- `Authorization` string, required

## Request body

- RegenerateLocalIdeaContentRequest
  - `ideaId` string, required
  - `topic` string

## Response `200`

Successful response

- object
  - `data` object
    - `regenerateLocalIdeaContent` LocalRegenerateResponse
      - `success` boolean
      - `idea` object: The updated post idea (see Local post idea for the full shape).
      - `error` LocalError
        - `message` string
        - `code` string
        - `contextInfo` object[]
          - `key` string
          - `value` string

## Other responses

- `401`: Unauthorized - Invalid or missing API key

---

[API](https://skmtc.dev/synup/apis/synup-api.md) - [All operations](https://skmtc.dev/synup/apis/synup-api/llms.txt) - [OpenAPI document](https://skmtc.dev/synup/apis/synup-api/revisions/67de2d51c22e?raw)
