---
title: "Import Termbase"
method: POST
path: "/termbases/{termbaseId}/imports"
tags: ["Termbase Import"]
---

# Import Termbase

`POST /termbases/{termbaseId}/imports`

Generates an asynchronous import operation.<br>
Use the Poll Import Termbase endpoint to poll until the import status is `done`.<br>

## Query parameters

- `strictImport` boolean
- `duplicateEntriesStrategy` 'ignore' | 'merge' | 'overwrite'

## Headers

- `Authorization` string, required
- `X-LC-Tenant` string, required

## Response `200`

OK

- TermbaseImportResponse
  - `id` string, required — The unique identifier of the import operation.
  - `status` 'queued' | 'processing' | 'done' | 'cancelled' | 'failed' | 'error', required — The status of the import operation.<br> `queued` - The import passed the structural validation and it's waiting to be processed.<br> `processing` - The import is in progress.<br> `done` - The import was successfully processed and at least an entry changed its structure ( either inserted or modified )<br> `cancelled` - The import process was interrupted.<br> `failed` - The import was unsuccessful. Either one of the import files is not compliant with the TBX structure or no entry changed during the import process.<br> `error` - The import was unsuccessful due to an internal error.

## Other responses

- `400` — Error codes: * "invalid": Invalid input in the query parameter mentioned in the “name” field on the error response.
- `401` — The user could not be identified.
- `403` — Error codes: * "forbidden": - The authenticated user is not allowed to read entry. * "entitlementMissing": - Your subscription does not include access to the requested type of benefit.
- `409` — Error codes: * "invalidStatus": Cannot import as the termbase is currently being processed.

---

[API](https://skmtc.net/rws/apis/trados-cloud-platform-api.md) · [All operations](https://skmtc.net/rws/apis/trados-cloud-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rws/trados-cloud-platform-api/revisions/d42dac7c28a3/schema)
