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

# Marketing calendar aggregate

> Requires `read:campaigns` or `read:social-events`. Query `from`/`to` (ISO). Returns typed items `{ kind: campaign|social_event|social_post, ... }` for the date range. Either read scope is enough; each kind is included only when that scope is present.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/marketing/calendar
openapi: 3.0.0
info:
  title: Car Storage Software API
  version: 1.1.0
  description: >-
    Team-scoped REST API for Car Storage Software. Authenticate with a team API
    key (`Authorization: Bearer <key>` or `x-api-key: <key>`) created under
    Settings → Integrations → API. Keys carry granular `read:*` / `write:*`
    scopes; read never implies write.
servers:
  - url: https://www.carstoragesoftware.com
security: []
paths:
  /api/v1/marketing/calendar:
    get:
      tags:
        - Marketing
      summary: Marketing calendar aggregate
      description: >-
        Requires `read:campaigns` or `read:social-events`. Query `from`/`to`
        (ISO). Returns typed items `{ kind: campaign|social_event|social_post,
        ... }` for the date range. Either read scope is enough; each kind is
        included only when that scope is present.
      parameters:
        - schema:
            type: string
            format: date-time
          required: true
          name: from
          in: query
        - schema:
            type: string
            format: date-time
          required: true
          name: to
          in: query
      responses:
        '200':
          description: Calendar items.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V1CalendarResponse'
        '401':
          description: Missing, invalid, revoked, or expired API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: API key missing required scope, or API disabled for team.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Resource not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '422':
          description: Request validation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    V1CalendarResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/V1CalendarItem'
      required:
        - data
    ApiError:
      type: object
      properties:
        error:
          type: string
        code:
          type: string
        details:
          nullable: true
      required:
        - error
    V1CalendarItem:
      type: object
      properties:
        kind:
          type: string
          enum:
            - campaign
            - social_event
            - social_post
        id:
          type: string
          format: uuid
        title:
          type: string
        startAt:
          type: string
          nullable: true
          format: date-time
        endAt:
          type: string
          nullable: true
          format: date-time
        status:
          type: string
          nullable: true
        channel:
          type: string
          nullable: true
      required:
        - kind
        - id
        - title
        - startAt
        - endAt
        - status
        - channel
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        Team API key from Settings → Integrations. Use `Authorization: Bearer
        <key>` or `x-api-key`.

````

## Related topics

- [Marketing & Events overview](/docs/marketing-events/overview.md)
- [Create a campaign](/docs/marketing-events/create-a-campaign.md)
- [Review social event RSVPs and attendees](/docs/marketing-events/review-social-event-rsvps-and-attendees.md)
- [Organize your marketing photos and files](/docs/marketing-events/organize-your-marketing-assets.md)
- [Check in social event attendees](/docs/marketing-events/check-in-social-event-attendees.md)


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