---
title: "POST /share/{shareId}/base/copy"
method: POST
path: "/share/{shareId}/base/copy"
tags: ["base-share"]
---

# POST /share/{shareId}/base/copy

`POST /share/{shareId}/base/copy`

Copy a shared base to a target space

## Path parameters

- `shareId` string, required

## Request body

- object
  - `spaceId` string, required — The target space ID to copy the base to
  - `name` string — The name of the copied base
  - `withRecords` boolean — Whether to copy records
  - `baseId` string — The target base ID to copy into. If provided, tables will be added to the existing base instead of creating a new one.

## Response `200`

Returns the copied base

- object
  - `id` string, required
  - `name` string, required
  - `spaceId` string, required

---

[API](https://skmtc.net/teable/apis/teable-app.md) · [All operations](https://skmtc.net/teable/apis/teable-app/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/teable/teable-app/revisions/7515f3b33d79/schema)
