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

Local observances

Returns the observances (holidays, awareness days, etc.) for a given month, optionally narrowed to a specific day of the month.

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

Parameters

Query

NameTypeRequiredDescription
monthintegerrequiredMonth number (1-12).
dateintegeroptionalDay of the month to narrow to.

Headers

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

Request

Request
curl -X GET 'https://api.synup.com/api/v4/local-post-ideas/observances?month=&date=' \
  -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": {
    "localObservances": [
      {
        "id": 0,
        "title": "string",
        "description": "string",
        "date": "string",
        "imageUrl": "string",
        "isMonthLong": true
      }
    ]
  }
}

Response body

NameTypeRequiredDescription
dataobjectoptional
data.localObservancesarray of objectoptional
data.localObservances[].idintegeroptional
data.localObservances[].titlestringoptional
data.localObservances[].descriptionstringoptional
data.localObservances[].datestringoptional
data.localObservances[].imageUrlstringoptional
data.localObservances[].isMonthLongbooleanoptional