cPanel WHM icon

cPanel WHM

Full cPanel WHM API — all 622 operations across Accounts, DNS, Mail, SSL, Backups, Databases and more

Actions262

Mail → Return domain's DKIM private key

AI-generated

Summary

Retrieve the DKIM private key for a specified domain from the WHM mail service.

Inputs

  • Domain (required) — The queried domain for which to return the DKIM private key. To retrieve multiple domain DKIM keys, increment the parameter name (e.g., domain-1, domain-2).

Output shape

a JSON object containing the DKIM private key associated with the requested domain(s).

The operation expects at least one domain parameter. Multiple domains can be retrieved by incrementing the parameter name as domain-1, domain-2, etc. The response may contain one or more DKIM private keys corresponding to the requested domains.

Links

Discussion