---
title: "Combine files"
method: POST
path: "/files/combine"
tags: ["file"]
---

# Combine files

`POST /files/combine`

Combine files together into a new file. Column names and types must match.

## Request body

- FilesRequest
  - `addInputFilename` boolean — If set to "true", will add an extra column containing the input filename.
  - `fileName` string
  - `folderHandle` string
  - `handles` string[]
  - `inPlace` boolean — If set to "true", will append the rows from all other sheets to the first sheet on the list.

## Response `200`

OK

- unknown

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error

---

[API](https://skmtc.net/freshdesk/apis/gigasheet-api.md) · [All operations](https://skmtc.net/freshdesk/apis/gigasheet-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/freshdesk/gigasheet-api/versions/d1e5cbb24557/schema)
