Certificate packs
create
Order a new certificate pack.string
required
Zone identifier
'advanced'
required
Certificate pack type
string[]
required
Comma-separated list of hostnames (e.g., [‘example.com’, ‘*.example.com’])
'txt' | 'http' | 'email'
required
Validation method for the certificate
number
required
Certificate validity period (14, 30, 90, or 365 days)
'digicert' | 'google' | 'lets_encrypt'
required
Certificate authority to use
string
Certificate pack identifier
string
Certificate pack type
string[]
List of hostnames covered by the certificate
string
Certificate status (e.g., ‘initializing’, ‘pending_validation’, ‘active’)
string
Validation method used
number
Certificate validity period in days
list
List all certificate packs for a zone.string
required
Zone identifier
string
Filter by certificate status
delete
Delete a certificate pack.string
required
Certificate pack identifier (first parameter)
string
required
Zone identifier
get
Get details for a specific certificate pack.string
required
Certificate pack identifier (first parameter)
string
required
Zone identifier
SSL verification
get
Get SSL verification status for all certificate packs.string
required
Zone identifier
edit
Edit SSL verification method for a certificate pack.string
required
Certificate pack identifier (first parameter)
string
required
Zone identifier
'txt' | 'http' | 'email'
required
New validation method
SSL recommendations
get
Get SSL/TLS recommendations for a zone.string
required
Zone identifier
string
Recommendation identifier
boolean
Whether SSL/TLS recommendation is enabled
Universal SSL
settings.get
Get Universal SSL settings for a zone.settings.edit
Edit Universal SSL settings.string
required
Zone identifier
boolean
required
Whether to enable Universal SSL
SSL analysis
create
Analyze SSL/TLS configuration for a hostname.string
required
Zone identifier
string
required
Hostname to analyze
Validation methods
Cloudflare supports three validation methods for SSL certificates:- txt - DNS TXT record validation (most common)
- http - HTTP file validation
- email - Email validation to domain contacts
Certificate authorities
Cloudflare supports the following certificate authorities:- lets_encrypt - Let’s Encrypt (free, automated)
- google - Google Trust Services
- digicert - DigiCert (Enterprise only)