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

Local observances with ideas

Returns the observances for a month for a location, each joined with its generated post idea (if any) — including whether ideas are ready and the idea's title/content/image.

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

Parameters

Query

NameTypeRequiredDescription
locationIdstringrequiredRelay-encoded location ID.
monthintegerrequiredMonth number (1-12).

Headers

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

Request

Request
curl -X GET 'https://api.synup.com/api/v4/local-post-ideas/observances-with-ideas?locationId=&month=' \
  -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": {
    "localObservancesWithIdeas": [
      {
        "id": 0,
        "title": "string",
        "description": "string",
        "date": "string",
        "imageUrl": "string",
        "isMonthLong": true,
        "ideasReady": true,
        "isRelevant": true,
        "postIdeaId": "string",
        "postImageUrl": "string",
        "postTitle": "string",
        "postType": "string",
        "postContent": "string",
        "postImagePrompt": "string"
      }
    ]
  }
}

Response body

NameTypeRequiredDescription
dataobjectoptional
data.localObservancesWithIdeasarray of objectoptional
data.localObservancesWithIdeas[].idintegeroptional
data.localObservancesWithIdeas[].titlestringoptional
data.localObservancesWithIdeas[].descriptionstringoptional
data.localObservancesWithIdeas[].datestringoptional
data.localObservancesWithIdeas[].imageUrlstringoptional
data.localObservancesWithIdeas[].isMonthLongbooleanoptional
data.localObservancesWithIdeas[].ideasReadybooleanoptional
data.localObservancesWithIdeas[].isRelevantbooleanoptional
data.localObservancesWithIdeas[].postIdeaIdstringoptional
data.localObservancesWithIdeas[].postImageUrlstringoptional
data.localObservancesWithIdeas[].postTitlestringoptional
data.localObservancesWithIdeas[].postTypestringoptional
data.localObservancesWithIdeas[].postContentstringoptional
data.localObservancesWithIdeas[].postImagePromptstringoptional