Skip to content
SynupAPI
Get an API key
POSTapi.synup.com/api/v4/social-post-ideas/regenerate-idea

Regenerate idea

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

Requires an API key. Send it as Authorization: API <your-key> — see Getting started.

Parameters

Headers

NameTypeRequiredDescription
Synup-VersionstringrequiredAPI version date (YYYY-MM-DD).

Body

NameTypeRequiredDescription
ideaIdstringrequired
topicstringoptional
referenceImageUrlstringoptional

Request

Request
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

StatusDescription
200Successful response
401Unauthorized - Invalid or missing API key
Example response (generated from the schema)
{
  "data": {
    "regenerateIdea": {
      "success": true,
      "idea": {},
      "error": {
        "message": "string",
        "code": "string",
        "contextInfo": [
          {
            "key": "string",
            "value": "string"
          }
        ]
      }
    }
  }
}

Response body

NameTypeRequiredDescription
dataobjectoptional
data.regenerateIdeaobjectoptional
data.regenerateIdea.successbooleanoptional
data.regenerateIdea.ideaobjectoptionalThe updated post idea (see Post idea for the full shape).
data.regenerateIdea.errorobjectoptional
data.regenerateIdea.error.messagestringoptional
data.regenerateIdea.error.codestringoptional
data.regenerateIdea.error.contextInfoarray of objectoptional
data.regenerateIdea.error.contextInfo[].keystringoptional
data.regenerateIdea.error.contextInfo[].valuestringoptional