cPanel GPG API

The GPG module for UAPI.

GitHub OpenAPI

Operations 7

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 /GPG/delete_keypair Delete a GPG key pair · Delete GnuPG key pair #
Ask an LLM
“How do I remove a GPG key pair from my account?”
“Does deleting a GPG key remove both the public and secret parts?”
Tell an agent destructive · confirm first
Delete the GPG key pair with ID {key_id}.
Remove GPG key {key_id} from my account.
GET /GPG/export_public_key Export a GPG public key · Export GnuPG public key #
Ask an LLM
“Can I download the public part of a GPG key?”
“Where do I get a GPG public key to share?”
Tell an agent
Export the public key {key_id}.
Get the public part of GPG key {key_id}.
GET /GPG/export_secret_key Export a GPG secret key · Export GnuPG secret key #
Ask an LLM
“How do I export my GPG secret key?”
“Can I export a secret key with a passphrase protecting it?”
Tell an agent
Export the secret key {key_id} using passphrase {passphrase}.
Get GPG secret key {key_id}.
GET /GPG/generate_key Generate a GPG key · Create GnuPG key #
Ask an LLM
“How do I create a new GPG key for my email?”
“Can I set an expiration date on a newly generated GPG key?”
Tell an agent
Generate a GPG key for {name} <{email}> with passphrase {passphrase}.
Create a {keysize}-bit GPG key for {name} <{email}> expiring {expire}.
GET /GPG/import_key Import a GPG key · Import GnuPG key #
Ask an LLM
“How do I import a GPG key from key data?”
“Can I add someone's public key to my keyring?”
Tell an agent
Import the GPG key {key_data}.
Add public key data {key_data} to my keyring.
GET /GPG/list_public_keys List my GPG public keys · Return current user's GnuPG public keys #
Ask an LLM
“Which GPG public keys do I have?”
“What public keys are in my account?”
Tell an agent
List my GPG public keys.
Show every public key in my account.
GET /GPG/list_secret_keys List my GPG secret keys · Return current user's GnuPG secret keys #
Ask an LLM
“Which GPG secret keys are stored on my account?”
“What private keys do I have?”
Tell an agent
List my GPG secret keys.
Show every private key in my account.

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-gpg-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-gpg-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 GPG 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 (73 KB total) ---
# Full source: https://artifacts.apis.io/cpanel/openapi/cpanel-gpg-api-openapi.yml