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

Local calendar

Returns the content calendar for a location — each day with its scheduled/suggested post ideas.

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/calendar?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": {
    "localCalendar": [
      {
        "day": 0,
        "posts": [
          {}
        ]
      }
    ]
  }
}

Response body

NameTypeRequiredDescription
dataobjectoptional
data.localCalendararray of objectoptional
data.localCalendar[].dayintegeroptional
data.localCalendar[].postsarray of objectoptionalPost ideas for the day (see Local post idea for the full shape).