---
title: "POST /api/workspaces/{workspace_id}/import/upload-file/"
method: POST
path: "/api/workspaces/{workspace_id}/import/upload-file/"
tags: ["Workspaces"]
---

# POST /api/workspaces/{workspace_id}/import/upload-file/

`POST /api/workspaces/{workspace_id}/import/upload-file/`

Uploads an exported workspace or a set of applications if the authorized user is in the workspace. The uploaded file must be a valid ZIP file containing the applications' data for future import.

## Path parameters

- `workspace_id` integer, required

## Headers

- `ClientSessionId` string, uuid

## Response `202`

- ImportResource
  - `id` integer, required
  - `name` string, required
  - `size` integer — The size of the resource in bytes.

## Other responses

- `400`
- `404`

---

[API](https://skmtc.dev/baserow/apis/baserow-api-spec.md) · [All operations](https://skmtc.dev/baserow/apis/baserow-api-spec/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/baserow/baserow-api-spec/revisions/f3396317d932/schema)
