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

# List calendar events, past and upcoming

> Pages through what is on a person's calendar: the events their connected Google or Outlook calendar synced, and the meetings they added by hand, as the app's Meetings page lists them. A person's own key reads its own calendar; any other key names whose with `user_id` (a user's login id). `phase` upcoming lists events that have not ended, soonest first; past lists events that have, newest first; without it the window reads soonest first. The window is `start` to `end` on the event's start (ISO 8601; no offset is UTC), at most 92 days, starting at most 95 days ahead. Without them it is the next 14 days for upcoming, the last 14 for past, or 14 either side of now; one alone extends 14 days from it. The answer names the window it read. `tag` narrows to internal (teammates only), external, customer (filed under an account) or book (filed under one of the person's accounts). Each event carries its `title`, `start` and `end` (ISO 8601 UTC), whether it has `ended`, its `source`, `scope`, `meeting_url`, `organizer` and `attendees` (each `name`, `email` and `type`: user, a teammate; contact; or vendor), the `account_id` it is filed under, whether it is `recurring`, and once the meeting was recorded its `activity_id` (GET /v1/meetings/{meeting_id} reads it when Statisfy's notetaker recorded it). A page's `next_cursor` keeps the first page's window and instant.



## OpenAPI

````yaml /api/statisfy-api.openapi.json get /v1/calendar/events
openapi: 3.1.0
info:
  description: >-
    The agent-first Statisfy API. Authenticate with an API key (`Authorization:
    Bearer stfy_live_…`), then call `GET /v1/meta/capabilities` to discover
    every operation and its schemas.
  title: Statisfy API
  version: 1.0.0
servers:
  - url: https://api.statisfy.com
    description: Production
security: []
paths:
  /v1/calendar/events:
    get:
      tags:
        - calendar_events
      summary: List calendar events, past and upcoming
      description: >-
        Pages through what is on a person's calendar: the events their connected
        Google or Outlook calendar synced, and the meetings they added by hand,
        as the app's Meetings page lists them. A person's own key reads its own
        calendar; any other key names whose with `user_id` (a user's login id).
        `phase` upcoming lists events that have not ended, soonest first; past
        lists events that have, newest first; without it the window reads
        soonest first. The window is `start` to `end` on the event's start (ISO
        8601; no offset is UTC), at most 92 days, starting at most 95 days
        ahead. Without them it is the next 14 days for upcoming, the last 14 for
        past, or 14 either side of now; one alone extends 14 days from it. The
        answer names the window it read. `tag` narrows to internal (teammates
        only), external, customer (filed under an account) or book (filed under
        one of the person's accounts). Each event carries its `title`, `start`
        and `end` (ISO 8601 UTC), whether it has `ended`, its `source`, `scope`,
        `meeting_url`, `organizer` and `attendees` (each `name`, `email` and
        `type`: user, a teammate; contact; or vendor), the `account_id` it is
        filed under, whether it is `recurring`, and once the meeting was
        recorded its `activity_id` (GET /v1/meetings/{meeting_id} reads it when
        Statisfy's notetaker recorded it). A page's `next_cursor` keeps the
        first page's window and instant.
      operationId: calendar_events_list
      parameters:
        - description: >-
            upcoming: events that have not ended, soonest first; past: events
            that have, newest first
          in: query
          name: phase
          required: false
          schema:
            anyOf:
              - enum:
                  - upcoming
                  - past
                type: string
              - type: 'null'
            default: null
        - description: >-
            The window's start, ISO 8601 (no offset is UTC): events starting at
            or after it
          in: query
          name: start
          required: false
          schema:
            anyOf:
              - format: date-time
                type: string
              - type: 'null'
            default: null
        - description: >-
            The window's end, ISO 8601 (no offset is UTC): events starting at or
            before it
          in: query
          name: end
          required: false
          schema:
            anyOf:
              - format: date-time
                type: string
              - type: 'null'
            default: null
        - description: >-
            internal (teammates only), external, customer (filed under an
            account) or book (filed under one of the person's accounts)
          in: query
          name: tag
          required: false
          schema:
            anyOf:
              - enum:
                  - internal
                  - external
                  - customer
                  - book
                type: string
              - type: 'null'
            default: null
        - description: >-
            Whose calendar, by their Statisfy login id (a user's `user_id`). A
            person's own key reads theirs and may leave it out; any other key
            must send it
          in: query
          name: user_id
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            default: null
        - in: query
          name: limit
          required: false
          schema:
            default: 25
            maximum: 100
            minimum: 1
            type: integer
        - description: '`next_cursor` from the previous page'
          in: query
          name: cursor
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            default: null
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CalendarEventPage'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    CalendarEventPage:
      properties:
        data:
          items:
            $ref: '#/components/schemas/CalendarEvent'
          title: Data
          type: array
        end:
          description: The window read, ISO 8601 UTC
          title: End
          type: string
        has_more:
          default: false
          title: Has More
          type: boolean
        next_cursor:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Cursor
        start:
          description: The window read, ISO 8601 UTC
          title: Start
          type: string
      required:
        - start
        - end
        - data
      title: CalendarEventPage
      type: object
    CalendarEvent:
      properties:
        account_id:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            The account the event is filed under; null when none or several
            matched
          title: Account Id
        activity_id:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            The recording's activity id once the meeting was recorded; null
            before or without one
          title: Activity Id
        attendees:
          items:
            $ref: '#/components/schemas/Attendee'
          title: Attendees
          type: array
        end:
          anyOf:
            - type: string
            - type: 'null'
          description: ISO 8601 UTC
          title: End
        ended:
          description: Whether the event had ended when the page was read
          title: Ended
          type: boolean
        id:
          title: Id
          type: string
        meeting_url:
          anyOf:
            - type: string
            - type: 'null'
          description: The call link from the invite
          title: Meeting Url
        organizer:
          anyOf:
            - $ref: '#/components/schemas/Attendee'
            - type: 'null'
        recurring:
          default: false
          description: Whether the event is one occurrence of a series
          title: Recurring
          type: boolean
        scope:
          anyOf:
            - enum:
                - internal
                - external
              type: string
            - type: 'null'
          description: internal (teammates only) or external; null when unknown
          title: Scope
        source:
          anyOf:
            - enum:
                - google_calendar
                - microsoft_outlook
                - manual
              type: string
            - type: 'null'
          title: Source
        start:
          anyOf:
            - type: string
            - type: 'null'
          description: ISO 8601 UTC
          title: Start
        title:
          anyOf:
            - type: string
            - type: 'null'
          title: Title
      required:
        - id
        - ended
      title: CalendarEvent
      type: object
    Attendee:
      properties:
        email:
          anyOf:
            - type: string
            - type: 'null'
          title: Email
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        type:
          anyOf:
            - enum:
                - user
                - contact
                - vendor
              type: string
            - type: 'null'
          description: user (a teammate), contact or vendor; null when unknown
          title: Type
      title: Attendee
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http
      description: >-
        An API key, sent as `Authorization: Bearer stfy_live_…`. See
        [Authentication](/rest-api/authentication) for how to get one and which
        scopes it needs.

````

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