---
title: "List connected calendar accounts"
method: GET
path: "/appointments/calendars"
tags: ["Appointments"]
---

# List connected calendar accounts

`GET /appointments/calendars`

## Request

- Base URL: `https://be.graph8.com/api/v1`
- URL: `https://be.graph8.com/api/v1/appointments/calendars`
- Auth: HTTP bearer

List calendar accounts (Google, Outlook) connected to the caller's
appointments profile, each with its sub-calendars and selection state.
Reuses the in-app list_calendars logic faithfully.

## Headers

- `Authorization` string, nullable
- `X-Target-Org-Id` string, nullable

## Response `200`

Successful Response

- ConnectedCalendarResponse[]
  - `credential_id` integer, required
  - `provider` string, required
  - `email` string, nullable
  - `is_valid` boolean
  - `invalid` boolean
  - `sub_calendars` SubCalendarResponse[]
    - `external_id` string, required
    - `name` string, required
    - `is_selected` boolean
    - `is_primary` boolean
    - `read_only` boolean

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/graph8/apis/graph8-developer-api.md) · [All operations](https://skmtc.dev/graph8/apis/graph8-developer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/graph8/apis/graph8-developer-api/revisions/89fc11143b70?raw)
