Get Domain Certificate
Retrieve certificate of domain.
Request
Request-Line
GET /waap/v1.0/services/{serviceId}/certificates?domain={domain} HTTP/1.1
Request Parameters
Path Parameters
Parameter | Type | Required | Description |
---|---|---|---|
serviceId | Integer | Mandatory | Service ID. |
Query Parameters
Parameter | Type | Required | Description |
---|---|---|---|
domain | String | Mandatory | Domain name. |
Response
Response Body
Parameter | Type | Required | Description |
---|---|---|---|
certificateId | Integer | Optional | Certificate ID. Only present after a successful Attach Certificate to Domain operation. |
certificateName | String | Optional | Certificate Name. Only present after a successful Attach Certificate to Domain operation. |
certType | Integer | Optional | Either "manual", "auto" or "none". Present after a successful Attach Certificate to Domain operation. |
autocertRequestStatus | String | Optional | Either "issued", "issuing" or "failed". Only present after a Request Auto Let’s Encrypt Certificate for Domain and a successful Attach Certificate to Domain operation. |
autocertRequestTime | Integer | Optional | The request time of auto cert. Only present after a Request Auto Let’s Encrypt Certificate for Domain and a successful Attach Certificate to Domain operation. |
validFrom | String | Optional | Certificate start time as Unix epoch milliseconds. Only present after a successful Attach Certificate to Domain operation. |
validTo | Integer | Optional | Certificate expiry time as Unix epoch milliseconds. Only present after a successful Attach Certificate to Domain operation. |
Status Codes, Error Codes and Error Messages
Status Code | Error Code | Error Message |
---|---|---|
400 | ServiceId.Invalid | ServiceId is empty or invalid. |
400 | Domain.Invalid | Domain is empty or invalid. |
404 | ServiceId.NotFound | ServiceId is not found. |
404 | Domain.NotFound | Domain is not found. |
400 | Certificate.OperationFailed | The certificate operation failed. |
Examples
Get Domain Certificate
Request
GET /waap/v1.0/services/67709/certificates?domain=test.swiftfederation.com HTTP/1.1
Successful Response Body
{
"certificateId": 2729,
"certificateName": "test.com",
"certType": "manual",
"autocertRequestStatus": "failed",
"autocertRequestTime": "2025-08-28T06:35:55.467Z",
"validFrom": 1756345199000,
"validTo": 1758937199000
}