cPanel Email Auth API

The EmailAuth module for UAPI.

GitHub OpenAPI

Operations 12

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /EmailAuth/apply_dmarc Apply a DMARC record to domains · Apply DMARC records to domains #
Ask an LLM
“How do I publish a DMARC record for my domains?”
“Can I set a DMARC policy like p=reject for several domains at once?”
Tell an agent
Apply DMARC policy {policy} to {domain}.
Publish DMARC record {policy} across my domains.
GET /EmailAuth/disable_dkim Remove DKIM records from domains · Remove domains' DKIM records #
Ask an LLM
“How do I stop DKIM signing for a domain?”
“Can I remove DKIM records from several domains in one call?”
Tell an agent destructive · confirm first
Remove the DKIM record from {domain}.
Disable DKIM signing for {domain} and its subdomains.
GET /EmailAuth/enable_dkim Enable DKIM signing for domains · Enable domains' DKIM records #
Ask an LLM
“How do I turn on DKIM signing for my domains?”
“Does enabling DKIM create a new key if none exists?”
Tell an agent
Enable DKIM signing for {domain}.
Turn on DKIM for {domain} and install a new key if needed.
GET /EmailAuth/ensure_dkim_keys_exist Ensure valid DKIM private keys exist · Validate domains' DKIM private keys #
Ask an LLM
“How do I make sure each domain has a valid DKIM key?”
“Will invalid DKIM keys be replaced automatically?”
Tell an agent
Ensure a valid DKIM key exists for {domain}.
Replace or generate a DKIM key for {domain}.
GET /EmailAuth/fetch_dkim_private_keys Get a domain's DKIM private key · Return domains' DKIM private keys #
Ask an LLM
“Where do I get the private key used for DKIM signing?”
“Can I download a domain's DKIM private key in PEM format?”
Tell an agent
Fetch the DKIM private key for {domain}.
Show the PEM-formatted DKIM key used by {domain}.
GET /EmailAuth/install_dkim_private_keys Install existing DKIM private keys · Add domains' DKIM record keys #
Ask an LLM
“How do I install my own DKIM private key instead of generating one?”
“Can I add a DKIM key I already have for a domain?”
Tell an agent
Install DKIM private key {key} for {domain}.
Add my existing DKIM key {key} to {domain}.
GET /EmailAuth/install_spf_records Install SPF records for domains · Add domains' SPF records #
Ask an LLM
“How do I add a Sender Policy Framework record to a domain?”
“Can I install an SPF record for several domains in one request?”
Tell an agent
Install SPF record {record} for {domain}.
Add SPF record {record} to {domain} on the DNS server.
GET /EmailAuth/remove_dmarc Remove DMARC records from domains · Remove DMARC record from domain(s) #
Ask an LLM
“How do I remove the DMARC record from a domain?”
“Can I clear all DMARC records across my account?”
Tell an agent destructive · confirm first
Remove the DMARC record from {domain}.
Delete the DMARC record for every domain in my account.
GET /EmailAuth/validate_current_dkims Check DKIM records for domains · Validate domains' DKIM records #
Ask an LLM
“Is the DKIM record for my domain valid?”
“Can I check the DKIM records for several domains?”
Tell an agent
Validate the DKIM record for {domain}.
Check that {domain} has a valid DKIM record.
GET /EmailAuth/validate_current_dmarcs Check DMARC records for domains · Validate domains' DMARC records #
Ask an LLM
“Is the DMARC record for my domain valid?”
“Can I validate DMARC records across all my domains?”
Tell an agent
Validate the DMARC record for {domain}.
Check that DMARC is set correctly on every domain in my account.
GET /EmailAuth/validate_current_ptrs Check PTR records for sending IPs · Validate domains' PTR records #
Ask an LLM
“Do the IPs my domains send mail from have valid reverse DNS?”
“Can I check the PTR and A/AAAA records for a domain?”
Tell an agent
Validate the PTR records for {domain}.
Check reverse DNS for the IPs {domain} sends mail from.
GET /EmailAuth/validate_current_spfs Check SPF records for domains · Validate domains' SPF records #
Ask an LLM
“Is the SPF record for my domain valid?”
“Can I check SPF records for several domains?”
Tell an agent
Validate the SPF record for {domain}.
Check that SPF is set correctly on {domain}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/cpanel:cpanel-emailauth-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

cpanel-emailauth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    email: cs@cpanel.net
    name: WebPros International, LLC
    url: https://cpanel.net/support/
  description: UAPI accesses the cPanel interface's features. Use this API to access and modify cPanel account data and settings.
  license:
    name: cPanel License
    url: https://cpanel.net/legal-notices/
  termsOfService: https://cpanel.net/legal-notices/
  title: cPanel U Email Auth API
  version: 11.137.9999.106
  x-api-evangelist-provenance: 'Harvested verbatim from cPanel''s developer portal on 2026-09-05 via the MCP tool get-full-api-description at https://api.docs.cpanel.net/mcp. ONE mechanical change was made before storage: example values containing PEM private-key or certificate blocks, and AWS-access-key-shaped example strings, were replaced with REDACTED_* placeholders so the file can be stored in a public git repository without tripping secret scanning. No path, operation, parameter, schema or description was altered, added or removed.'
servers:
- description: A server running cPanel.
  url: https://{host}:{port}/execute
  variables:
    host:
      default: cpanel-server.tld
      description: The hostname of a server running cPanel.
    port:
      default: '2083'
      description: The cPanel port.
security:
- BasicAuth: []
tags:


# --- truncated at 32 KB (133 KB total) ---
# Full source: https://artifacts.apis.io/cpanel/openapi/cpanel-emailauth-api-openapi.yml