---
title: "Import a new table for reference within a Simulation spec"
method: POST
path: "/projects/{projectId}/tableimports"
tags: ["Table Imports"]
---

# Import a new table for reference within a Simulation spec

`POST /projects/{projectId}/tableimports`

Table import requires the following steps:
1. Request a temporary storage location via `POST /storage`.
2. Upload your table definition using the HTTP `PUT` method to the `url` provided in the temporary storage location response object.
3. Import via `POST /projects/{projectId}/tableimports` and include the `storageId` provided in the temporary storage location response object.

## Request body

- TableImportRequest
  - `location` TableImportRequestLocation, required
    - `storageId` string, required — The storage ID of the temporary storage location where the table has been uploaded.

## Response `200`

Successful import of the table.

- TableImportResponse
  - `tableId` string, uuid, required — The ID of the imported table.

## Other responses

- `400` — Bad request.
- `404` — Not found.

---

[API](https://skmtc.net/simscale/apis/simscale-api.md) · [All operations](https://skmtc.net/simscale/apis/simscale-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/simscale/simscale-api/revisions/53223abaceb7/schema)
