# Regenerate idea

```http
POST https://api.synup.com/api/v4/social-post-ideas/regenerate-idea
```

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

Source: https://developer.synup.com/api/social-post-ideas/regenerate-idea

## Header parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `Synup-Version` | string | required | API version date (YYYY-MM-DD). |

## Request body

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `ideaId` | string | required |  |
| `topic` | string | optional |  |
| `referenceImageUrl` | string | optional |  |

## Example request

```bash
curl -X POST 'https://api.synup.com/api/v4/social-post-ideas/regenerate-idea' \
  -H 'Authorization: API YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "ideaId": "91b2...",
  "topic": "summer launch"
}'
```

## Responses

| Status | Description |
| --- | --- |
| `200` | Successful response |
| `401` | Unauthorized - Invalid or missing API key |
