Import Documents
See the Document Object reference for the structure of the document payload.
/api/2026-03/import/documentsRequest Body
JSON BodySent as JSON in the request body.
| Parameter | Type | Description |
systemName* | string | Identifier for the system you are importing from, e.g. an archive |
webhook | uri | Endpoint at the importing system that gets notified by POST when import job is done. Notification contains the id of the import job, the state and an overview. |
context | object | An object that is passed as context in the body of the request to the webhook. Limited to 8192 Bytes. |
documents* | array | An array of documents to import. Each entry is an object with the following keys: id: a unique id (stored as externalId in Livingdocs) that identifies the document on your end, must be unique within your project. title: the title that the document should get in livingdocs checksum: string to identify changes, e.g. an updated_at timestamp contentType: the content type that the document should get in livingdocs publishControl: An object with
publicationDate: ({{< deprecated-in "release-2023-03" >}}) content: (optional) An array of livingdocs components, must conform to your channel-config otherwise throws a validation error design: (optional) An object with metadata: (optional) An object of metadata, must conform to your channel-config otherwise throws a validation error translations: (optional) An object of translations flags: (optional) define additional import logic:
|
Description
The document import does both create and update documents. The import remembers the externalId / systemName pair and if an import matches an existing pair, it will update (Hint: consider how to rebuild the externalId when you want to update documents). The document import in Livingdocs is asynchronous. You post a batch of documents that you want to import and get back an id with which you can query later to get your result.
Use Cases
- Initial Import from a legacy system
Responses
/api/2026-03/import/documents/statusQuery Parameters
Query StringPassed as URL query string. Comma-separated values for arrays (e.g. ?contentTypes=regular,author).
| Parameter | Type | Description |
id* | string | The id that Livingdocs provided you for your prior call to |
Description
This endpoint allows you to check the status of a previously initiated document import. The result will indicate whether the import has finished and its state.