LogoFreestyle
API Reference/Certs

Provision a wildcard certificate

Provisions a wildcard certificate for a verified domain This speeds up deploys on all subdomains of the domain. In order to use it, you must add the following record to your DNS config: `_acme-challenge.yourdomain.com` NS `dns.freestyle.sh`

POST/domains/v1/certs/{domain}/wildcard

Path Parameters

domainRequiredstring

Response Body

200

Domain verified

domainRequiredstring

400

Failed to preverify domain

messageRequiredstring
curl -X POST "https://api.freestyle.sh/domains/v1/certs/<string>/wildcard"

Domain verified

{
  "domain": "example.com"
}

Freestyle AI

Documentation assistant

Experimental: AI responses may not always be accurate—please verify important details with the official documentation.

How can I help?

Ask me about Freestyle while you browse the docs.