REST API List CA Certificates
List CA CertificatesHTTPS GET
To retrieve a list of CA certificates using the ZeroSSL API, make an HTTPS GET request to the ca_certificates endpoint. Pagination is cursor-based — use the next_cursor and prev_cursor values from the response to navigate through pages.
API Request URL:
api.zerossl.com/ca_certificates?access_key=...
HTTPS GET Request Parameters:
| Parameter | Description |
|---|---|
access_key |
[Required] Use this parameter to specify your API access key. |
limit |
Use this parameter to specify a pagination limit (Default: 10, Maximum: 100). |
cursor |
Use this parameter to navigate to a specific page. Pass the value of next_cursor or prev_cursor from a previous response. |
API Response:
If your API request has been successful, you will receive a JSON API response containing an array of CA certificates along with pagination cursors.
{
"data": [
{
"id": 1,
"hash_sha1": "a3983a3b4e7d5f6c2b1e9d0f8a7c6b5d4e3f2a1b",
"certificate_intermediate": "-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----",
"bundle_full": "-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----",
"encryption_algorithm": "RSA",
"created": "2024-01-15 08:00:00"
"updated": "2024-01-15 08:00:00"
},
{...}
],
"next_cursor": "eyJpZCI6MiwibmV4dCI6dHJ1ZX0=",
"prev_cursor": null
}
Response Objects:
| Parameter | Description |
|---|---|
data |
Returns an array of CA certificate objects. For detailed information about CA certificate response objects, please refer to the Get CA Certificate section. |
next_cursor |
Returns a cursor pointing to the next page of results, or null if there are no more results. |
prev_cursor |
Returns a cursor pointing to the previous page of results, or null if you are on the first page. |