Domains

Finalize ACME order for a domain

Changed on

Finalizes the ACME order by completing the challenge validation and requesting the certificate. This should be called after the challenge has been set up (DNS record added or HTTP token served).

post/domains/{domain_id}/order/finalize

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Path parameters

domain_idinteger required

Domain ID

Response

Order finalized successfully

certificatestring nullable

The PEM-encoded certificate chain (can be displayed in browser or downloaded)

created_atstring date-time required
dns_challenge_tokenstring nullable
dns_challenge_valuestring nullable
domainstring required
expiration_timestring date-time nullable
failure_cause'dns_lookup' | 'unreachable' | 'upstream_answered' | 'dns_record_mismatch' | 'caa_forbids' | 'rate_limited' | 'ca_transient' | 'config' | 'unknown' nullable

Why the last certificate attempt for a domain failed.

idinteger required
is_wildcardboolean required
last_errorstring nullable
last_error_typestring nullable
last_renewedstring date-time nullable
on_demand_backoff_untilstring date-time nullable

On-demand TLS negative-cache deadline (ISO 8601, UTC), when this hostname's on-demand HTTP-01 issuance is in backoff after a failure (ADR-018 §4). None means no active backoff.

statusstring required
updated_atstring date-time required
verification_methodstring required

Changes

    • breaking

      the created_at response's property type changed from integer to string, and format from int64 to date-time for status

    • breaking

      the expiration_time response's property type changed from integer null to string null, and format from int64 to date-time for status

    • breaking

      the last_renewed response's property type changed from integer null to string null, and format from int64 to date-time for status

    2 more changes in this revision