> ## Documentation Index
> Fetch the complete documentation index at: https://docs.salesive.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List upcoming holidays

> Upcoming holidays the planner can draft posts around. Requires the READ_SOCIAL scope.



## OpenAPI

````yaml apps-api/specs/social.json GET /social-posts/holidays
openapi: 3.1.0
info:
  title: 'Salesive Apps API: Post Planner'
  version: 1.0.0
  description: >-
    Plan, schedule and publish Instagram, TikTok and LinkedIn posts from an
    installed third-party app, and read the store's connected accounts. Reads
    need `READ_SOCIAL`; writes need `WRITE_SOCIAL`; generating images with the
    store's AI credits additionally needs `USE_MERCHANT_AI`. Without that grant
    an app must supply its own media: generate the image itself and pass the
    URL, or add it through the file API, then create a manual post. The target
    store is bound to the token server-side from the installation, so never send
    a shop id.
servers:
  - url: https://api.salesive.com/api/v1
    description: Production
security:
  - AppToken: []
tags:
  - name: Post planner
    description: Planned posts, the asset library, presets and publishing.
  - name: Connected accounts
    description: Read-only view of the store's connected social accounts.
paths:
  /social-posts/holidays:
    get:
      tags:
        - Post planner
      summary: Upcoming holidays
      description: >-
        Returns the holidays the planner can draft posts around. Requires
        `READ_SOCIAL`.
      operationId: listSocialHolidays
      parameters:
        - name: days
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 365
            default: 90
      responses:
        '200':
          description: The holidays.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Envelope'
components:
  schemas:
    Envelope:
      allOf:
        - $ref: '#/components/schemas/EnvelopeBase'
        - type: object
          properties:
            data:
              description: Operation-specific payload (object, array, or null).
    EnvelopeBase:
      type: object
      description: >-
        Standard Salesive response envelope. The operation-specific payload is
        carried in `data`.
      required:
        - status
        - success
        - message
      properties:
        status:
          type: integer
        success:
          type: boolean
        message:
          type: string
  securitySchemes:
    AppToken:
      type: http
      scheme: bearer
      description: >-
        Installed-app access token (prefix app_), issued by the OAuth install
        flow. The store is bound to the token server-side, so never send a shop
        id.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.