---
title: "Adds (appends) one or more documents to the repository using an external order identifier.
This operation persists documents and replaces existing entries."
method: POST
path: "/api/Repository"
tags: ["Repository"]
---

# Adds (appends) one or more documents to the repository using an external order identifier.
This operation persists documents and replaces existing entries.

`POST /api/Repository`

## Query parameters

- `api-version` string, required

## Headers

- `api-version` string

## Request body

- InnoshipApiServiceContractRepositoryRepositoryAddRequest
  - `externalOrderId` string, nullable
  - `documents` InnoshipApiServiceContractRepositoryRepositoryDocument[], nullable
    - `name` string, nullable
    - `contents` string, nullable

## Response `200`

Documents saved

## Other responses

- `400` — Unable save documents due to errors
- `401` — Unable to authorize request

---

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