Show the issuer-specific form options for requesting a domain certificate: hostnames, key type, and any supported profile and lifetime options.

GET /organizations/{organizationId}/external_issuers/domains/{domainId}/certificates/new/{issuer}

GET https://zanpki.com/organizations/{organizationId}/external_issuers/domains/{domainId}/certificates/new/{issuer}

Operation ID organizations.organizationId.external_issuers.domains.domainId.certificates.new.issuer.get
Access Browser session signed in through ZanAuth, using the access token cookie alongside its ID token and refresh token cookies. Or: An access token issued for this site by its ZanAuth issuer, or a static key.

Parameters

NameInTypeDescription
organizationId Path Required string (snowflake) Organization ID.
domainId Path Required string (snowflake) Domain ID.
issuer Path Required one of: 2, 3, 4 External issuer ID: 2 (Let's Encrypt), 3 (ZeroSSL), or 4 (Google Trust Services).

Responses

StatusDescriptionSchemaContent type
200 Show the issuer-specific form options for requesting a domain certificate: hostnames, key type, and any supported profile and lifetime options. DomainCertificateFormPage application/json, text/html, text/markdown
403 Your roles do not permit this action. Problem application/json, text/html, text/markdown
422 The request input was rejected. The errors object lists each validation failure. ValidationProblem application/json, text/html, text/markdown
Any other status The request was rejected. The problem type identifies the error, and the detail field provides a human-readable explanation. Problem application/json, text/html, text/markdown

200 Show the issuer-specific form options for requesting a domain certificate: hostnames, key type, and any supported profile and lifetime options.

PropertyTypeDescription
pki_organizations_id string (snowflake) Required The organization's ID.
pki_organizations_name string Required Name of the organization (a customer, product, or team that owns authorities, certificates, and machines), up to 100 characters.
pki_agencies_id string (snowflake) Required The agency ID, or for an organization, the ID of its parent agency.
pki_agencies_name string Required Name of your company or agency (up to 100 characters) that owns its organizations.
domains_id string (snowflake) Required The domain's ID.
domains_name string Required The base domain name, such as acme.com. Once confirmed, you can request certificates for this domain and its subdomains.
issuer_accounts_issuer one of: 2, 3, 4 Required The external issuer: 2 Let's Encrypt, 3 ZeroSSL, 4 Google Trust Services.
issuer_label string Required The issuer's name.
key_types list of one of: 1, 2, 3, 4, 5, 6, 7, 8, 9 Required Key types supported by this issuer, listed with the default option first.
profiles list of IssuerProfileChoice Required Certificate profiles offered by the issuer's ACME directory; empty if the issuer offers none.
takes_lifetime boolean Required Whether this issuer supports specifying a custom certificate lifetime in days.
most_lifetime_days integer (int64) Required Maximum certificate lifetime in days that can be requested.
most_names integer (int64) Required Maximum number of SANs allowed on a single certificate under the issuer's default profile.

403 Your roles do not permit this action.

PropertyTypeDescription
type string Required A URL that identifies the kind of problem. Its last segment, such as auth_required or input_invalid, is the code your app should check.
title string Required The HTTP status as text, such as Not Found.
status integer (int32) Required The HTTP status code of the response.
detail string Required A human-readable explanation of what went wrong.
instance string Required The path the request was sent to.

422 The request input was rejected. The errors object lists each validation failure.

PropertyTypeDescription
type string Required A URL that identifies the kind of problem. Its last segment, such as auth_required or input_invalid, is the code your app should check.
title string Required The HTTP status as text, such as Not Found.
status integer (int32) Required The HTTP status code of the response.
detail string Required A human-readable explanation of what went wrong.
instance string Required The path the request was sent to.
errors InputErrors Required Validation errors for each rejected value. Parameter errors are returned as a list, and body errors as a tree matching the request body structure.

Any other status: The request was rejected. The problem type identifies the error, and the detail field provides a human-readable explanation.

PropertyTypeDescription
type string Required A URL that identifies the kind of problem. Its last segment, such as auth_required or input_invalid, is the code your app should check.
title string Required The HTTP status as text, such as Not Found.
status integer (int32) Required The HTTP status code of the response.
detail string Required A human-readable explanation of what went wrong.
instance string Required The path the request was sent to.

Example

curl -X GET 'https://zanpki.com/organizations/{organizationId}/external_issuers/domains/{domainId}/certificates/new/{issuer}' \
  -H 'Authorization: Bearer <access token>'

All documentation