---
title: "Get calendar of scheduled posts"
method: GET
path: "/calendar"
tags: ["Posts"]
---

# Get calendar of scheduled posts

`GET /calendar`

## Request

- Base URL: `https://www.sociahive.com/api/v1`
- URL: `https://www.sociahive.com/api/v1/calendar`
- Auth: one of:
  - API key in header `X-API-Key`
  - OAuth 2 (authorization code, authorization URL `/api/oauth/authorize`, token URL `/api/oauth/token`, scopes: `posts:read`)

## Query parameters

- `year` integer
- `month` integer
- `timezone` string
- `tags` string: Comma-separated post tag ids. Returns posts that carry any of them.
- `groupId` string: Account group: only posts with a target in it (SCHEDULER_CALENDAR_CARD_ACTIONS).

## Response `200`

Calendar entries

- CalendarMonthEnvelope
  - `data` object, required
    - `year` number, required
    - `month` number, required
    - `days` object, required

## Other responses

- `400`: Bad request — invalid parameters
- `401`: Authentication required — provide X-API-Key or Bearer token
- `403`: Insufficient scope for this operation
- `429`: Rate limit exceeded
- `500`: Internal server error

---

[API](https://skmtc.dev/sociahive/apis/sociahive-api.md) · [All operations](https://skmtc.dev/sociahive/apis/sociahive-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sociahive/apis/sociahive-api/revisions/791b8548d288?raw)
