POST /certificates

Create an Origin CA certificate. You can use an Origin CA Key as your User Service Key or an API token when calling this endpoint (see above).

Servers

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
request_type String No

Signature type desired on certificate ("origin-rsa" (rsa), "origin-ecc" (ecdsa), or "keyless-certificate" (for Keyless SSL servers).

Possible values:

  • "origin-rsa"
  • "keyless-certificate"
  • "origin-ecc"
requested_validity Number No

The number of days for which the certificate should be valid.

Possible values:

  • 365
  • 730
  • 5475
  • 7
  • 90
  • 1095
  • 30

Default value: 5475

csr String No

The Certificate Signing Request (CSR). Must be newline-encoded.

hostnames[] Array No

Array of hostnames or wildcard names (e.g., *.example.com) bound to the certificate.

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.