---
title: "List calendars"
method: GET
path: "/v1/calendars"
tags: ["Calendar"]
---

# List calendars

`GET /v1/calendars`

## Request

- Base URL: `https://api.officina.it`
- URL: `https://api.officina.it/v1/calendars`
- Auth: HTTP bearer

Returns every calendar container in the company, unpaginated
(workshops have a handful at most). The mobile calendar screen
uses them for the "Calendario" filter sheet and to resolve
entry colours; filter entries with `?calendar_id=` on
`GET /v1/calendar-entries`.

## Response `200`

All calendars.

- object
  - `object` 'list', required: Polymorphic discriminator.
  - `data` Calendar[], required: Page of items. Each item carries its own `object` field.
    - `object` 'calendar', required
    - `id` string, required
    - `name` string, required
    - `default_color` string, required
  - `has_more` boolean, required: True if more results exist beyond this page. Use this for the "load more" UI — `data.length` alone is unreliable because a full page may still be the last page.
  - `next_starting_after` string: Opaque cursor for the next page. Present (and non-empty) when `has_more` is `true`; omitted otherwise. Pass the value verbatim as `?starting_after=` on the follow-up request. Clients MUST NOT parse it — today it encodes an offset, tomorrow it may encode a `(created_at, id)` tuple without a wire-visible change.
  - `url` string, required: The request path that produced this list.

## Other responses

- `401`: Missing, malformed, expired, or wrong-audience bearer token.
- `402`: The company has no active subscription, or its plan does not include API access. API access is included in the Business and Illimitato plans.
- `403`: The authenticated user lacks the required permission.
- `500`: Unhandled server error. Detail is logged, not exposed.

---

[API](https://skmtc.dev/officina/apis/officina-it-api.md) · [All operations](https://skmtc.dev/officina/apis/officina-it-api/llms.txt) · [OpenAPI document](https://skmtc.dev/officina/apis/officina-it-api/revisions/7da3fccfe551?raw)
