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

# Get all calendars for a given integration.

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

## Request

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

Get all calendars for a given integration that was previously saved in the database.

## Path parameters

- `integration_id` integer, required

## Query parameters

- `limit` integer
- `selected` boolean
- `page_token` string

## Response `200`

Calendars successfully retrieved

- HandlercalendarCalendarsResponse
  - `calendars` ModelsCalendar[]
    - `background_color` string
    - `calendar_id` integer
    - `calendar_integration_id` integer
    - `created_at` string
    - `default_planned_task_id` integer
    - `default_project_id` integer
    - `default_workspace_id` integer
    - `deleted_at` string
    - `external_id` string
    - `foreground_color` string
    - `name` string
    - `remind_tracking` boolean: The following fields are deprecated but we need to keep them for backward compatibility with previous versions of mobile apps
    - `selected` boolean
    - `updated_at` string
  - `next_page_token` string

## Other responses

- `400`: Possible error messages: * invalid integration\_id value * while paginating the limit should be always the same * invalid limit error. Please use values between 0 and 250
- `403`: you do not have access to the integration
- `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)
