---
title: "Regenerate idea"
method: POST
path: "/social-post-ideas/regenerate-idea"
tags: ["Social Post Ideas"]
---

# Regenerate idea

`POST /social-post-ideas/regenerate-idea`

## Request

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

Regenerates an entire social post idea — both content and image. Optionally steer with a `topic` and a `referenceImageUrl`.

## Headers

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

## Request body

- RegenerateIdeaRequest
  - `ideaId` string, required
  - `topic` string
  - `referenceImageUrl` string

## Response `200`

Successful response

- object
  - `data` object
    - `regenerateIdea` RegenerateResponse
      - `success` boolean
      - `idea` object: The updated post idea (see Post idea for the full shape).
      - `error` Error
        - `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)
