---
title: "POST /v2/integrations/google-drive/files"
method: POST
path: "/v2/integrations/google-drive/files"
tags: ["Drive integration service"]
---

# POST /v2/integrations/google-drive/files

`POST /v2/integrations/google-drive/files`

## Request

- Base URL: `https://app.metricool.com/api`
- URL: `https://app.metricool.com/api/v2/integrations/google-drive/files`
- Auth: none declared

## Request body

- DriveFilesRequest
  - `orderBy` string
  - `pageToken` string
  - `pageSize` integer
  - `q` string
  - `includeItemsFromAllDrives` boolean
  - `supportsAllDrives` boolean

## Response `200`

OK

- DriveFileListResponse
  - `nextPageToken` string
  - `files` DriveFileResponse[]
    - `createdTime` string
    - `iconLink` string
    - `id` string
    - `kind` string
    - `mimeType` string
    - `name` string
    - `size` string
    - `modifiedTime` string
    - `ownedByMe` boolean
    - `owners` DriveUserDetailsResponse[]
      - `displayName` string
      - `emailAddress` string
      - `kind` string
      - `me` boolean
      - `permissionId` string
      - `photoLink` string
    - `parents` string[]
    - `permissions` DrivePermissionsResponse[]
      - `deleted` boolean
      - `displayName` string
      - `emailAddress` string
      - `id` string
      - `kind` string
      - `photoLink` string
      - `role` string
      - `type` string
    - `shared` boolean
    - `webViewLink` string
    - `webContentLink` string
    - `thumbnailLink` string
    - `imageMediaMetadata` ImageMediaMetadataResponse
      - `rotation` integer
      - `height` integer
      - `width` integer
    - `videoMediaMetadata` VideoMediaMetadataResponse
      - `durationMillis` string
      - `height` integer
      - `width` integer

---

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