Method 1: HTTP Header
X-API-Key: your_api_key_here
Method 2: Query Parameter
?apikey=your_api_key_here
GET
/cert/json
| domain | string | ||
| force_renew | boolean |
Using Header
curl -X GET "https://your-domain.com/cert/json?domain=example.com&force_renew=false" \ -H "X-API-Key: your_api_key_here"
Using Query Parameter
curl -X GET "https://your-domain.com/cert/json?domain=example.com&force_renew=false&apikey=your_api_key_here"
{
"full_domain": "example.com",
"domain": "example.com",
"subdomain": "",
"start_date": "2026-01-01T00:00:00Z",
"expired_date": "2026-04-01T00:00:00Z",
"days_left": 90,
"is_new": false,
"fullchain": "-----BEGIN CERTIFICATE-----\n...",
"privkey": "-----BEGIN PRIVATE KEY-----\n..."
}
GET
/cert/zip
| domain | string | ||
| force_renew | boolean |
Using Header
curl -X GET "https://your-domain.com/cert/zip?domain=example.com" \ -H "X-API-Key: your_api_key_here" \ -o example.com_cert.zip
Using Query Parameter
curl -X GET "https://your-domain.com/cert/zip?domain=example.com&apikey=your_api_key_here" \ -o example.com_cert.zip
fullchain.pem-privkey.pem-info.json-
POST
/auth/verify
curl -X POST "https://your-domain.com/auth/verify" \
-H "Content-Type: application/json" \
-d '{"apikey": "your_api_key_here"}'
{
"valid": true,
"auth_enabled": true
}
GET
/health
GET
/version