# Google Drive API Documentation

This is the complete API documentation for connecting to the Google Drive API using MindCloud's Universal API.

MindCloud offers one normalized API to access 3,400+ apps from a single place. It centralizes authentication and normalizes app APIs so they are easier and more consistent to use.

## Quickstart

1. A **MindCloud account** — sign in or create an account at [MindCloud](https://app.mindcloud.co).
2. A **MindCloud API Key** — create one in [API Keys](https://app.mindcloud.co/user/api-keys). Keep it on your server.
3. At least one **Google Drive connection** — create or choose one in [Connections](https://app.mindcloud.co/credentials). Note its `connectionId`.

```text
POST https://connect.mindcloud.co/v2/universal/apps/googleDrive/actions/{actionSlug}/run
```

## Google Drive actions

- POST `copy-file` Copy File
- POST `create-file` Create File
- POST `create-folder` Create Folder
- GET `download-file` Download File
- GET `export-file` Export File
- GET `get-drive-user-auth` Get Drive User (Auth)
- GET `get-parent-folder` Get Parent Folder
- GET `list-documents` List Documents
- GET `list-files` List Files
- GET `list-folders` List Folders
- GET `list-shared-drives` List Shared Drives
- GET `list-spreadsheets` List Spreadsheets
- PUT `move-file` Move File
- GET `search-files-and-folders` Search Files and Folders
- PUT `trash-file` Trash File
- POST `upload-file` Upload File
