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

# Get Bookmarked Calendar Events

> Query bookmarked calendar events with the same functionality as regular calendar events

The `getBookmarkedCalendarEvents` query works exactly like the standard calendar events query, but returns only calendar events that have been bookmarked by the current user.

<Card title="Calendar Events Documentation" icon="calendar" href="/OpignoEnterpriseAPI/GetCalendarEvents#available-calendarevents">
  For complete documentation on parameters, filtering, pagination, and response structure, see the Calendar Events documentation
</Card>

## Key Difference

The only difference between `getBookmarkedCalendarEvents` and `getCalendarEvents` is that this query automatically filters results to show **only bookmarked events** for the authenticated user.

## Basic Usage

<CodeGroup>
  ```graphql Basic Query theme={null}
  query getBookmarkedCalendarEvents($fromDate: DateTime!) {
    getBookmarkedCalendarEvents(
      fromDate: $fromDate
      first: 10
    ) {
      edges {
        node {
          id
          title
          startDate
          endDate
          type
          description
        }
      }
      pageInfo {
        hasNextPage
        endCursor
      }
      totalCount
    }
  }
  ```

  ```json Example Response theme={null}
  {
    "data": {
      "getBookmarkedCalendarEvents": {
        "edges": [
          {
            "node": {
              "id": "event_123",
              "title": "Advanced JavaScript Training",
              "startDate": "2024-01-20T09:00:00Z",
              "endDate": "2024-01-20T17:00:00Z",
              "type": "TRAINING",
              "description": "Comprehensive JavaScript training session"
            }
          }
        ],
        "pageInfo": {
          "hasNextPage": false,
          "endCursor": "eyJpZCI6ImV2ZW50XzEyMyJ9"
        },
        "totalCount": 1
      }
    }
  }
  ```
</CodeGroup>

## Authentication Required

<Warning>
  This query requires user authentication. Anonymous users will receive no results since bookmarks are user-specific.
</Warning>

## Related Operations

<CardGroup cols={2}>
  <Card title="Toggle Bookmark" icon="toggle-on" href="/OpignoEnterpriseAPI/ToggleBookmark">
    Add or remove calendar event bookmarks
  </Card>

  <Card title="Get Calendar Events" icon="calendar" href="/OpignoEnterpriseAPI/GetCalendarEvents">
    View all calendar events (not just bookmarked ones)
  </Card>
</CardGroup>
