Skip to main content
Version: v1

View Certificate

This method is used to view the certificate issued for a specified domain.

Request Parameters

Headers

  • Content-Type: application/json
  • Authorization: Bearer $access_token

Path

ParameterTypeConstraintsDescriptionExample
idinteger> 0, requiredDomain ID1

Response Parameters

GET /api/clients/v1/domains/{id}/getCertificate/

JSON body

ParameterTypeDescription
domain_idintegerDomain ID
domain_namestringDomain name
is_custombooleanIndicates the certificate was uploaded manually
issuerstringCertificate issuer
serialstringCertificate serial number
issue_datedatetimeCertificate issue date
expiry_datedatetimeCertificate expiration date

Examples

400 Bad Request

Invalid path parameters provided

{
"id": [
"A valid integer is required."
]
}
401 Unauthorized

Authentication credentials are missing or invalid

{
"detail": "Given token not valid for any token type",
"code": "token_not_valid",
"messages": [
{
"token_class": "AccessToken",
"token_type": "access",
"message": "Token is invalid or expired"
}
]
}
403 Forbidden

Only project participants can view this certificate

{
"detail": "Only project participants can view certificates"
}
404 Not Found

Domain with the specified ID not found or has no certificate

{
"detail": "Domain not found or does not have a certificate"
}