This endpoint returns metadata about the TLS certificate that was issued for a domain after a successful ACME DNS-01 flow. Call it after pollingDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/plutoploy/dns-handling/llms.txt
Use this file to discover all available pages before exploring further.
GET /domains/{id} and confirming the domain status is active — the certificate record is created by the background issuance process and will not exist until that process completes successfully.
Endpoint
Path Parameters
The unique identifier of the domain whose certificate you want to retrieve. The domain must have a status of
active. Domains in any other status will return a 404.Response — 200 OK
The unique identifier for this certificate record in the database.
The identifier of the domain this certificate was issued for. Matches the
{id} path parameter.RFC3339 timestamp recording when the certificate was issued by the ACME provider. Set by the background issuance process at the moment the certificate chain was retrieved and stored.
RFC3339 timestamp recording when the certificate will expire. Computed by
CompleteOrder() in acme.go as exactly issued_at + 90 * 24 hours (issuedAt.Add(90 * 24 * time.Hour)), regardless of the ACME provider’s own validity period.RFC3339 timestamp recording when the certificate database record was created. This will be equal to or slightly after
issued_at.Example Request
Example Response
The certificate PEM and private key PEM are stored in the database but are not included in the API response — only metadata fields are returned. Retrieving the actual PEM material for use in a web server or load balancer requires direct database access to the
certificates table.Error Responses
| Status | Condition |
|---|---|
404 Not Found | No domain exists with the given id; the domain exists but its status is not active; or the domain is active but no certificate record was found in the database. |