---
title: "Get a folder by its ID and its contents"
method: GET
path: "/user/folders/{folderId}"
tags: ["folders"]
---

# Get a folder by its ID and its contents

`GET /user/folders/{folderId}`

## Path parameters

- `folderId` string, required

## Response `200`

The folder object with events

- ModelsFolder
  - `_id` string
  - `color` string
  - `eventIds` string[]
  - `isDeleted` boolean
  - `name` string
  - `userId` string

## Other responses

- `400` — Invalid user ID or folder ID
- `404` — Folder not found
- `500` — Failed to get events in folder

---

[API](https://skmtc.net/schej-it/apis/schej-it-api.md) · [All operations](https://skmtc.net/schej-it/apis/schej-it-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/schej-it/schej-it-api/revisions/c4d497429354/schema)
