---
title: "Add file(s) to box"
method: POST
path: "/files/"
---

# Add file(s) to box

`POST /files/`

This call lets you add one or more files from Google Drive to a **single box**. Please note that the "Try it" functionality is nonfunctional in this example.

## Request body

- object
  - `driveFileId` string — The ID from Google Drive that matches a file you're adding
  - `driveBoxKey` string — The key of the box you'd like to add this file to

## Response `200`

200

- object[]
  - `fileType` string
  - `fileOwner` string
  - `creationTimestamp` integer
  - `lastUpdatedTimestamp` integer
  - `size` string
  - `mimeType` string
  - `fileName` string
  - `mainFileName` string
  - `driveUrl` string
  - `driveFileId` string
  - `driveIconUrl` string
  - `driveOwnerId` string
  - `driveBoxKey` string
  - `isCurrentUserOwnerInDrive` boolean
  - `fileKey` string
  - `key` string
  - `boxKey` string
  - `lastSavedTimestamp` integer

## Other responses

- `400` — 400

---

[API](https://skmtc.net/streakyc/apis/directory-fields.md) · [All operations](https://skmtc.net/streakyc/apis/directory-fields/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/streakyc/directory-fields/versions/f9ece0b33f19/schema)
