Skip to content
SynupAPI
Get an API key
POSTapi.synup.com/api/v4/local-post-ideas/refresh-ideas

Refresh local ideas

Regenerates the set of AI post ideas for a location. Returns a pipeline ID; poll Local pipeline status for progress.

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
locationIdstringrequired

Request

Request
curl -X POST 'https://api.synup.com/api/v4/local-post-ideas/refresh-ideas' \
  -H 'Authorization: API YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "locationId": "TG9jYXRpb246MQ=="
}'

Responses

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

Response body

NameTypeRequiredDescription
dataobjectoptional
data.refreshLocalIdeasobjectoptional
data.refreshLocalIdeas.successbooleanoptional
data.refreshLocalIdeas.pipelineIdstringoptional
data.refreshLocalIdeas.errorobjectoptional
data.refreshLocalIdeas.error.messagestringoptional
data.refreshLocalIdeas.error.codestringoptional
data.refreshLocalIdeas.error.contextInfoarray of objectoptional
data.refreshLocalIdeas.error.contextInfo[].keystringoptional
data.refreshLocalIdeas.error.contextInfo[].valuestringoptional