---
title: "List Google Drive Folders"
method: GET
path: "/v1/organizations/connections/{connection_identifier}/folders"
tags: ["Organization Connections"]
---

# List Google Drive Folders

`GET /v1/organizations/connections/{connection_identifier}/folders`

List folders in Google Drive for folder selection in sync configuration.

Enables users to browse and select folders when configuring sync operations.
Only available for Google Drive connections.

**Use Cases:**
- Browse available folders for sync configuration
- Select source folder for bucket sync
- Navigate nested folder structures

**Example:**
```bash
curl -X GET "http://localhost:8000/v1/organizations/connections/conn_abc123/folders?path=/Marketing" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

## Path parameters

- `connection_identifier` string, required — Connection identifier - either connection ID (conn_...) or name. The system will automatically resolve names to IDs.

## Query parameters

- `path` string — Parent folder path to list from

## Response `200`

Successful Response

- ListFoldersResponse — Response payload for listing Google Drive folders. Returns a list of folders available at the specified path, enabling users to browse and select folders for sync configuration.
  - `results` FolderItem[], required — List of folders found at the specified parent path. Only includes folders (not files). Empty list if no folders found or path doesn't exist.
    - `id` string, required — REQUIRED. Folder ID in Google Drive. Use this ID when configuring sync operations. Format: Google Drive folder identifier (e.g., '0AH-Xabc123').
    - `name` string, required — REQUIRED. Display name of the folder. Human-readable name shown in the Google Drive UI.
    - `path` string, required — REQUIRED. Full path from root to this folder. Format: '/' for root, '/FolderName' for first level, '/Parent/Child' for nested folders.
    - `mime_type` string, required — REQUIRED. MIME type identifier for folders. Always 'application/vnd.google-apps.folder' for folders.
  - `parent_path` string, required — The parent folder path that was queried. This is the path specified in the request (or '/' for root). Use this to show breadcrumb navigation in UI.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Validation Error
- `500` — Internal Server Error

---

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