---
title: "Uploads diagnosis key datasets."
method: POST
path: "/diagnosiskeys/upload"
tags: ["Diagnosis Keys Exchange Interface", "Upload"]
---

# Uploads diagnosis key datasets.

`POST /diagnosiskeys/upload`

Uploads the given batch to the server. Uploader Information is given by the client certificate.

## Headers

- `batchTag` string, required
- `batchSignature` string, required
- `Content-Type` string, required

## Response `201`

Database Entries created.

## Other responses

- `207` — Data partially added with warnings. More details in document.
- `400` — Signature not valid. Bad request.
- `403` — Forbidden call in cause of missing or invalid client certificate.
- `406` — Data format or content is not valid.
- `413` — Data already exist.
- `500` — Not able to write data. Retry please.

---

[API](https://skmtc.net/eu-federation-gateway-service/apis/efgs-federation-gateway.md) · [All operations](https://skmtc.net/eu-federation-gateway-service/apis/efgs-federation-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/eu-federation-gateway-service/efgs-federation-gateway/revisions/172696266496/schema)
