Get SSL certificate information for hosting accounts

List all SSL certificates associated with a specific hosting account, including their validity period and the domains they cover, especially for cPanel accounts.

Web Hosting Services SSL

Context

Where to get IDs / values

Path Parameters

accountId integer · min: 1 required Example: 20000

Unique account identifier

Headers

Accept Example
Content-Type Example

Responses

200
data object required
data.accountId string required · Example: 20000
data.certificates array<object> required · Example: [{"domains":["autodiscover.example.com","example.com"],"modulus_length":"2048","is_self...
data.certificates[].created string required · Example: 1764427467
data.certificates[].domain_is_configured integer required · Example: 1
data.certificates[].domains array<string> required · Example: ["autodiscover.example.com","example.com"]
data.certificates[].ecdsa_curve_name string · nullable required · Example: null

Nullable: may be null when not applicable.

data.certificates[].ecdsa_public string · nullable required · Example: null

Nullable: may be null when not applicable.

data.certificates[].friendly_name string required · Example: Cert for “example.com” 1764427467.0
data.certificates[].id string required · Example: www_profair_se_aibo_se_f5d0c_24107_1772199955_d2ceca51642ced17170e24f8b761d6c5
data.certificates[].is_self_signed string required · Example: 0
data.certificates[].issuer.commonName string required · Example: R13
data.certificates[].issuer.organizationName string · nullable required · Example: Let's Encrypt

Nullable: may be null when not applicable.

data.certificates[].issuer_text string required · Example: countryName US organizationName Let's Encrypt commonName R13
data.certificates[].key_algorithm string required · Example: rsaEncryption
data.certificates[].modulus string required · Example: f5d0c16e3bf92198a1fe9e278a387fdb814450426a8613a6fba871f860b47d767a4a1d82e805188b33c98c0...
data.certificates[].modulus_length string required · Example: 2048
data.certificates[].not_after string required · Example: 1772199955
data.certificates[].not_before string required · Example: 1764423956
data.certificates[].serial string required · Example: 06f2672f43c96f0fea4d99dd5148d7e1fe4b
data.certificates[].signature_algorithm string required · Example: sha256WithRSAEncryption
data.certificates[].subject.commonName string required · Example: www.example.com
data.certificates[].subject_text string required · Example: commonName www.example.com
data.certificates[].validation_type string · nullable required · Example: dv

Nullable: may be null when not applicable.

data.count integer required · Example: 28
data.cpanelUsername string required · Example: xkqjm
data.success boolean required · Example: true

True for successful responses.

requestId string required · Example: 2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba

Unique request identifier (UUID).

success boolean required · Example: true

True for successful responses.

timestamp string required · Example: 2026-02-10T00:00:00.000Z

ISO 8601 timestamp (UTC).

GET https://cloud.hostup.se/api/hosting/{accountId}/ssl-certificates
For AI assistants
cURL
curl -X GET "https://cloud.hostup.se/api/hosting/20000/ssl-certificates" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "success": true,
  "timestamp": "2026-02-10T00:00:00.000Z",
  "requestId": "2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba",
  "data": {
    "success": true,
    "accountId": "20000",
    "cpanelUsername": "xkqjm",
    "certificates": [
      {
        "domains": [
          "autodiscover.example.com",
          "example.com",
          {
            "_truncated": "... and 9 more items"
          }
        ],
        "modulus_length": "2048",
        "is_self_signed": "0",
        "validation_type": "dv",
        "signature_algorithm": "sha256WithRSAEncryption",
        "ecdsa_public": null,
        "ecdsa_curve_name": null,
        "domain_is_configured": 1,
        "issuer.organizationName": "Let's Encrypt",
        "subject.commonName": "www.example.com",
        "created": "1764427467",
        "not_before": "1764423956",
        "issuer.commonName": "R13",
        "issuer_text": "countryName\nUS\norganizationName\nLet's Encrypt\ncommonName\nR13",
        "subject_text": "commonName\nwww.example.com",
        "id": "www_profair_se_aibo_se_f5d0c_24107_1772199955_d2ceca51642ced17170e24f8b761d6c5",
        "modulus": "f5d0c16e3bf92198a1fe9e278a387fdb814450426a8613a6fba871f860b47d767a4a1d82e805188b33c98c0e65cba8bc4b7b9f90fea39910943bad357f8377adb7d89c4042277995c2b7cdfb322319d6ef9aa10db9f35a5edf81a1a4b8b58c869c97ac2e42f20e48ec5db042385c55c22f82396bee0d1ddd2b0624eacb35fd8e6887846572b2c870bde91ef46cc19ce22b9f02fe795b3d0c33661cebb25f2cf5785d396e50e66108086fe5a92b4eb3736ba268e9393dd309508193a6087021abb49096b87e185ff7ad9e0a0c77815d9cc1192a2a6a852633a9988ad22a9d904e67d5daa3035688d694d2257eae6327393fc291e969451adaf653...",
        "not_after": "1772199955",
        "serial": "06f2672f43c96f0fea4d99dd5148d7e1fe4b",
        "friendly_name": "Cert for “example.com” 1764427467.0",
        "key_algorithm": "rsaEncryption"
      },
      {
        "not_before": "1764769437",
        "issuer.commonName": "R12",
        "created": "1764772948",
        "subject_text": "commonName\nexample.com",
        "id": "webdisk_omdanke_com_b843f_b4149_1772545436_af08d7450e64922efbe01637afc9a6ac",
        "modulus": "b843f4e08a3ce4e198496a13e97b0f66adb27418654ef1b080d5905dd34760581642949083bd7feccbfbf1a319d402a9c45a80c34fc4554b1b43c4d4bf179c5bbe6c022681f7f8fb0b054306b765788d45d9483771bac7b093a7f0a375a6d30971028e1335d649c8e38559cb5d65460036a4231167ba239f52562059b3665a630093a97d000109e53b6934939c7e8af67187bc08d43667cd087050b7ebebba5c5d2b3e1998d2ddaf9ba5031dd0c9068eccc70aab025c6cf8b77c08b4497f649ff02b1a4a3a49eb52a7cd4d0dfa4d5ac478e9207f61ee751ceaed2c19ed741256fd1685e653932a2c404c463de3c9ef85a01ec69b4c4bed548b21...",
        "not_after": "1772545436",
        "issuer_text": "countryName\nUS\norganizationName\nLet's Encrypt\ncommonName\nR12",
        "serial": "06e465a8d3c02235524cddbd1777ae8971ef",
        "key_algorithm": "rsaEncryption",
        "friendly_name": "Cert for “example.com” 1764772948.0",
        "domains": [
          "autodiscover.example.com",
          "example.com",
          {
            "_truncated": "... and 9 more items"
          }
        ],
        "signature_algorithm": "sha256WithRSAEncryption",
        "validation_type": "dv",
        "modulus_length": "2048",
        "is_self_signed": "0",
        "ecdsa_public": null,
        "issuer.organizationName": "Let's Encrypt",
        "subject.commonName": "example.com",
        "ecdsa_curve_name": null,
        "domain_is_configured": 1
      },
      {
        "_truncated": "... and 26 more items"
      }
    ],
    "count": 28
  }
}