---
title: "Request a new DKIM Key"
method: POST
path: "/senders/{signatureid}/requestnewdkim"
tags: ["Sender Signatures API"]
---

# Request a new DKIM Key

`POST /senders/{signatureid}/requestnewdkim`

Requests a new DKIM key to be created. Until the DNS entries are confirmed,
the new values will be in the `DKIMPendingHost` and `DKIMPendingTextValue` fields.
After the new DKIM value is verified in DNS, the pending values will migrate to
`DKIMTextValue` and `DKIMPendingTextValue` and Postmark will begin to sign emails
with the new DKIM key.

## Path parameters

- `signatureid` integer, required

## Headers

- `X-Postmark-Account-Token` string, required

## Response `200`

OK

- StandardPostmarkResponse — A Postmark API error.
  - `ErrorCode` integer
  - `Message` string

## Other responses

- `422` — An error was generated due to incorrect use of the API. See the Message associated with this response for more information.
- `500` — Indicates an internal server error occurred.

---

[API](https://skmtc.net/postmarkapp/apis/postmark-account-level-api.md) · [All operations](https://skmtc.net/postmarkapp/apis/postmark-account-level-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/postmarkapp/postmark-account-level-api/versions/bbbcda943285/schema)
