---
title: "(DEPRECATED) Get all events for a given calendar in a given integration."
method: GET
path: "/integrations/calendar/{integration_id}/calendars/{id_calendar}/events"
tags: ["calendar"]
---

# (DEPRECATED) Get all events for a given calendar in a given integration.

`GET /integrations/calendar/{integration_id}/calendars/{id_calendar}/events`

## Request

- Base URL: `https://localhost:8080/api/v9`
- URL: `https://localhost:8080/api/v9/integrations/calendar/{integration_id}/calendars/{id_calendar}/events`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/toggl/apis/toggl-api/docs/integrations/calendar/:integration_id/calendars/:id_calendar/events/get.ts> (a function with typed inputs; its response is checked against the schema)

Get all events for a given calendar in a given integration.

## Path parameters

- `integration_id` integer, required
- `id_calendar` string, required

## Query parameters

- `start_date` string, required
- `end_date` string, required
- `limit` string
- `page_token` string

## Response `200`

Events successfully retrieved

- HandlercalendarEventsResponse
  - `events` ModelsEvent[]
    - `all_day` boolean
    - `background` string
    - `calendar_event_id` integer
    - `calendar_id` integer
    - `end_time` string
    - `external_id` string
    - `foreground` string
    - `html_link` string
    - `ical_uid` string: This is an unique ID used to avoid duplicate events when getting information from multiple sources. E. G. the mobile may get calendar events without BE integration, so they should be able to tell if an event is repeated.
    - `start_time` string
    - `title` string
    - `updated` string
  - `next_page_token` string

## Other responses

- `400`: Possible error messages: * integration\_id should be a positive value * calendar\_id should be a positive value * start\_date has invalid format * end\_date has invalid format * start\_date is not before end\_data * error fetching data from the provider
- `401`: Possible error messages: * calendar access has been expired or revoked * user account may have been deleted at the provider
- `402`: outlook calendar integration is a starter feature
- `403`: you do not have access to the integration
- `404`: Possible error messages: * invalid calendar provider * calendar integration does not exist * calendar with ID: {calendar\_id} for user {user\_id} not found * calendar may have been deleted at the provider or user don't have access to it
- `500`: Internal Server Error

---

[API](https://skmtc.dev/toggl/apis/toggl-api.md) - [All operations](https://skmtc.dev/toggl/apis/toggl-api/llms.txt) - [OpenAPI document](https://skmtc.dev/toggl/apis/toggl-api/revisions/3085aee16990?raw)
