---
title: "Duplicate DKIM Key"
method: POST
path: "/api/v1/add/dkim_duplicate"
tags: ["DKIM"]
---

# Duplicate DKIM Key

`POST /api/v1/add/dkim_duplicate`

Using this endpoint you can duplicate the DKIM Key of one domain.

## Request body

- object
  - `fron_domain` string — the domain where the dkim key should be copied from
  - `to_domain` string — the domain where the dkim key should be copied to

## Response `200`

OK

- object
  - `log` unknown[] — contains request object
    - unknown
  - `msg` unknown[]
    - unknown
  - `type` 'success' | 'danger' | 'error'

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.dev/mailcow/apis/mailcow-api.md) · [All operations](https://skmtc.dev/mailcow/apis/mailcow-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mailcow/mailcow-api/revisions/ae01d1d7886a/schema)
