---
title: "Get all selected calendars for a given user."
method: GET
path: "/integrations/calendar/calendars/selected"
tags: ["calendar"]
---

# Get all selected calendars for a given user.

`GET /integrations/calendar/calendars/selected`

## Request

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

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

## Query parameters

- `limit` string
- `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: * while paginating the limit should be always the same * invalid limit error. Please use a value between 0 and 250
- `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)
