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

Local holiday idea variants

Returns the generated post-idea variants for a given observance/holiday at a location. Each item is a post idea (see Local post idea for the full shape).

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

Parameters

Query

NameTypeRequiredDescription
locationIdstringrequiredRelay-encoded location ID.
observanceNamestringrequiredName of the observance/holiday.

Headers

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

Request

Request
curl -X GET 'https://api.synup.com/api/v4/local-post-ideas/holiday-idea-variants?locationId=&observanceName=' \
  -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": {
    "localHolidayIdeaVariants": [
      {}
    ]
  }
}

Response body

NameTypeRequiredDescription
dataobjectoptional
data.localHolidayIdeaVariantsarray of objectoptionalPost ideas (see Local post idea for the full shape).