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

# List Calendar Events

> Requires `calendarEvents: true` in the credential's `entitiesToSync` selection and a connector that supports this operation. [Choose what data to sync](https://rollout.com/docs/advanced-guides/controlling-which-records-sync-with-rollout), or [fix an entity that is not configured to sync](https://rollout.com/docs/troubleshooting/entity-not-configured-to-sync).



## OpenAPI

````yaml /openapi/calendar.json get /calendarEvents
openapi: 3.0.3
info:
  title: Universal Calendar API Documentation
  description: Development documentation
  version: '1.0'
servers:
  - url: https://calendar.universal.rollout.com/api
security: []
paths:
  /calendarEvents:
    get:
      tags:
        - Calendar Events
      summary: List Calendar Events
      description: >-
        Requires `calendarEvents: true` in the credential's `entitiesToSync`
        selection and a connector that supports this operation. [Choose what
        data to
        sync](https://rollout.com/docs/advanced-guides/controlling-which-records-sync-with-rollout),
        or [fix an entity that is not configured to
        sync](https://rollout.com/docs/troubleshooting/entity-not-configured-to-sync).
      operationId: getCalendarEvents
      parameters:
        - name: sort
          in: query
          required: false
          schema:
            type: string
            enum:
              - id
              - created
              - updated
              - start
              - end
        - name: id
          in: query
          required: false
          schema:
            type: string
        - name: rolloutUpdated.gte
          in: query
          required: false
          schema:
            type: string
        - name: rolloutUpdated.lte
          in: query
          required: false
          schema:
            type: string
        - name: next
          in: query
          required: false
          schema:
            type: string
            description: >-
              Cursor of the page to return, from the previous page's
              `_metadata.next`. Can't be combined with `offset`.
        - name: offset
          in: query
          required: false
          schema:
            type: number
            description: >-
              Number of records to skip, for offset paging. Defaults to 0. Can't
              be combined with `next`.
        - name: limit
          in: query
          required: false
          schema:
            default: 10
            description: Records per page, capped at 100.
            type: number
        - name: fields
          in: query
          required: false
          schema:
            type: string
            description: >-
              Comma-separated top-level fields to return; the parameter can also
              be repeated, once per field. `id` is always returned. Omit it, or
              pass `allFields`, to get every field, including `original`.
              Unknown names return 400.
      responses:
        '200':
          description: Response for status 200
          content:
            application/json:
              schema:
                type: object
                properties:
                  _metadata:
                    type: object
                    properties:
                      collection:
                        type: string
                        enum:
                          - calendarEvents
                        description: The key of this response that holds the records.
                      offset:
                        type: number
                        description: >-
                          Number of records skipped before this page: the
                          `offset` requested, or 0 on a cursor page.
                      limit:
                        type: number
                        description: >-
                          Page size applied: the `limit` requested, capped at
                          100, or 10 by default.
                      total:
                        type: number
                        description: >-
                          Number of records matching the request, across all
                          pages.
                      next:
                        nullable: true
                        description: >-
                          Cursor of the next page, to pass as `next`; null on
                          the last page.
                        type: string
                      nextLink:
                        nullable: true
                        description: >-
                          URL of the next page, this request's with `next` set;
                          null on the last page.
                        type: string
                    required:
                      - collection
                      - offset
                      - limit
                      - total
                      - next
                      - nextLink
                    description: How this page relates to the whole collection.
                  calendarEvents:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        calendarId:
                          description: Present unless the request's `fields` leaves it out.
                          nullable: true
                          type: string
                        title:
                          description: Present unless the request's `fields` leaves it out.
                          type: string
                        description:
                          description: Present unless the request's `fields` leaves it out.
                          nullable: true
                          type: string
                        location:
                          description: Present unless the request's `fields` leaves it out.
                          nullable: true
                          type: string
                        start:
                          description: Present unless the request's `fields` leaves it out.
                          type: string
                        end:
                          description: Present unless the request's `fields` leaves it out.
                          type: string
                        isAllDay:
                          description: Present unless the request's `fields` leaves it out.
                          nullable: true
                          type: boolean
                        timezone:
                          description: Present unless the request's `fields` leaves it out.
                          nullable: true
                          type: string
                        organizer:
                          description: Present unless the request's `fields` leaves it out.
                          nullable: true
                          type: object
                          properties:
                            name:
                              type: string
                            email:
                              nullable: true
                              type: string
                            status:
                              type: string
                            comment:
                              nullable: true
                              type: string
                          required:
                            - name
                            - email
                        attendees:
                          description: Present unless the request's `fields` leaves it out.
                          type: array
                          items:
                            type: object
                            properties:
                              name:
                                type: string
                              email:
                                nullable: true
                                type: string
                              status:
                                type: string
                              comment:
                                nullable: true
                                type: string
                            required:
                              - name
                              - email
                        status:
                          description: Present unless the request's `fields` leaves it out.
                          nullable: true
                          type: string
                        visibility:
                          description: Present unless the request's `fields` leaves it out.
                          nullable: true
                          type: string
                        recurrence:
                          description: Present unless the request's `fields` leaves it out.
                          nullable: true
                          type: object
                          properties:
                            rrule:
                              nullable: true
                              type: string
                            exdates:
                              type: array
                              items:
                                type: string
                          required:
                            - rrule
                        conference:
                          description: Present unless the request's `fields` leaves it out.
                          nullable: true
                          type: object
                          properties:
                            provider:
                              nullable: true
                              type: string
                            url:
                              nullable: true
                              type: string
                            dialIn:
                              nullable: true
                              type: string
                          required:
                            - provider
                            - url
                        busy:
                          description: Present unless the request's `fields` leaves it out.
                          nullable: true
                          type: boolean
                        capacity:
                          description: Present unless the request's `fields` leaves it out.
                          nullable: true
                          type: number
                        hideParticipants:
                          description: Present unless the request's `fields` leaves it out.
                          nullable: true
                          type: boolean
                        created:
                          description: Present unless the request's `fields` leaves it out.
                          nullable: true
                          type: string
                        updated:
                          description: Present unless the request's `fields` leaves it out.
                          nullable: true
                          type: string
                        rolloutUpdated:
                          description: Present unless the request's `fields` leaves it out.
                          type: string
                      required:
                        - id
                    description: The records of this page, under the collection's name.
                required:
                  - _metadata
                  - calendarEvents
        '400':
          description: Response for status 400
          content:
            application/json:
              schema:
                type: object
                properties:
                  errorMessage:
                    type: string
                required:
                  - errorMessage
        '409':
          description: Response for status 409
          content:
            application/json:
              schema:
                type: object
                properties:
                  errorMessage:
                    type: string
                    enum:
                      - >-
                        Data for this credential is not ready yet. Please try
                        again.
                required:
                  - errorMessage
      security:
        - jwt: []
          credential_id: []
components:
  securitySchemes:
    jwt:
      type: http
      scheme: bearer
      description: Consumer JWT minted by the tenant's backend
    credential_id:
      type: apiKey
      in: header
      name: X-Rollout-Credential-Id
      description: The Rollout Credential ID to use for queries/mutations

````

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