POST /zones/{zone_id}/ssl/certificate_packs/order

For a given zone, order an advanced certificate pack.

Servers

Path parameters

Name Type Required Description
zone_id String Yes

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
validity_days Integer Yes

Validity Days selected for the order.

Possible values:

  • 365
  • 14
  • 90
  • 30
validation_method String Yes

Validation Method selected for the order.

Possible values:

  • "txt"
  • "email"
  • "http"
cloudflare_branding Boolean No

Whether or not to add Cloudflare Branding for the order. This will add a subdomain of sni.cloudflaressl.com as the Common Name if set to true.

type String Yes

Type of certificate pack.

Possible values:

  • "advanced"
certificate_authority String Yes

Certificate Authority selected for the order. For information on any certificate authority specific details or restrictions see this page for more details.

Possible values:

  • "google"
  • "ssl_com"
  • "lets_encrypt"
hosts[] Array Yes

Comma separated list of valid host names for the certificate packs. Must contain the zone apex, may not contain more than 50 hosts, and may not be empty.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.