v1

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-19273210655.1 KB
Sites

Create domain certificate

Create a new certificate for a given domain.

Processing mode: <small><code>async</code></small>

post/orgs/{organization}/servers/{server}/sites/{site}/domains/{domainRecord}/certificates

Path parameters

organizationstring required

The organization slug

serverinteger required

The server ID

siteinteger required

The site ID

domainRecordinteger required

The domain record ID

Request body

enableboolean

Whether to enable the certificate upon installation.

type'letsencrypt' | 'csr' | 'existing' | 'clone' required

The type of certificate to create.

Example request

{
  "type": "letsencrypt",
  "letsencrypt": {
    "preferred_chain": "ISRG Root X1"
  }
}

Response

CertificateResource