Skip to content
SynupAPI
Get an API key
GETapi.synup.com/api/v4/local-post-ideas/post-idea-counts

Local post idea counts

Returns post-idea counts for a location, broken down by bucket: AI- generated (ai), user-created (mine), series (series), and the total (all).

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

Parameters

Query

NameTypeRequiredDescription
locationIdstringrequiredRelay-encoded location ID.

Headers

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

Request

Request
curl -X GET 'https://api.synup.com/api/v4/local-post-ideas/post-idea-counts?locationId=' \
  -H 'Authorization: API YOUR_API_KEY' \
  -H 'Content-Type: application/json'

Responses

StatusDescription
200Successful response
401Unauthorized - Invalid or missing API key
Example response (generated from the schema)
{
  "data": {
    "localPostIdeaCounts": {
      "ai": 0,
      "mine": 0,
      "series": 0,
      "all": 0
    }
  }
}

Response body

NameTypeRequiredDescription
dataobjectoptional
data.localPostIdeaCountsobjectoptional
data.localPostIdeaCounts.aiintegeroptional
data.localPostIdeaCounts.mineintegeroptional
data.localPostIdeaCounts.seriesintegeroptional
data.localPostIdeaCounts.allintegeroptional